W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2001

Re: Handling Ampersands

From: Eric van der Vlist <vdv@dyomedea.com>
Date: Thu, 21 Jun 2001 08:12:23 +0200
Message-ID: <3B319047.6868BBB5@dyomedea.com>
To: xmlschema-dev@w3.org
Martin Duerst wrote:
> At 17:07 01/06/20 +0200, Eric van der Vlist wrote:
> >If this transformation is done through XSLT into a HTML href element,
> >the XSLT processor will take care of unescaping the "&amp;"...
> The XSLT processor will temporarily (for internal processing)
> unescape the &amp;, but put it back in again when producing
> the HTML. HTML requires it as much as XML.

Ooops, my mistake. I meant that the HTML output method would tale care
to escape non ASCII characters in attributes where a URI is expected and
that it could rely on it, but this is a different issue.

Sorry for the confusion.


> (Most browsers are lenitent in that they deal with a simple &,
> too, but this is just bugwards compatibility, nothing else.)
> Regards,   Martin.

Pour y voir plus clair dans la nebuleuse XML...
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
http://xsltunit.org      http://4xt.org           http://examplotron.org
Received on Thursday, 21 June 2001 02:12:45 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:14:51 UTC