DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26065>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26065

Attributes order preservation





------- Additional Comments From [EMAIL PROTECTED]  2004-01-12 19:08 -------
Some points to consider:

The serializer isn't grammar aware and thus in no way uses the DTD (or XML 
schema) when serializing a document.

An element's attributes are an unordered set. Their ordering within the 
instance document provide no information and thus are not included in the XML 
Information Set [1].

The DTD doesn't specify ordering of attributes.  "The grouping and ordering of 
attribute declarations in ATTLIST declarations" [1] are also not part of the 
XML Information Set.

In general, (I cannot think of an instance where this isn't true) the ordering 
of attributes emitted from the parser are the same as in the instance 
document.  Any attributes defaulted from the DTD are placed on the end of this 
list.

[1] http://www.w3.org/TR/xml-infoset/#omitted

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to