This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
xsltproc and CDATA
- From: "Dave Brooks, BCS Systems" <dave at bcs dot co dot nz>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Thu, 13 Dec 2001 22:37:02 +1300
- Subject: DOCBOOK-APPS: xsltproc and CDATA
Hi,
I am starting to use xsltproc instead of Xalan. However the following
sample gets an error:
test.xml:5: error: docbParseStartTag: invalid element name
<![CDATA[
xsltproc --version gives "xsltproc was compiled against libxml 20412,
libxslt 10009 and libexslt 10009"
The stylesheets are 1.47 experimental.
Any ideas? Is this a bug? Xalan parses the test file correctly.
Thanks,
Dave
<?xml version="1.0"?>
<!DOCTYPE article SYSTEM "y:/doc/docbook/dtd/dbx412/docbookx.dtd" >
<article>
<programlisting>
<![CDATA[
a + b ;
]]>
</programlisting>
</article>