Re: XML Schema parsing

2009-02-26 Thread Shah Asrani
Hi Michael, Thanks for quick response. On Wed, Feb 25, 2009 at 11:17 PM, Michael Glavassevich wrote: > Hi Shah, > > You should write a resource resolver [1] and register it with the XSLoader > [2]. Your code would resolve the schema to the representation you already > have in memory. > > Thanks.

Re: XML Schema parsing

2009-02-25 Thread Michael Glavassevich
Hi Shah, You should write a resource resolver [1] and register it with the XSLoader [2]. Your code would resolve the schema to the representation you already have in memory. Thanks. [1] http://xerces.apache.org/xerces2-j/javadocs/api/org/w3c/dom/ls/LSResourceResolver.html [2] http://xerces.apach

XML Schema parsing

2009-02-25 Thread Shah Asrani
Hi I have used XML Schema API with xerces to parse a xsd file. I have two xsd files. schemaA.xsd schemaB.xsd. schemaA.xsd imports schemaB.xsd. When files are on filesystem and I use api to parse schemaA.xsd, it works fine as it can find schemaB.xsd on filesystem. However, in the logic I am work