Re: [xslt] xhtml input encoding problem



On Mon, Sep 10, 2001 at 08:47:44PM +0200, Bernhard Zwischenbrugger wrote:
> xsltproc --html test.xslt test.html
> ========================
> test.html:3: error: htmlParseCharRef: invalid xmlChar value 25
> blabla 

  Well, you can't use  in an XML file. It is outside the range
of Unicode character values accepted by XML. You will have to remove
them or remap them to something else before providing them to an XML
parser.
   http://www.w3.org/TR/REC-xml#charsets

  If tidy generates  in an XHTML output it's an error.
  Libxml removes them it seems which sounds a better if not perfect
handling of the problem.

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
veillard@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]