Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:

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


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-895
    Summary: XML entities in project description cause xdoc to complain
       Type: Bug

     Status: Unassigned
   Priority: Minor

 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
   Versions:
             1.0-rc1

   Assignee: 
   Reporter: Daniel Rabe

    Created: Mon, 6 Oct 2003 12:52 PM
    Updated: Mon, 6 Oct 2003 12:52 PM
Environment: Windows XP

Description:
In my project.xml, I have a description that includes a URL; the URL contains 
ampersands, so I encode the & as &, like this: 
http://mysite.com/x.jsp?a=1&b=2. 

By the time this data makes it to target/generated-xdocs/navigation.xml, it's been 
unescaped, so the data in there is simply: http://mysite.com/x.jsp?a=1&b=2. Of course, 
this is no longer valid XML, so the xdoc plugin fails:
BUILD FAILED
File...... file:/d:/maven/plugins/maven-xdoc-plugin-1.4/
Element... x:parse
Line...... 328
Column.... 43
Error on line 12 of document file:/D:/maven/target/generated-xdocs/index.xml : The 
reference to entity "nodeId" must end
 with the ';' delimiter. Nested exception: The reference to entity "nodeId" must end 
with the ';' delimiter.

I tried double-escaping, so that the original has & for the original 
ampersand. The plugin runs to completion, but the resulting HTML file has spaces 
before and after the ampersand.


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to