Geoff Howard wrote:
Sorry for being an idiot.  & is valid in the html as delimeter, but the
browser should take it out so that
...
The reason I was confused was because I remembered a problem I encountered
in the past with & as the delimeter in html being passed through, but I
believe the problem there was more complicated - javascript was passing the
& literally IIRC.
You are in dire need to read the HTML and XML specs
at W3C and get rid of the mental baggage of the Tag
Soup approach early browsers imposed on unsuspecting
users.
If you want to have an ampersand in user data transported
in any HTML or XML document, like the Cocoon site map,
you have to escape it as &. Proper HTML and XML parsers
will deliver an ampersand to the application. Those nasty
exceptions introduced in JavaScript embedded in HTML are
actually bugs which sloppy developers who don't even know
where to find specs got used to.

J.Pietschmann


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to