etf.org/rfc/rfc2396.txt'>IETF RFC 2396]. If the URI contains a fragment identifier (see section 4.1 in [
IETF RFC 2396]), the behavior is not defined by this specification, future versions of this specification may define the behavior.
@param uri The location of the XML document to be read.
@return If the
LSParser
is a synchronous
LSParser
, the newly created and populated
Document
is returned, or
null
if an error occured. If the
LSParser
is asynchronous,
null
is returned since the document object may not yet be constructed when this method returns.
@exception DOMException INVALID_STATE_ERR: Raised if the
LSParser.busy
attribute is
true
.
@exception LSException PARSE_ERR: Raised if the
LSParser
was unable to load the XML document. DOM applications should attach a
DOMErrorHandler
using the parameter "
error-handler" if they wish to get details on the error.