Re: [xslt] xhtml input encoding problem
- From: Bernhard Zwischenbrugger <bz datenkueche com>
- To: xslt gnome org
- Subject: Re: [xslt] xhtml input encoding problem
- Date: Mon, 10 Sep 2001 20:47:44 +0200
> ... "xsltproc dies" like you say which seems to imply the fault is on
> libxslt
> which in this case I'm really doubtful :-(
Sorry for that, it's definitly not an libxslt fault !
I think libxslt is doing the right thing.
But it is still a problem an I don't have a solution.
By the way, the html comes from MS Word.
Here is a testcase:
test.html
=======
<html>
<body>
blabla 
more test.xslt
==========
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xsl:copy-of select="."/>
</xsl:template>
</xsl:stylesheet>
xsltproc --html test.xslt test.html
========================
test.html:3: error: htmlParseCharRef: invalid xmlChar value 25
blabla 
^
<html><body><p>
blabla </p></body></html>
Version
======
bz@linuxdaheim:~/firma/technisches/xslt/html$ xsltproc -V
Using libxml 20400 and libxslt 10000
xsltproc was compiled against libxml 20400 and libxslt 10000
libxslt 10000 was compiled against libxml 20400
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]