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/03/29 22:22:43 UTC
DO NOT REPLY [Bug 7622] New: -
DTM Exceptions when reusing a tranformer
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: xalan-dev@xml.apache.org
ReportedBy: frankw@well.com
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.