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 2004/03/01 03:00:22 UTC

[jira] Closed: (MPCHANGELOG-30) breaks on cdata on comments

Message:

   The following issue has been closed.

   Resolver: Brett Porter
       Date: Sun, 29 Feb 2004 9:00 PM

applies
---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPCHANGELOG-30

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPCHANGELOG-30
    Summary: breaks on cdata on comments
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: 5 minutes
 Time Spent: Unknown
  Remaining: 5 minutes

    Project: maven-changelog-plugin
   Fix Fors:
             1.4
   Versions:
             1.3
             1.4

   Assignee: 
   Reporter: fabrizio giustina

    Created: Sat, 7 Feb 2004 3:19 PM
    Updated: Sun, 29 Feb 2004 9:00 PM

Description:
the report is broken by cdata sections in comments: the end cdata sequence ]]> should be escaped/removed bfore writing the xml report:

BUILD FAILED
File...... file:/D:/programmi/maven/plugins/maven-xdoc-plugin-1.6-SNAPSHOT/
Element... x:parse
Line...... 98
Column.... 46
Error on line 134 of document file:/D:/apps/plugins/maven-xhtml-plugin/target/changelog.xml : The character sequence "]]>" must not appear i
n content unless used to mark the end of a CDATA section. Nested exception: The character sequence "]]>" must not appear in content unless u
sed to mark the end of a CDATA section.



The attached patch fixes it replacing ]]> in comments




---------------------------------------------------------------------
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