This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Re: Disappointment about Sun's policy
Hi Togan,
You wrote:
> * Norman Walsh; <ndw@nwalsh.com> on 24 May, 2002 wrote:
> >/ Togan Muftuoglu <toganm@users.sourceforge.net> was heard to say:
> >| I am completely disappointed about Sun, Sun Turkey and my apologies from
> >| the list for an off topic mail but to be honest I am frustrated.
> >
> >What's the Apache policy? The resolver is now part of the xml-commons
> >project and I expect you can get it from there.
>
> Well I did not know until and I am downloading xml-commons 1.0b2
That (1.0b2 release from xml-commons disribution site[1]) should work
for you. The resolver.jar file is in /java/build/resolver.jar in the
distribution.
One thing to note is that the package names in the xml-commons
distribution are different from the original Sun package names.
So, if you're working from the info/examples in Norm's "XML Entity and
URI Resolvers" article[2], everywhere it says "com.sun.resolver.*"
you need to substitute "org.apache.xml.resolver.*".
For example, to use the xml-commons resolver classes with Saxon, you
need to feed Saxon the following flags:
-x org.apache.xml.resolver.tools.ResolvingXMLReader
-y org.apache.xml.resolver.tools.ResolvingXMLReader
-r org.apache.xml.resolver.tools.CatalogResolver
And if you're using a CatalogManager.properties file with a
catalog-class-name line in it, you'll need to use:
catalog-class-name=org.apache.xml.resolver.Resolver
Hope that helps,
--Mike
P.S. Note to anybody who's doing packaging for Linux distros: As far
as I know, the xml-commons stuff can now be packaged and distributed.
[1] http://xml.apache.org/dist/commons/
[2] http://www.sun.com/software/xml/developers/resolver/article/