• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSEnumerator ordering ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Follow-Ups:
    • Re: NSEnumerator ordering ?
      • From: Thomas Harrington <email@hidden>
References: 
 >Re: NSEnumerator ordering ? (From: email@hidden (Simon Fraser))

  • Prev by Date: Re: Cocoa in a Plug-in (shared library)?
  • Next by Date: Re: Cocoa in a Plug-in (shared library)?
  • Previous by thread: Re: NSEnumerator ordering ?
  • Next by thread: Re: NSEnumerator ordering ?
  • Index(es):
    • Date
    • Thread