You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Gerben <ge...@wanadoo.nl> on 2007/07/19 08:20:20 UTC

Re: Can i use OASIS XML Catalogs in Xerces (commandline)?

What changes would i have to make in the source code?

Is this enough?

    parser = XMLReaderFactory.createXMLReader(parserName);

    EntityResolver resolver = new CatalogResolver(); <-- extra code
    parser.setEntityResolver(resolver); <-- extra code

-- 
View this message in context: http://www.nabble.com/Can-i-use-OASIS-XML-Catalogs-in-Xerces-%28commandline%29--tf3976738.html#a11683042
Sent from the Xerces - J - Users mailing list archive at Nabble.com.


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


Re: Can i use OASIS XML Catalogs in Xerces (commandline)?

Posted by Michael Glavassevich <mr...@ca.ibm.com>.
Looks okay. Have you tried it?

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org

Gerben <ge...@wanadoo.nl> wrote on 07/19/2007 02:20:20 AM:

> What changes would i have to make in the source code?
> 
> Is this enough?
> 
>     parser = XMLReaderFactory.createXMLReader(parserName);
> 
>     EntityResolver resolver = new CatalogResolver(); <-- extra code
>     parser.setEntityResolver(resolver); <-- extra code
> 
> -- 
> View this message in context: http://www.nabble.com/Can-i-use-OASIS-
> XML-Catalogs-in-Xerces-%28commandline%29--tf3976738.html#a11683042
> Sent from the Xerces - J - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
> For additional commands, e-mail: j-users-help@xerces.apache.org


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