Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.8
-
Labels:None
-
Environment:Maven 1.0-rc2
-
Number of attachments :
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&package_id=95353"
That is, it includes an ampersand in the URL (&), and xdoc previously processed this by removing the & 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 &.... 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 ?
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&package_id=95353">toto</a>
I have in html :
<a href="http://sourceforge.net/project/showfiles.php?group_id=86139&amp;package_id=95353" class="externalLink" title="External Link">toto</a>