W3C home > Mailing lists > Public > xproc-dev@w3.org > October 2012

RE: DTD and Entity Resolver

From: Geert Josten <geert.josten@dayon.nl>
Date: Mon, 22 Oct 2012 10:00:28 +0200
Message-ID: <4f2debe46126d2d763cb1457d12f06ed@mail.gmail.com>
To: Mansour Al Akeel <mansour.alakeel@gmail.com>, xproc-dev@w3.org
Hi Mansour,

Put a CatalogManager.properties within the location from where you are
running (or at the top-level of some jar that is in the class path. In
there you can specify properties like:

catalogs=dtd/catalog.xml
relative-catalogs=1
static-catalog=1
verbosity=1

You could look at my ebook conversion app to see how to do various stuff:
https://github.com/grtjn/xproc-ebook-conv

Kind regards,
Geert

> -----Oorspronkelijk bericht-----
> Van: Mansour Al Akeel [mailto:mansour.alakeel@gmail.com]
> Verzonden: zondag 21 oktober 2012 17:44
> Aan: xproc-dev@w3.org
> Onderwerp: DTD and Entity Resolver
>
> I am trying to process many xml files. All of these files have DTD
> that doesn't exist.
> I read Norman's Walsh article, and tried to follow it :
>
> http://norman.walsh.name/2009/07/22/xmlCatalogsandXProc
>
> So I downloaded the resolver from
> http://www.java2s.com/Code/Jar/x/Downloadxmlresolverjar.htm
>
> and setup the configuration. Now I don't know how to specify the
> catalog for the path for the dummy.dtd
>
> My question is, how do I specify the catalog file ??
>
Received on Monday, 22 October 2012 08:00:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 22 October 2012 08:00:57 GMT