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 18089] New: - bogus stripping of quotes
Date Tue, 18 Mar 2003 05:06:08 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=18089>.
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=18089

bogus stripping of quotes

           Summary: bogus stripping of quotes
           Product: Ant
           Version: 1.5.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: elkner@linofee.org


Assuming:

<target name="setAltTodoTaglet" unless="ToDoTaglet.available">
    <property name="tag"
        value="&lt;div class=\&quot;todo\&quot;&gt;To Do:&lt;/div&gt;"/>
    <property name="todoParam"
        value="-tag todo:a:&quot;${tag}&quot;"/>
</target>

and

<javadoc ... additionalparam="-breakiterator ${todoParam}"/>

ant does 

...
  [javadoc] '-breakiterator'
  [javadoc] '-tag'
  [javadoc] 'todo:a:<div class=\todo\>To Do:</div>'
...

So, ant strips out any quotes unconditionally and javadoc produces unusable
results ... :(

Mime
View raw message