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

Attribute order does not matter.  Order of content marked as attributes
might. Any order-dependent morphology has that requirement.  For example, a
data module code is a series of data module attribute values.  Its order in
the XML is schema-designer dependent and a lot of them alphabetize for some
order (indicating a monkey level preference for ordered sets; less to think
about later).  Order is required in the next rendering as a split-delimited
string used as an identifier.  Constraint by application.

Programmers array-schlep or they write microparsers or the data designer
moves order-dependent data sets into elements where order can be prescribed.
Speed of parse and avoidance of latency confuses serialization speed with
efficiency for scripting in other use cases.  Efficiency of the machine and
versatility of the representation are balanced to the ease of data entry
given the consumer has its own rules about identity and stack order.  

XML Doesn't Care. 

I believe most debates of this issue are about using XML for what it is not
very good at versus applying XML where it is very good.


-----Original Message-----
From: Amelia A Lewis [mailto:amyzing@talsever.com] 
Sent: Monday, March 24, 2014 2:30 PM
To: xml-dev@lists.xml.org
Subject: RE: [xml-dev] RFC for XML Object Parsing

On Mon, 24 Mar 2014 13:25:01 -0600, Brian Aberle wrote:
> Attribute order matters,oid must be first however, OID IS NEVER REQUIRED.

You do realize that this means "this is not XML"?

You can't even guarantee attribute order in SAX. Suggesting that 
attribute order matters is pretty baffling, altogether.

Amelia A. Lewis                    amyzing {at} talsever.com
The use of COBOL cripples the mind; its teaching should, therefore, be 
regarded as a criminal offence.
                -- Edsger Dijkstra

[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