After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 53401 - xsl:text and CDATA content
xsl:text and CDATA content
Status: VERIFIED FIXED
Product: libxslt
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Daniel Veillard
Daniel Veillard
Depends on:
Blocks:
 
 
Reported: 2001-04-20 09:26 UTC by rchaillat
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description rchaillat 2001-04-20 09:26:01 UTC
<xsl:text> element complains when its content is enclosed in <![CDATA[ ]]>
Comment 1 Daniel Veillard 2001-04-22 16:00:40 UTC
Okay this was a bug, it's fixed now:

orchis:~/XSLT/tests/general -> cat ../docs/bug-10-.xml 
<?xml version= "1.0"?>
<doc/>

orchis:~/XSLT/tests/general -> cat bug-10-.xsl
<?xml version= "1.0"?>
                            
<xsl:stylesheet version="1.0" 
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  
<xsl:template match="/">
<xsl:text><![CDATA[Success]]></xsl:text>
</xsl:template>
  
</xsl:stylesheet>
orchis:~/XSLT/tests/general -> xsltproc bug-10-.xsl
../docs/bug-10-.xml 
<?xml version="1.0"?>
Success
orchis:~/XSLT/tests/general -> 

  thanks for the report,

Daniel
Comment 2 Daniel Veillard 2001-05-04 10:45:16 UTC
shipped in 0.9.0

Daniel