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=7622>.
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=7622

DTM Exceptions when reusing a tranformer

           Summary: DTM Exceptions when reusing a tranformer
           Product: XalanJ2
           Version: CurrentCVS
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xml.dtm
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Create a transformer and set the stylesheet. The stylesheet has a call-template 
with an apply-templates as contents of a with-param. Transform a list of input 
documents with the transformer. First three or more documents may be 
successfully transformed. Various exceptions have been observed, primarily 
NullPointerException, ArrayIndexOutOfBounds. No simple test case has been 
synthesized. Three similar reports have been seen on xalan-j-users.

The common sequence in the stack trace is:
at org.apache.xpath.objects.XRTreeFrag.xstr
at org.apache.xpath.objects.XObject.dispatchCharactersEvents
at org.apache.xpath.Expression.executeCharsToContentHandler
at org.apache.xalan.templates.ElemValueOf.execute(ElemValueOf.java:319)

In addition to reusing a transformer the syndrome appears when a template, 
instead of a value-of or literal result element, is used as a parameter to a 
call-template.

Reply via email to