The following comment has been added to this issue:
Author: Brian Minchau
Created: Wed, 8 Sep 2004 7:02 PM
Body:
I'm not suggesting that Xalan will promise a consistent order, but I do have another
question for you.
Would it matter if the order changed from one release of Xalan to the next, or is the
consistency you are looking for only within a single release?
Presumably you would have master files that are "correct", and you check against them,
and these master files would exist across releases.
FYI the Xalan test bucket has the same issues because the order of attibutes has
changed across releases even when running in the exact same manner (e.g. the Process
Java class). The comparison tool that Xalan's test harness uses first tries a byte for
byte comparison, if that fails it reads both in as DOMs and does what I suggested.
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/XALANJ-1940?page=comments#action_52990
---------------------------------------------------------------------
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 7:02 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]