- From: Jostein Austvik Jacobsen <josteinaj@gmail.com>
- Date: Mon, 31 Jan 2011 16:47:58 +0100
- To: Philip Fennell <Philip.Fennell@marklogic.com>
- Cc: XProc Dev <xproc-dev@w3.org>
- Message-ID: <AANLkTimg_Zwem+hcjYtPD1wuD6-v4nYy0c5Rdoa26cJd@mail.gmail.com>
When running Calabash from the command line, I use catalogs like this: - Add the XML resolver JAR (for instance /usr/share/java/xml-commons-resolver-1.1.jar) to the classpath of calabash in the calabash starup script (for instance /home/username/xmlcalabash-0.9.30/calabash). - Set _JAVA_OPTIONS to point to your catalog: export _JAVA_OPTIONS='-Dxml.catalog.files=catalog.xml -Dxml.catalog.staticCatalog=1' - Start Calabash with the -E and -U options set like this: "calabash -E org.apache.xml.resolver.tools.CatalogResolver -U org.apache.xml.resolver.tools.CatalogResolver" I assume oXygen plugs its catalogs into Calabash in the background in a similar way. Regards Jostein 2011/1/31 Philip Fennell <Philip.Fennell@marklogic.com> > Norm wrote: > > Put those DTDs in a catalog with a local copy. > > > Sorry for being a bit thick, but, there's no mechanism with XProc or > Calabash for working with an XML Catalog is there? I've tried adding xhtml > catalogue within oXygen but it appeared to make no difference. > > Is Calabash integrated with oXygen such that oXygen's catalogues are > 'referenced' when a pipeline is executed? > > > Regards > > Philip > > -----Original Message----- > From: xproc-dev-request@w3.org [mailto:xproc-dev-request@w3.org] On Behalf > Of Norman Walsh > Sent: 31 January, 2011 3:15 PM > To: XProc Dev > Subject: Re: Problems running Calabash pipelines with oXygen 12.1 > > Philip Fennell <Philip.Fennell@marklogic.com> writes: > > Description: net.sf.saxon.s9api.SaxonApiException: I/O error reported > > by XML parser processing null: Read timed out > > (http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd) Read timed out > > (http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd) > > The W3C servers struggle mightly under the load of validators retreiving > the DTDs. Sometimes they time out. If you do it often enough, they'll start > replying with access denied. > > Put those DTDs in a catalog with a local copy. > > Be seeing you, > norm > > -- > Norman Walsh > Lead Engineer > MarkLogic Corporation > www.marklogic.com > >
Received on Monday, 31 January 2011 15:48:50 UTC