DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41398>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41398

           Summary: xmlproperty evaluates attributes in alpha order, not
                    file order
           Product: Ant
           Version: 1.7.0
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optional Tasks
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


(Test is in xmlproperty-test.xml)

Take an XML file,
<root-tag>
  <app
      p="${app.n}"
      n="n"
      o="${app.n}"
      m="${app.n}"/>
</root-tag>

Evaluate within xmlproperty

    <xmlproperty
        file="xmlproperty.inline-expansion.xml"
        collapseAttributes="true"
        keepRoot="false"
        semanticAttributes="true"/>
    <echo>

You'd expect the attrs to be expanded in order of the file, but they are
expanded in alphabetical order; m is unexpanded; p is.

load:
     [echo]
     [echo]  element      expected    actual
     [echo]     p         ${app.n}    n
     [echo]     n            n        n
     [echo]     o            n        n
     [echo]     m            n        ${app.n}
     [echo]

reported by Jacob Kjome

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to