[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Endless loop in xsltExtensionInstructionResultFinalize

Subject: Endless loop in xsltExtensionInstructionResultFinalize
From: Stephan Suerken <stephan.suerken@xxxxxxxx>
Date: Wed, 25 Apr 2007 17:11:06 +0200
 Endless loop in xsltExtensionInstructionResultFinalize
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.suerken@xxxxxxxx>
Phone: +49.721.913744-393

1&1 Internet AG, Karlsruhe

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.