xerces-j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thiwanka Somasiri <asthiwa...@gmail.com>
Subject Require modifications in CoreDOMImplementationImpl to create an AsynchronousLSParser
Date Fri, 19 Aug 2011 14:02:44 GMT
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   : thiwas@ymail.com
<thiwas@ymail.com>

Mime
View raw message