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) method  ?

To clarify my scenario, every time my program reading Schema over the
Net (e.g http://www.w3.org/2007/03/wsdl/wsdl20.xsd ) this cause in to
performance problem and also some exceptions in offline mode, to get
rid of this I want to use EntityResolver  with SchemaFactory  .


Thanks,

-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/

---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org
For additional commands, e-mail: j-users-h...@xerces.apache.org

Reply via email to