You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2003/07/24 07:12:47 UTC
DO NOT REPLY [Bug 21842] New: -
Stack Overflow on circular assignment
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21842>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21842
Stack Overflow on circular assignment
Summary: Stack Overflow on circular assignment
Product: XalanJ2
Version: CurrentCVS
Platform: Other
OS/Version: Other
Status: NEW
Severity: Minor
Priority: Other
Component: org.apache.xpath
AssignedTo: xalan-dev@xml.apache.org
ReportedBy: foxyshadis@hotmail.com
I don't know if this is proper/expected behavior or not, but if I circularly
define a variable I get a stack overflow as it flips back and forth. They were
in two separate xsl files, if that makes a difference. If you can't reproduce,
I'll come up with a test-case.
Wouldn't a more graceful failure be a test to see if a variable is already being
resolved, and if so, die with a '$foo and $bar are circularly defined' (or not
list the variables, if that's inconvenient)?