Re: DOCBOOK-APPS: Missing CDATA sections

From
fyl2xp1 <>
Date
2002-07-11T18:42:20+00:00
ID
006b01c2290a$ad9af2a0$0f11bc93@htrtttt
Thread
Re: DOCBOOK-APPS: Missing CDATA sections
That is because I am not referring to the HTML style-sheets,
that was made quite clear in my original email.  It turns out
that the XSLT spec states:

"CDATA sections should not be used except for text nodes that
the cdata-section-elements attribute explicitly specifies should
be output using CDATA sections."
----- Original Message -----
From: "Elliotte Rusty Harold" <>
To: "fyl2xp1" <>; "docbook-apps"
<>
Sent: Thursday, July 11, 2002 7:08 PM
Subject: Re: DOCBOOK-APPS: Missing CDATA sections


> At 4:53 PM +0100 7/11/02, fyl2xp1 wrote:
> >Ok, crappy example, but the error still occurs if you wrap it in paras or
> >whatever,
> >I forgot to validate the example before I posted it that's all, try it
with
> >para's round,
> >on my system it still misses out the CDATA section, in fact I just
converted
> >a whole
> >book and then had to go through re-inserting the CDATA sections which was
> >ridiculous...
> >
>
> I just tried this with the latest version of xsltproc on Linux and
> the DocBook HTML stylesheets, and it worked fine for me. I can't
> reproduce your bug.
> --
>
> +-----------------------+------------------------+-------------------+
> | Elliotte Rusty Harold |  | Writer/Programmer |
> +-----------------------+------------------------+-------------------+
> |          XML in a  Nutshell, 2nd Edition (O'Reilly, 2002)          |
> |              http://www.cafeconleche.org/books/xian2/              |
> |  http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/  |
> +----------------------------------+---------------------------------+
> |  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
> |  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
> +----------------------------------+---------------------------------+