Hi Thiwanka,

That makes sense since it wasn't supported before.

Can you create a patch for that file and attach it to your JIRA issue
(XERCESJ-1429)?

Thanks.

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [email protected]
E-mail: [email protected]

Thiwanka Somasiri <[email protected]> wrote on 08/19/2011 10:02:44 AM:

> 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]

Reply via email to