[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] =?ISO-8859-1?Q?Re=3A_=5Bxsl=5D_Re=3A_=5Bxsl=5D_RE=3A_=5Bxsl=5D_Re=3A_=26=231?= =?ISO-8859-1?Q?60=3B_is_being_displayed_as_=C1?=


Subject: [xsl] Re: [xsl] Re: [xsl] RE: [xsl] Re:   is being displayed as Á
From: Mike Brown <mike@xxxxxxxx>
Date: Sat, 15 Dec 2001 00:06:18 -0700 (MST)

> > There's no standard way in XSLT of influencing whether the character xA0
> > is serialised as a native character, as &nbsp;, as &#xa0; or as &#160.
> > But some processors have private mechanisms for controlling it.

Mark Galbreath wrote:
> This seems to me to be a gross oversight in the standard, no?

HTML requires that "&#160;", "&#xA0;", "&nbsp;" and the literal bytes
in some encoding for a non-breaking space character all be treated
exactly the same by HTML user agents. The XSLT spec does not require an
XSLT processor to serialize the transformation result as HTML at all, 
and it is pretty lenient about imposing requirements on HTML output if
the processor chooses to do so. It is arguable that the spec should not
have to require an XSLT processor to serialize HTML in such a way as to
be compatible with HTML user agents that fail to properly implement the
simplest SGML/HTML constructs.

   - Mike
____________________________________________________________________________
  mike j. brown, fourthought.com  |  xml/xslt: http://skew.org/xml/
  denver/boulder, colorado, usa   |  personal: http://hyperreal.org/~mike/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords