> Hello Hans,
> 
>     >> \htmlhead{section} {\htmladdnormallink{Guest Book}
>     >> {http://www2.spoc.ethz.ch/cgi-bin/spoc
>     >> /ms-guest.pl?file=guest&template=guest/spoc-node13.html"}}
>     >> 
>     >> However, the special characters get translated into 'garbage'
>     >> How do I protect them from getting transformed?
> 
>     Hans> Escape them, ie. ...file=guest\&template ...  At least for ~
>     Hans> this method works.
> 
> I tried that before, but it won't work since the escaped ampersand
> gets translated into "&"  :-(

I recall seeing a discussio about this sort of thing on the xml-dev list.
The consensus seemed to be that putting  &  into the .xml file
is the *correct* thing to do.
It is up to the application (e.g. Web browser or the cgi script that
receives the string) to do the correct thing with the string, within its context.


But this is HTML, not XML, and what is one supposed with existing software
that does it wrong ?
Would someone please check out what the HTML recommendations are,
for this situation.

I suspect that there should be some obligation on the cgi-script
to decide whether  ?file=guest&template=guest/spoc-node13.html
and  ?file=guest&template=guest/spoc-node13.html
should be treated as identical requests.

If this were not so, then there will be difficulties sending requests
to this cgi-script directly from XML files displayed directly
with a browser.


That's the 2nd interesting development tonight.

Please, I'd like to hear some informed discussion on this one.

        All the best,

                Ross Moore


Reply via email to