This was the only email I didn't reply to today - for fear of an
off-topic argument. First of all I sincerely hope that this is
not a 2 sided argument, its a discussion. I thought that ALL
SAX parsers preserved order, I learned today that some do not.
If the world was to increment the XML spec it would seem logical
that attribute order would be preserved - but this must be a
topic that has been exhausted already. One SAX implementation
can preserve order and another cannot - this is the state of the
world at the moment. I don't want to start an argument about a
non-essential issue or carry this thread off-topic but I am
curious myself if there was a reason for this, if it was an
oversight, or if it was done to simplify the implementation.
Perhaps someone out there has the answer for the reasoning
behind XML's attribute order discarding.
> Date: Mon, 24 Mar 2014 17:19:57 -0400
> From:
simonstl@simonstl.com
> To:
xml-dev@lists.xml.org
> Subject: Re: [xml-dev] RFC for XML Object Parsing
>
> On 03/24/2014 03:30 PM, Amelia A Lewis wrote:
> > 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.
>
> I can't help feeling that I'm taking the wrong side of
the argument, but
> I've always thought that discarding attribute order was
one of the
> unforced errors of the XML spec!
>
> Thanks,
> Simon
>
>
_______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted
by OASIS
> to support XML implementation and development. To
minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address:
http://www.oasis-open.org/mlmanage/
> Or unsubscribe:
xml-dev-unsubscribe@lists.xml.org
> subscribe:
xml-dev-subscribe@lists.xml.org
> List archive:
http://lists.xml.org/archives/xml-dev/
> List Guidelines:
http://www.oasis-open.org/maillists/guidelines.php