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

DocumentLS.saveXML cannot handle Nodes





------- Additional Comments From [EMAIL PROTECTED]  2003-07-28 18:12 -------
There are two ways to solve this, I think.

1) Make getOwnerDocument() return "this" for CoreDocumentImpl.

2) Don't use getOwnerDocument() in the saveXML() method, and instead check if
the Node's owner document is equal to "this".

I prefer the latter method, since the former implies that a document "owns"
itself.  I'll attach a patch for the latter version.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to