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

EXSLT implementations of set:leading and set:trailing are off by one element

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|[EMAIL PROTECTED]    |[EMAIL PROTECTED]



------- Additional Comments From [EMAIL PROTECTED]  2002-08-12 20:03 -------
Yes. This problem is tricky. Xalan's Process command line creates a 
StreamSource object for the xml, whereas your java code creates a DOMSource. 
The problem only manifests itself when the input for the xml is a DOMSource. 

The problem is caused by DOMHelper.isNodeTheSame(node1, node2). This method 
returns false if either of node1 or node2 is not an instance of DTMNodeProxy, 
even if they are the same reference. I don't want to change any interface in 
DOMHelper. So I will put an additional check in ExsltSets.leading() and trailing
().

Reply via email to