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 Summary: Attributes order preservation Product: Xerces2-J Version: 2.6.0 Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: Other Component: Serialization AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Searching through the mail list archive, I have understood that XML serialization without original attributes order is not a bug and XML spec allows such behaviour. But, XML files are designed not only for programmatical usage, one of the XML goals is that the end user can edit XML directly using simple text editor. And it is important at this step to have attributes in the same order as it is in DTD (or in original XML file if document is not valid), because the order of an attributes have the logical load. So, it would be good to have a 'feature' to switch from default Xercers behaviour to attribute preservation order mode. In ideal in such mode Xerces will do the following: 1) If DTD is available for the document, serialize XML file using attributes' order from the DTD. 2) If no DTD available (well-formed document), saves the attributes in the same order as in original document. Thanks for attention! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
