ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50430] New: XMLFragment doesn't provide Text nodes and Elements in proper order
Date Wed, 08 Dec 2010 09:50:50 GMT
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.

Mime
View raw message