jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 1.x XDoc Plugin
  • MPXDOC-27

Ampersand being escaped twice during xml parsing

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: None
  • Labels:
    None
  • Environment:
    Maven, xml parsing

Description

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

contact Andrew.Mace@db.com

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
dion gillard added a comment - 02/Sep/03 9:05 PM

Did u try just using & ?

Show
dion gillard added a comment - 02/Sep/03 9:05 PM Did u try just using & ?
Hide
Permalink
Daniel Rabe added a comment - 22/Oct/03 1:55 PM

I have a similar problem. In my navigation.xml, I have an link item whose href contains a query string. If I juse use an ampersand in the href, xdoc complains because it should be &. But if I use &, then the href on the resulting web page also contains &, instead of just &.

Daniel Rabe
drabe@opentext.com

Show
Daniel Rabe added a comment - 22/Oct/03 1:55 PM I have a similar problem. In my navigation.xml, I have an link item whose href contains a query string. If I juse use an ampersand in the href, xdoc complains because it should be &. But if I use &, then the href on the resulting web page also contains &, instead of just &. Daniel Rabe drabe@opentext.com
Hide
Permalink
Julien Kirch added a comment - 23/Oct/03 1:44 AM

Sample

project.xml :

###
<?xml version="1.0" encoding="iso-8859-1"?>
<project>
<id>Foo</id>
<name>The Marvelous Foo project</name>
</project>
###

navigation.xml :

###
<?xml version="1.0"?>
<project name="Foo">
<body>
<links>
<item
name="Changelog"
href="http://Foo/jira/secure/BrowseProject.jspa?id=10050&report=changelog"
/>
</links>
</body>
</project>
###

Show
Julien Kirch added a comment - 23/Oct/03 1:44 AM Sample project.xml : ### <?xml version="1.0" encoding="iso-8859-1"?> <project> <id>Foo</id> <name>The Marvelous Foo project</name> </project> ### navigation.xml : ### <?xml version="1.0"?> <project name="Foo"> <body> <links> <item name="Changelog" href="http://Foo/jira/secure/BrowseProject.jspa?id=10050&report=changelog" /> </links> </body> </project> ###
Hide
Permalink
Brett Porter added a comment - 07/Apr/04 9:29 PM

fixed a while ago. confirmed.

Show
Brett Porter added a comment - 07/Apr/04 9:29 PM fixed a while ago. confirmed.

People

  • Assignee:
    Brett Porter
    Reporter:
    Anonymous
Vote (2)
Watch (2)

Dates

  • Created:
    11/Apr/03 6:12 AM
    Updated:
    07/Apr/04 9:29 PM
    Resolved:
    07/Apr/04 9:29 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.