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 2002/08/19 19:24:08 UTC
DO NOT REPLY [Bug 11828] New: -
xsltc has problem accessing variables from inner class
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=11828>.
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=11828
xsltc has problem accessing variables from inner class
Summary: xsltc has problem accessing variables from inner class
Product: XalanJ2
Version: CurrentCVS
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: org.apache.xalan.xsltc
AssignedTo: xalan-dev@xml.apache.org
ReportedBy: tom.amiro@sun.com
This problem was reported by Peter Royal using XSLTC with Cocoon.
Santiago's assessment is as follows:
"There is a problem with the way XSTLC accesses variables from an inner class.
In particular, the variable "count" that is defined in the template "drawRows"
and is also used to initialize a parameter (inside a predicate) in a recursive
call to the same template."
Attempting to compile the attached stylesheet produces the following error.
Compiler error(s):
file:/tmp/html-page-form.xsl: Variable or parameter 'static-path' is
undefined.
file:/tmp/html-page-form.xsl: Variable or parameter 'static-path' is
undefined.
file:/tmp/html-page-form.xsl: Variable or parameter 'static-path' is
undefined.