Issue Details (XML | Word | Printable)

Key: MPXDOC-47
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Lukas Theussl
Reporter: Andrew Mace
Votes: 2
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Maven 1.x XDoc Plugin

Ampersands in navigation.xml being escaped twice during xml parsing

Created: 11/Apr/03 06:21 AM   Updated: 07/Sep/05 08:22 AM
Component/s: None
Affects Version/s: None
Fix Version/s: 1.10

Time Tracking:
Not Specified

File Attachments: 1. Text File MPXDOC-47.patch (4 kB)

Issue Links:
Related
 


 Description  « Hide
Within my Maven navigation.xml i would like to include a URL that includes parameter (&s). So if I place & or & after the xml is parsed the URL that is generated in the html files have '&' instead of an '&'
I have the xml encoding ISO-8859-1

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Brett Porter added a comment - 18/Jul/03 07:33 AM
works for me! Can you confirm it is still present in beta-10?

dion gillard added a comment - 04/Aug/03 12:14 AM
Noone's come back on trying to reproduce this.

Julien Kirch added a comment - 21/Oct/03 04:36 AM
I successfully (ahem) reproduced the bug : the amp should be in the link part of the navigation file and not in the menu part.

dion gillard added a comment - 21/Oct/03 09:13 PM
Can you provide a sample?

I'll happily reopen this issue if you do.


Julien Kirch added a comment - 29/Jul/04 02:23 AM
Please reopen it, cause it still occurs and here's a sample (as the issue is closed I can't attach a file).

Note than solving this issue will probably cause the way the issue MPXDOC-92 is fixed.

#######
<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="Foo">

<title>Bar</title>
<body>

<links>
<item
name="http://foo&bar"
href="http://foo&bar"
/>
<item
name="Maven xdoc plugin changelog"
href="http://jira.codehaus.org/secure/BrowseProject.jspa?id=10355&report=changelog"
/>
</links>

</body>
</project>
#######


Julien Kirch added a comment - 29/Jul/04 02:24 AM
In the above comment "Note than solving this issue will probably cause the way the issue MPXDOC-92 is fixed /to become invalid/."

Lukas Theussl added a comment - 02/Sep/05 01:20 PM
A patch that fixes the double-escaping of character entities in navigation links and titles, document titles and sub/sections (see MPXDOC-133). It needs modification for i18n.

Lukas Theussl added a comment - 07/Sep/05 08:22 AM
Patch applied.