Re: NSEnumerator ordering ?
Re: NSEnumerator ordering ?
- Subject: Re: NSEnumerator ordering ?
- From: Sherm Pendley <email@hidden>
- Date: Wed, 3 Jul 2002 17:33:19 -0400
On Wednesday, July 3, 2002, at 04:35 PM, Simon Fraser wrote:
Ondra Cada wrote:
What if the key itself happens not to be a string; a structured object
perhaps?
OK, so:
<key name="foobar">
<string>foopy</string>
</key>
At least the nesting here indicates the relationship between keys
and their values, so that the meaning is not susceptible to ordering
changes.
Yes, but it doesn't address Ondra's concern at all. Keys aren't always
strings - they can be structured objects. Something like this would be
needed:
<object>
<key>key data here, perhaps with child elements</key>
<string>String data here</string>
</object>
I'm told that the DTD specifies whether ordering matters;
A DTD *can* specify ordering, but I don't know if this particular DTD
*does*.
sherm--
Never put off until tomorrow what you can do today. There might be a law
against it by that time.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.