Re: [xslt] libxslt problem



In message <285417F7D1B3D411A3690090276212111DE7C9@AKIR02>
          Paul Hermans <paul_hermans@protext.be> wrote:

> Dear,
>
> Using
> xsltproc --timing --output test.out phase3.xsl out2.xml 2>log.err
>
> raises following error messages.
>
> Parsing stylesheet phase3.xsl took 0 ms
> Parsing document out2.xml took 70 ms
> Error Invalid context position
> xmlXPathCompiledEval: evaluation failed
> Error Invalid context position
> xmlXPathCompiledEval: evaluation failed
> Running stylesheet and saving result took 10 ms
>
> All other xslt processors tested do not raise these errors.

That's a somewhat huge file. It would have been nice if you could have
produced a test case that failed which was slightly smaller than 600k.
Or put a reference on to a site where it could be downloaded from. Not
everyone is on broadband, y'know ?

Reduced form of the problem attached; I don't know enough to see what's
going on in the XSLT - it's far more complex than I can get my head around
at the moment, but the reduced XML might give someone else an idea and the
fact that they don't have to waste time reducing it themselves might mean
it actually gets looked at by someone who can help.

Similar tests performed :

--8<--------
*xsltproc --output test.out phase3.xsl linted3.xml
Error Invalid context position
xmlXPathCompiledEval: evaluation failed
Error Invalid context position
xmlXPathCompiledEval: evaluation failed
Error Invalid context position
xmlXPathCompiledEval: evaluation failed
--8<--------

-- 
Gerph {djf0-.3w6e2w2.226,6q6w2q2,2.3,2m4}
URL: http://www.movspclr.co.uk/
... Eyes to the heavens, screaming at the sky;
    Trying to send you messages, but choking on goodbye.
<?xml version="1.0"?>
<manual>


<body>


<division id="C001.ABEL.954">


<proceduretopic id="C001.ABEL.964">
<procedure>

<graphicblock>
<graphiccontainer id="C001.ABEL.983">
<graphic fileref="http://bpsfps05:81/ifs/files/:175248"; description="ext video selector" width="12cm" productname="iq" type="CGM-BINARY" view="front" color="RGB" created_with="ai" scale="100" printwidth="341"/>
</graphiccontainer>

<graphiccontainer id="C001.ABEL.1091">
<graphic fileref="http://bpsfps05:81/ifs/files/:175260"; description="video selector ext" width="617" height="452" productname="iQ" type="JPEG" view="front" color="RGB" resolution="150" bit_depth="24" created_with="ai" scale="100" printwidth="297"/>

</graphiccontainer>
<graphiccontainer id="C001.ABEL.1010">
<graphic fileref="http://bpsfps05:81/ifs/files/:175272"; description="BNC legende" width="2cm" productname="IQ" type="CGM-BINARY" view="front" color="RGB" created_with="ai" scale="100" printwidth="57"/>
</graphiccontainer>
</graphicblock>

</procedure>

</proceduretopic>

</division>

</body>

</manual>

phase3.xsl



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