You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2003/09/14 14:33:10 UTC

[jira] Commented: (MAVEN-794) Ampersand in todo tag causes all todo tags to be empty in task-list.html

The following comment has been added to this issue:

     Author: Adrian Holland
    Created: Sun, 14 Sep 2003 7:32 AM
       Body:
Maybe this problem is not just associated with an Ampersand in the java source code as I now get the same problem after building the latest Maven source from CVS and running "maven site" on the maven source.
---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-794


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-794
    Summary: Ampersand in todo tag causes all todo tags to be empty in task-list.html
       Type: Bug

     Status: Unassigned
   Priority: Minor

 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             plugin-xdoc
             plugin-tasklist
   Versions:
             1.0-rc1

   Assignee: 
   Reporter: Adrian Holland

    Created: Sun, 7 Sep 2003 6:23 AM
    Updated: Sun, 7 Sep 2003 6:23 AM
Environment: Windows 2000, Sun JDK 1.4.1, Latest maven 1.0-rc1 bootstrapped from CVS Saturday 6th September 2003. ant 1.5.3-1

Description:
If a JavaDoc todo tag, as used in the tasklist plugin, contains an ampersand, which it shouldn't of course, then the tasklist plugin generates task-list.xml with all of the todo comments, but the xdoc converts this to task-list.html with blank todo comments.  All of the todo comments in the generated HTML are empty, not just the orginal comment with the invalid ampersand.

The build was successful, but there were lots of warnings in maven.log, starting with: WARN  org.apache.commons.jelly.tags.ant.AntTag - Could not convert tag: document into an Ant task, data type or property.  

Trying to open the task-list.xml in Mozilla shows that the task-list.xml can be parsed, since the tag is defined as CDATA.

It would be useful if there was a more helpful error message produced by xdoc, and maybe this situation could be added to the tasklist or the xdoc plugin documentation.




---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org