You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2010/12/08 10:50:50 UTC

DO NOT REPLY [Bug 50430] New: XMLFragment doesn't provide Text nodes and Elements in proper order

https://issues.apache.org/bugzilla/show_bug.cgi?id=50430

           Summary: XMLFragment doesn't provide Text nodes and Elements in
                    proper order
           Product: Ant
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: notifications@ant.apache.org
        ReportedBy: silverbanana@gmx.de


org.apache.tools.ant.util.XMLFragment enables Task authors to receive parts of
the build.xml as DocumentFragment (via getFragment method). 
However getFragment returns a fragment that has a confused text/element order.
Example:

part from build.xml
<mytask>
  Hello<br/>World
</mytask>

getFragment() returns something like:

HelloWorld<br/>

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