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

execute method uses dtm.getDocument() instead of dtm.getOwnerDocument(nodeHandle)

           Summary: execute method uses dtm.getDocument() instead of
                    dtm.getOwnerDocument(nodeHandle)
           Product: XalanJ2
           Version: 2.4
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xpath
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Hi,

We were getting the following error:

XSLT Error
 (javax.xml.transform.TransformerException):
org.apache.xml.utils.WrappedRuntimeException: context does not have an owne
r document!

After stepping into the code the comment in dtm.getDocument() recommended it
would be better to use getOwnterDocument(nodeHandle).  We made the switch in the
code and the problem went away.

Reply via email to