Hi Michael and devs,

      CoreDOMImplementationImpl throws an exception when we try to create an
Asynchronous LSParser since it checks the "mode" of the LSParser like this:

      if (*mode != DOMImplementationLS.MODE_SYNCHRONOUS* || (schemaType
!=null &&
   !"http://www.w3.org/2001/XMLSchema".equals(schemaType) &&
!"http://www.w3.org/TR/REC-xml".equals(schemaType))) {
String msg =
DOMMessageFormatter.formatMessage(
DOMMessageFormatter.DOM_DOMAIN,
"NOT_SUPPORTED_ERR",
null);
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
}

    So I think it should be modified to get an object of
AsynchronousLSParser.

Thanks.

-- 

Regards

A.S.Thiwanka Somasiri

Skype : executionerwild
MSN   : [email protected]
<[email protected]>

Reply via email to