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

Xalan doesn't work with non-document DOM source





------- Additional Comments From [EMAIL PROTECTED]  2001-11-21 09:57 -------
Hi,
out of the XPath spec:
*********
The root node is the root of the tree. A root node does not occur except as the 
root of the tree. The element node for the document element is a child of the 
root node.
********** 

There is no explicit mapping defined between XPath and DOM! 

Out of the JAXP DOMSource docs:
**********
Acts as a holder for a transformation Source tree in the form of a Document 
Object Model (DOM) tree.
***********

The DOMSource may(should) be mapped to a complete XPath tree. Otherwise
the XPath expressions for the DOMSource would not be self-contained which
would cause a lot of problems.
So I think it is a bug.

Regards

Thomas

Reply via email to