xerces-j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thiwanka Somasiri <asthiwa...@gmail.com>
Subject Re: Require modifications in CoreDOMImplementationImpl to create an AsynchronousLSParser
Date Fri, 19 Aug 2011 14:13:54 GMT
Hi Michael,

     Sure. I will attach the patch soon.

Thanks.

On Fri, Aug 19, 2011 at 7:38 PM, Michael Glavassevich
<mrglavas@ca.ibm.com>wrote:

> 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: mrglavas@ca.ibm.com
> E-mail: mrglavas@apache.org
>
> Thiwanka Somasiri <asthiwanka@gmail.com> 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   : thiwas@ymail.com
>
>


-- 

Regards

A.S.Thiwanka Somasiri

Skype : executionerwild
MSN   : thiwas@ymail.com
<thiwas@ymail.com>

Mime
View raw message