Hi Balchandra,

If you register the CatalogResolver as an EntityResolver the parser will
call its resolveEntity() method for each external resource it attempts to
read.

Thanks.

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]
E-mail: [EMAIL PROTECTED]

"Balchandra Kemkar" <[EMAIL PROTECTED]> wrote on 01/20/2008 01:19:03 PM:

> Hi Michael,
>
> The links were very helpful.
> Just one little thing I want to ask is :
> When we attach the CatalogResolver to any parser then, will the parser
> automatically resolve the resources(or urn etc.) or do we
> have to manually do the resolution using the calls resolveEntity etc?
>
> Thanks and Regards,
> Balchandra
>
> -----Original Message-----
> From: Michael Glavassevich [mailto:[EMAIL PROTECTED]
> Sent: Sunday, January 20, 2008 11:20 PM
> To: j-users@xerces.apache.org
> Subject: Re: Xerces J Catalogs
>
> Hi Balchandra,
>
> As a start you could take a look at Norm Walsh's article [1] on the
> catalog resolver. There are also a few FAQs [2] on usage on the Xerces-J
> website.
>
> Thanks.
>
> [1]
> http://xml.apache.org/commons/components/resolver/resolver-article.html
> [2] http://xerces.apache.org/xerces2-j/faq-xcatalogs.html
>
> Michael Glavassevich
> XML Parser Development
> IBM Toronto Lab
> E-mail: [EMAIL PROTECTED]
> E-mail: [EMAIL PROTECTED]
>
> "Balchandra Kemkar" <[EMAIL PROTECTED]> wrote on 01/20/2008 12:12:53
> PM:
>
> > Hi All,
> >
> > I am relatively new to Xerces-J, till now I was working on Xerces-C++.
> > Reason for trying Xerces-J is the support for catalogs.
> >
> > I didn't understood the exact use model for using the catalogs.
> >
> > It would be a great help if someone can give some idea on that.
> >
> > Thanks in Advance,
> > Balchandra
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to