Re: [xml-dev] RFC for XML Object Parsing

From
John Cowan <>
To
Norman Gray <>
Date
2014-03-24T21:27:14Z
ID
<>
Thread
Re: [xml-dev] RFC for XML Object Parsing

On Mon, Mar 24, 2014 at 5:19 PM, Norman Gray <[email protected]> wrote:

No: as Amy said, the SAX interface specification does not require the elements in the Attributes interface to appear in any particular order.  If one particular parser (implementation) finds it convenient to report them in reverse order, for whatever reason, then it's allowed to do that.

Indeed.  There are, however, non-SAX interfaces like the Expat interface that *do* report attributes in document order.
 




--
GMail doesn't have rotating .sigs, but you can see mine at http://www.ccil.org/~cowan/signatures