>> If want to include a link in my navigation.xml file towards an url
>> containing an ampersand character (&) and not an ampersand entity
>> (&), for example the xdoc plugin jira roadmap url is
>>
>>
>>
http://jira.codehaus.org/secure/BrowseProject.jspa?id=10355&report=changelog
>>
>> With MPXDOC-92 fixed if put an "&" in my navigation.xml I got a "
&" in my html
>> but how can I do to only have an "&" in my url and not an "&" ?
>>
>>
>>
>> For me it looks like the MPXDOC-47, but fixing it will cause the
MPXDOC-92
>> to goes wrong ..
>>
>>
Brant Gurganus :
> When written in HTML, an ampersand should be & The reason is that
> the '&' ampersand character tells the HTML parser if there is an entity
> that needs to be replaced. In your example URL above, the HTML parser
> will try to replace '&report' with an appropriate character from the
> entities in the DTD for that HTML version. In order to correct this,
> you encode the ampersand as & and the HTML parser replaces it with
> an ampersand character. When you follow the URL you go to the &report
> URL, not the &report URL that you seem to think. If your browser is
> going to &report, then your browser has a bug.
Ok, I wrongly explained me : I mixed the url in the html and the url that
is displayed in the adress bar in my explanation.
My problem is to go to the http://foo&bar page so (you are 100% right) to
have a "http://foo&bar" link in my html.
But the thing is in fact that, when I put "http://foo&bar" in my
navigation.xml, I got a "http://foo&bar" in my html : the entity is
escaped a second time during the parsing.
And of course putting a "http://foo&bar" in my xml file make the parser
turn angry.
Is it clearer ?
Julien
This message and any attachments (the "message") is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.
---------------------------------------------
Ce message et toutes les pieces jointes (ci-apres le
"message") sont etablis a l'intention exclusive de ses
destinataires et sont confidentiels. Si vous recevez ce
message par erreur, merci de le detruire et d'en avertir
immediatement l'expediteur. Toute utilisation de ce
message non conforme a sa destination, toute diffusion
ou toute publication, totale ou partielle, est interdite, sauf
autorisation expresse. L'internet ne permettant pas
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce
message, dans l'hypothese ou il aurait ete modifie.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]