RE: error message when the link has & sign

> From:	Mai, Dung H [SMTP:Dung.Mai@PSS.Boeing.com]
> 
> I wonder if some one can explain what could have been wrong if I included
> the & in the link such as 
> <a
> xlink:href="http://bunker.ca.boeing.com/bpi/servlet/InfoManager?env=PPU_PD
> &requestBPROC&proc=DWH04">
> 
I suspect there are no entities defined for 
&requestBPROC; and &proc;

In both XML and HTML, parameter strings are processed in
a context where entities are expanded.  Using an undefined
entity produces an undefined result, although most HTML
browsers will treat the initial & as a literal in that case.

See http://www.w3.org/TR/html40/appendix/notes.html#h-B.2.2 for
the correct way to code hrefs and for ways to write CGI (ASP,
PHP, etc.) scripts to minimise the problem.
-- 
--------------------------- DISCLAIMER ---------------------------------
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of BTS.

Received on Friday, 28 July 2000 12:12:16 UTC