Andrew Mace wrote:
Hi,
Within my navigation.xml i would like to have a link to an external web site, which requires & parameters at the end of the URL.
<links> <item name="GIMS UAT" href="http://grtsupport.risk.db.com/mkdprods/JTIMExcelIQYClientSystemIssues.asp?HeaderON=YES&FullProgress=NO"/> <item ..> </links>
If i then run xdoc:jelly-transform: the <x.parse> method throws an error The reference to entity "FullProgress" must end with the ';' delimiter.
If i change this URL to be
http://grtsupport.risk.db.com/mkdprods/JTIMExcelIQYClientSystemIssues.asp?HeaderON=YES&FullProgress=NO
When i now run xdoc:jelly-transform:. The goal completes with no errors but the html for the link which is generated looks like this
<a href="http://grtsupport.risk.db.com/mkdprods/JTIMExcelIQYClientSystemIssues.asp?HeaderON=YES&amp;FullProgress=NO">
So the xdoc:jelly-transform has placed another escaped ampersand in place of the & in the xml and this won't work in a web browser. It appears that the <x.parse> goal expects ampersands to be escaped, but when it comes to converting the xml to html it again escapes any ampersands it finds (& -.> &amp;)
Does any one know of a work around for this or a way of fixing this bug?
Thanks Andrew
Andrew Mace Global Markets Derivatives Technology
Phone: +44 (0) 20 7545 3395 Internet email: [EMAIL PROTECTED]
--
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]