This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: xsltproc and CDATA
- From: Bob Stayton <bobs at caldera dot com>
- To: "Dave Brooks, BCS Systems" <dave at bcs dot co dot nz>,docbook-apps at lists dot oasis-open dot org
- Date: Thu, 13 Dec 2001 02:15:49 -0800
- Subject: Re: DOCBOOK-APPS: xsltproc and CDATA
- References: <5.1.0.14.0.20011213223110.02ad20b0@pop3.bcs.co.nz>
On Thu, Dec 13, 2001 at 10:37:02PM +1300, Dave Brooks, BCS Systems wrote:
> 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>
>
Another datapoint: your sample file processes OK for me
using a slightly older xsltproc and the 1.47 stylesheets. My
xsltproc --version shows:
"xsltproc was compiled against libxml 20410, libxslt 10007
and libexslt 700"
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831) 429-1887
email: bobs@caldera.com