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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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.

Reply via email to