ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18505] New: - XML parsing of attribute in Javadoc task
Date Sun, 30 Mar 2003 23:28:37 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18505>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18505

XML parsing of attribute in Javadoc task

           Summary: XML parsing of attribute in Javadoc task
           Product: Ant
           Version: 1.5.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: apachebugzilla@rivera.za.net


'&quot;' in 'description' in '<tag>' needs a preceding '\' to have the desired 
affect.




Reproduce:


Include the following extra tag in your javadoc section of an ant buildfile:


<tag name="todo" scope="all" description="&lt;span class=&quot;ToDo&quot;&gt;To

do:&lt;/span&gt;" />


You obviously need a CSS that defines '.ToDo', and a class that has an @todo.




The html produced is


<span class=ToDo>To do:</span>


not


<span class="ToDo">To do:</span>


as expected...




The workaround is to use '\&quot;' instead of '&quot;'

Mime
View raw message