Re: [xsl] XSLT does not handles charcters less than x0020 hex

Subject: Re: [xsl] XSLT does not handles charcters less than x0020 hex
From: Richard Light <richard@xxxxxxxxxxxxxxxxx>
Date: Thu, 12 Apr 2001 08:07:27 +0100
In message <3AD531D3.756740BB@xxxxxxxxxx>, Lim Wai Kheong
<wklim@xxxxxxxxxx> writes
>It seems to me that XSLT does not handle characters with reference less
>than 0020(hex). I am using LotusXSL with Xalan and Xerces.
>
>Please have a look at my following example, "&#x0020" is parsed but not
>"&#001f". Did I overlook something that causes such problem.

Something rather basic.  These characters are not valid in an XML
document:

Character Range 
===============

[2]  Char ::=  #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] |
[#x10000-#x10FFFF] 
/*  any Unicode character, excluding the surrogate blocks, FFFE, and
FFFF. */ 
 
Therefore you can't expect XSLT processors to handle them.

Richard Light.

Richard Light
SGML/XML and Museum Information Consultancy
richard@xxxxxxxxxxxxxxxxx


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


Current Thread