You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2004/03/02 14:03:46 UTC
DO NOT REPLY [Bug 9555] -
IXMLDOMDocument::get_documentElement erroneously succeeds
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
alby@exceloncorp.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From alby@exceloncorp.com 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: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org