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/11/06 03:24:21 UTC
DO NOT REPLY [Bug 14285] New: -
execute method uses dtm.getDocument() instead of dtm.getOwnerDocument(nodeHandle)
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: xalan-dev@xml.apache.org
ReportedBy: tleyden@atypon.com
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.