[EMAIL PROTECTED] wrote:
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 ..
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.
-- Brant Gurganus http://www.rose-hulman.edu/~gurganbl
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
