xsl-list
[Top] [All Lists]

[xsl] Endless loop in xsltExtensionInstructionResultFinalize

2007-04-25 08:11:21
Hi,

[ this is FYI, and info to be provided for 
http://bugzilla.gnome.org/show_bug.cgi?id=378766 ]

running a xsl transformation w/ the attached files finally
ends up in a endless loop in xsltExtensionInstructionResultFinalize:

---
xsltproc -v xsl.xsl xml.xml
(snip)
Lookup variable 'part'
Lookup variable 'part'
xsltChoose: test evaluate to 1
xsltApplySequenceConstructor: extension construct result
(HANG)
---

This applies at least to versions 1.1.19, 1.1.20 and an svn co of
today (Apr 25).

Just skipping the last part of the function 
xsltExtensionInstructionResultFinalize
(labelled "Enable remaining local tree fragments to be freed by the fragment
garbage collector") is a workaround.

Obviously, the cause it that at some point cur->next contains garbage.

It would also be nice if s.o. could point me to the part(s) in the
stylesheet actually provoking the bug -- I meekly failed minimising
it due to a lack of stylesheet knowledge ;(.

Thanks,

Stephan

P.S.: "Attached" files: xsl, xml:

http://tmp.stephan-suerken.de/libxslt-loop/xsl.xsl
http://tmp.stephan-suerken.de/libxslt-loop/xml.xml

-- 
Stephan Suerken <stephan(_dot_)suerken(_at_)1und1(_dot_)de>
Phone: +49.721.913744-393

1&1 Internet AG, Karlsruhe


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>
  • [xsl] Endless loop in xsltExtensionInstructionResultFinalize, Stephan Suerken <=