You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ju...@bnpparibas.com on 2004/07/28 14:43:07 UTC

MPXDOC-47 vs. MPXDOC-92

Dear maveners



I have a question about these two issues :



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 ..



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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: MPXDOC-47 vs. MPXDOC-92

Posted by Brant Gurganus <br...@cherokeescouting.org>.
julien.kirch@bnpparibas.com wrote:

>If want to include a link in my navigation.xml file towards an url
>       containing an ampersand character (&) and not an ampersand entity
>       (&amp;), 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 "&amp;" in my navigation.xml I got a "&amp;" in my html
>but how can I do to only have an "&" in my url and not an "&amp;" ?
>
>
>
>For me it looks like the MPXDOC-47, but fixing it will cause the MPXDOC-92
>       to goes wrong ..
>  
>

When written in HTML, an ampersand should be &amp;  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 &amp; and the HTML parser replaces it with 
an ampersand character.  When you follow the URL you go to the &report 
URL, not the &amp;report URL that you seem to think.  If your browser is 
going to &amp;report, then your browser has a bug.

-- 
Brant Gurganus
http://www.rose-hulman.edu/~gurganbl


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org