You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by xe...@xml.apache.org on 2004/09/22 06:52:37 UTC

[jira] Closed: (XERCESJ-863) Attributes order preservation

Message:

   The following issue has been closed.

   Resolver: Michael Glavassevich
       Date: Tue, 21 Sep 2004 9:52 PM

No responses on this feature request in over 8 months. It's not likely to ever be implemented and perhaps not feasible given that the serializer isn't grammar aware, so closing. See previous comment.
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESJ-863

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESJ-863
    Summary: Attributes order preservation
       Type: Bug

     Status: Closed
 Resolution: WON'T FIX

    Project: Xerces2-J
 Components: 
             Serialization
   Versions:
             2.6.0

   Assignee: 
   Reporter: Sergey Proskurnya

    Created: Mon, 12 Jan 2004 4:53 PM
    Updated: Tue, 21 Sep 2004 9:52 PM
Environment: Operating System: Other
Platform: Other

Description:
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!


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org