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=9555>. 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=9555 IXMLDOMDocument::get_documentElement erroneously succeeds [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From [EMAIL PROTECTED] 2004-03-02 13:03 ------- Erik, the behaviour you are seeing is the intended one. When you create an instance of Xerces.DOMDocument, it already has an empty document attached, that you can start manipulating. When you issue the parse() method call, that document will be replaced with the result of the parsing operation; but, if the parsing fails, you will get the error back while the COM object will retain the previous (valid) DOM. I hope the explanation is clear enough, Alberto --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
