Re: [xslt] Segfault with CDATA
- From: John Fleck <jfleck inkstain net>
- To: xslt gnome org
- Subject: Re: [xslt] Segfault with CDATA
- Date: Sat, 22 Nov 2003 14:57:21 -0700
Sorry, but if I'm understanding this correctly (that is, that there is
no file named "aaa") then I can't duplicate this. Looking at the output
from "-V", however, it appears that you have mixed versions - you've got
libxml 20602 (the latest), but your libxslt is older and was compiled
against libxml 20511. Perhaps that might offer some clue as to the
problem?
Cheers,
John
On Sat, 2003-11-22 at 11:35, Laurent wrote:
> Hi,
>
> I'm getting segfaults with xsltproc on my website.
> Here is a simple test case with as little code as possible to produce
> the error.
>
> /===== begin style.xsl =====
> <?xml version='1.0' encoding="UTF-8"?>
>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> xmlns="http://www.w3.org/1999/xhtml">
> <xsl:output method="xml" media-type="text/html"
> doctype-public="-//W3C//DTD XHTML 1.1//EN"
> doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml11.dtd"
> indent="yes" encoding="UTF-8" />
>
> <xsl:template match="/">
>
> <html>
> <xsl:text disable-output-escaping="yes">
> <![CDATA[ ]]>
> </xsl:text>
> </html>
>
> </xsl:template>
>
> </xsl:stylesheet>
> \===== end style.xsl =====
>
> Then if I do:
>
> /=====
> 18:48 laug@horus ~/sitevia/site% xsltproc style.xsl aaa
> warning: failed to load external entity "aaa"
> unable to parse aaa
> zsh: segmentation fault xsltproc style.xsl aaa
> \=====
>
> I am using this version of the software:
>
> /=====
> 19:25 laug@horus ~/xsltproc% xsltproc -V
> Using libxml 20602, libxslt 10033 and libexslt 722
> xsltproc was compiled against libxml 20511, libxslt 10033 and libexslt 722
> libxslt 10033 was compiled against libxml 20511
> libexslt 722 was compiled against libxml 20511
> \=====
>
> Thank you.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]