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/05/12 14:17:59 UTC

[jira] Reopened: (MPXDOC-92) Processing of ampersand

Message:

   The following issue has been reopened.

   Reopener: Arnaud HERITIER
       Date: Wed, 12 May 2004 8:16 AM

I tested it and there's always a problem (perhaps due to my recent changes ??)
If I have in xdoc :
<a href="http://sourceforge.net/project/showfiles.php?group_id=86139&amp;package_id=95353">toto</a>
I have in html :
<a href="http://sourceforge.net/project/showfiles.php?group_id=86139&amp;amp;amp;package_id=95353" class="externalLink" title="External Link">toto</a>
---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPXDOC-92

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPXDOC-92
    Summary: Processing of ampersand
       Type: Bug

     Status: Reopened
   Priority: Blocker

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-xdoc-plugin

   Assignee: Brett Porter
   Reporter: Andy Jefferson

    Created: Mon, 29 Mar 2004 7:56 AM
    Updated: Wed, 12 May 2004 8:16 AM
Environment: Maven 1.0-rc2

Description:
This worked in Maven-1.0-rc1 and now doesn't. I have an xdoc document that has lines like
"http://sourceforge.net/project/showfiles.php?group_id=86139&amp;package_id=95353"

That is, it includes an ampersand in the URL (&amp;), and xdoc previously processed this by removing the &amp; and putting & in the end-result page.

I run this in rc2 (with whichever version of the xdoc plugin) and I now don't get the ampersand processed like this ... it just leaves it all in there, and hence when I look at the resultant HTML, a browser just ignores the trailing &amp;.... part !!!


Fine, I thought, I'll just put a URL as normal. Well if I do that, xdoc now just aborts in the processing step with

Error on line 13 of document file:/home/andy/work/JPOX/xdocs/download.xml : 
The reference to entity "package_id" must end with the ';' delimiter. Nested 
exception: The reference to entity "package_id" must end with the ';' 
delimiter.


This is pretty basic stuff and was working. It has no known workaround (none that I know anyway). Any chance of restoring the previous (correct) xdoc behaviour ?


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