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]

Missing CDATA sections


If I process this file:
 
<?xml version="1.0"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "c:/docbook/docbkx412/docbookx.dtd">
<article>
  <sect1><title>Error Prone</title>
<![CDATA[
Im going to dissapear!
]]>
  <para>
    Yes that's right ladies and gentlemen, CDATA is gone!
  </para>
  </sect1>
</article>
 
 with /docbook-xsl-1.52.2/profiling/profile.xsl using xsltproc
it generates
 
<?xml version="1.0"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd">
<article>
  <sect1><title>Error Prone</title>
 
Im going to dissapear!
 
  <para>
    Yes that's right ladies and gentlemen, CDATA is gone!
  </para>
  </sect1>
</article>
 
which is not even valid XML, why is CDATA going missing, is this an xsltproc or
style-sheet issue?
 
AM

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