[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ITP: sablotron



This looks pretty neat (mmm, and they have a python interface too...)
Any plans to package "charlie" too?

However, I can't get it to process even a trivial set of files
(tweaked slightly from /usr/doc/lib-xt-java/examples.)  Are there any
examples that I could work from?

sablotron 0.36-1, libsablot0 0.36-1, libxmltok1 1.1-1, libc6 2.1.3-10,
libstdc++2.10 1:2.95.2-10.
			_Mark_ <eichin@thok.org>
			The Herd of Kittens
			Debian Package Maintainer

::::::::::::::
/tmp/foo.xml
::::::::::::::
<?xml version="1.0"?>
<foo>
<bar>Smith</bar>
</foo>
::::::::::::::
/tmp/foo.xsl
::::::::::::::
<xsl:stylesheet 
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
 xmlns="http://www.w3.org/TR/REC-html40";
 result-ns="">

<xsl:template match="foo">
        <HTML><HEAD><TITLE>Foo</TITLE></HEAD>
        <BODY>

        <xsl:apply-templates/>
        </BODY>
        </HTML>
</xsl:template>

<xsl:template match="bar">
        <P>
        <xsl:apply-templates/>
        </P>
</xsl:template>

</xsl:stylesheet>


$ sabcmd foo.xsl foo.xml
Segmentation fault

Program received signal SIGSEGV, Segmentation fault.
0x4003f325 in hlrStartNS () from /usr/lib/libsablot.so.0
(gdb) where
#0  0x4003f325 in hlrStartNS () from /usr/lib/libsablot.so.0
#1  0x40067698 in XML_ErrorString () from /usr/lib/libxmlparse.so.1
#2  0x400671ca in XML_ErrorString () from /usr/lib/libxmlparse.so.1
#3  0x40066845 in XML_ErrorString () from /usr/lib/libxmlparse.so.1
#4  0x4006607c in XML_ErrorString () from /usr/lib/libxmlparse.so.1
#5  0x40067fc1 in XML_ErrorString () from /usr/lib/libxmlparse.so.1
#6  0x40067cdf in XML_ErrorString () from /usr/lib/libxmlparse.so.1
#7  0x40065d37 in XML_ParseBuffer () from /usr/lib/libxmlparse.so.1
#8  0x4003f70c in feedDocumentToParser () from /usr/lib/libsablot.so.0
#9  0x4003f98b in parseDataLine () from /usr/lib/libsablot.so.0
#10 0x40042104 in Processor::parse () from /usr/lib/libsablot.so.0
#11 0x400418f3 in Processor::addLineParse () from /usr/lib/libsablot.so.0
#12 0x40041a7b in Processor::readTreeFromURI () from /usr/lib/libsablot.so.0
#13 0x4004041a in Processor::open () from /usr/lib/libsablot.so.0
#14 0x40042dd4 in SablotProcess_internal () from /usr/lib/libsablot.so.0
#15 0x4004302b in SablotProcess () from /usr/lib/libsablot.so.0
#16 0x80493f7 in SablotFree ()
#17 0x400fca42 in __libc_start_main () from /lib/libc.so.6



Reply to: