Return-Path: Delivered-To: apmail-xml-xerces-j-dev-archive@www.apache.org Received: (qmail 66870 invoked from network); 22 Sep 2004 04:50:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 22 Sep 2004 04:50:50 -0000 Received: (qmail 95112 invoked by uid 500); 22 Sep 2004 04:50:48 -0000 Delivered-To: apmail-xml-xerces-j-dev-archive@xml.apache.org Received: (qmail 95076 invoked by uid 500); 22 Sep 2004 04:50:48 -0000 Mailing-List: contact xerces-j-dev-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: xerces-j-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list xerces-j-dev@xml.apache.org Received: (qmail 95063 invoked by uid 99); 22 Sep 2004 04:50:48 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.18.33.10] (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 21 Sep 2004 21:50:47 -0700 Received: (qmail 9500 invoked from network); 22 Sep 2004 04:52:37 -0000 Received: from localhost (HELO nagoya) (127.0.0.1) by nagoya.betaversion.org with SMTP; 22 Sep 2004 04:52:37 -0000 Message-ID: <851600156.1095828757801.JavaMail.apache@nagoya> Date: Tue, 21 Sep 2004 21:52:37 -0700 (PDT) From: xerces-j-dev@xml.apache.org To: xerces-j-dev@xml.apache.org Subject: [jira] Closed: (XERCESJ-863) Attributes order preservation Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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