XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] RFC for XML Object Parsing

On 03/24/2014 10:22 PM, Brian Aberle wrote:
> This is a logical explanation (and poor rationale)  Interestingly I
> had this problem myself.  Using a list was not an option because the
> attributes needed to be stored for fast lookup.  I used a B-Tree
> rather than a Hash - and I took advantage of this "hole" in the spec
> myself by not-preserving attribute order until I had a client tell me
> they wanted the order preserved.

Does your skin color come before or after your eye color?

Does your given name come before or after your family name?

Some properties are ordered; some are not.  Trying to insist on order
for the unordered will lead to pain, and ditto vice versa.

~Chris
-- 
Chris Maden, text nerd  <URL: http://crism.maden.org/ >
Surround hate and force it to surrender.
GnuPG fingerprint: DB08 CF6C 2583 7F55 3BE9  A210 4A51 DBAC 5C5C 3D5E


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS