The following comment has been added to this issue:

     Author: Ed Knoll
    Created: Wed, 8 Sep 2004 4:28 PM
       Body:
Just to be clear, I'm requesting consistency in default output order, not necessarily 
any specific sorting order.  

I'm taking two different paths through Xalan-J supplied classes (to my level of 
understanding/ignorance).  Taking the default behavior of these classes, I'm getting 
two different output orders on the attributes.  The elements themselves are coming out 
in a consistent (not sorted order); the attributes are not.

I don't care that the attributes are coming our in a sorted or even predictable order, 
just that they come up in consistent order.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/XALANJ-1940?page=comments#action_52989

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XALANJ-1940

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XALANJ-1940
    Summary: Default order of output/serialized attribute inconsistent.
       Type: Improvement

     Status: Resolved
   Priority: Major
 Resolution: WON'T FIX

    Project: XalanJ2

   Assignee: 
   Reporter: Ed Knoll

    Created: Wed, 8 Sep 2004 2:02 PM
    Updated: Wed, 8 Sep 2004 4:28 PM
Environment: Sun/Solaris 2.8; JDK 1.4; Xalan-J 2.6

Description:
We are creating an XML file from another XML file.  During this process we will add 
attriubtes to some of the input elements.  If we execute this transformation using 
org.apache.xalan.xslt.Process directly, our (generated) attributes come out in one 
order.  If we execute this process with a Java program which uses Transformer, DOM and 
Serializer classes directly, we get a different attribute order.

This has no effect on downstream processing.  However, from a regression testing 
perspective where we are comparing new test results to old this does become a (minor) 
issue.


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to