Re: Set EntityResolver to the SchemaFactory

2009-09-13 Thread Stanimir Stamenkov
Sun, 13 Sep 2009 17:21:02 +0530, /Sagara Gunathunga/: On Sun, Sep 13, 2009 at 4:45 PM, Stanimir Stamenkov wrote: http://xerces.apache.org/xerces2-j/javadocs/api/javax/xml/validation/SchemaFactory.html#setResourceResolver(org.w3c.dom.ls.LSResourceResolver) I don't think resourceResolver is he

Re: Set EntityResolver to the SchemaFactory

2009-09-13 Thread Sagara Gunathunga
I don't think resourceResolver is help out for me. 1.) It take LSResourceResolver as a argument but i want to use org.xml.sax.EntityResolver. Even though LSResourceResolver based on org.xml.sax.EntityResolver, it doesn't implements EntityResolver. 2.) May be i can create a adapter class for po

Re: Set EntityResolver to the SchemaFactory

2009-09-13 Thread Stanimir Stamenkov
Sun, 13 Sep 2009 15:52:18 +0530, /Sagara Gunathunga/: As we set org.xml.sax.EntityResolver to the DocumentBuilder using DocumentBuilder#setEntityResolver(entityResolver) method, is there any way to provide a EntityResolver to the SchemaFactory so that it will utilize EntityResolver when we ca

Set EntityResolver to the SchemaFactory

2009-09-13 Thread Sagara Gunathunga
Hi all , As we set org.xml.sax.EntityResolver to the DocumentBuilder using DocumentBuilder#setEntityResolver(entityResolver) method, is there any way to provide a EntityResolver to the SchemaFactory so that it will utilize EntityResolver when we call the schemaFactory#newSchema(schemaSources) met