[Gestalt-users] Exception while transformation: "Segmentation violation"
Status: Alpha
Brought to you by:
colin-adams
From: Florent G. <dar...@ya...> - 2006-08-26 23:18:21
|
Hi I get an exception with gexslt 3.4. I have reduced the input document to: <test:suite xmlns:test="http://www.fgeorges.org/xslt/unit-test" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" script="hello-world.xsl"> <test:variable name="elem" as="element()"> <elem id="id"/> </test:variable> <test:tests id="false"> <test:title>False negative</test:title> <test:context select="$elem"/> <test:test> <test:expect select="$elem"/> <xsl:apply-templates select="$elem"/> </test:test> </test:tests> </test:suite> Unfortunately, I wasn't able to locate the error in the stylesheet. The stylesheet is attached and available at http://www.fgeorges.org/tmp/test-suite-gen.xsl and the above input at http://www.fgeorges.org/tmp/gexslt-exception.xts. In input, the test:context and test:expect seem to be the cause of the exception. If you remove both, the transformation complete. If you keep one or the other, the transformation abort in the middle and gexslt says something like: gexslt: system execution failed. Following is the set of recorded exceptions: ------------------------------------------------------------------------------- Class / Object Routine Nature of exception Effect ------------------------------------------------------------------------------- GEXSLT root's creation Segmentation violation: <00000000015B0048> Operating system signal. Exit ------------------------------------------------------------------------------- GEXSLT root's creation <00000000015B0048> Routine failure. Exit ------------------------------------------------------------------------------- If you invoque gexslt with --trace=trace.out, you get the same exception, and trace.out contains: <trace xmlns="http://www.gobosoft.com/eiffel/gobo/gexslt/trace" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" timing="false"> <node path="/" line="0" base_uri="[...]/gexslt-exception.xts"> <TODO-Unknown-tag-1323 gexslt-name=" I don't know if you have enough information. At least, you have both the complete stylesheet and a complete minimal input to reproduce the problem. Hope that helps. Regards, --drkm p5.vert.ukl.yahoo.com uncompressed/chunked Fri Aug 25 11:13:42 GMT 2006 ___________________________________________________________________________ Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. http://fr.answers.yahoo.com |