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/24 08:01:10 UTC

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

Message:

   The following issue has been closed.

   Resolver: dion gillard
       Date: Wed, 24 Sep 2003 1:00 AM

Issue fixed recently. 
Was text() and CDATA nodes not being copied in site.jsl
---------------------------------------------------------------------
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: Closed
   Priority: Minor
 Resolution: FIXED

 Time Spent: Unknown
  Remaining: Unknown

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

   Assignee: 
   Reporter: Adrian Holland

    Created: Sun, 7 Sep 2003 6:23 AM
    Updated: Wed, 24 Sep 2003 1:00 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