This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: xsltproc and CDATA


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]