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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


'&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;'

Reply via email to