[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Velocity Docbook Framework - Resolver issues?
On the advice received here I'm trying the Velocity DocBook Framework. I'm having a problem building the sample book that comes with that. I'm behind a proxy and can't access internet files from the command line so the attempt to read docbookx.dtd from open-oasis.org is failing. But, if I understand this correctly, the xml resolver should be taking care of this and using the local copy that's unzipped during the prepare phase. Any idea what might be failing here? I've attached the console log below. The dtd is present in ...\docs\target\docbook-xml-4.4. C:\Downloads\DocBook-Framework-1.0\DocBook-Framework-1.0\src\resolver\xml-catalog.xml is unchanged and includes: <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> <!-- Translate DocBook XML 4.4 system ids to local file names --> <rewriteSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.4/" rewritePrefix="@target.dir@/docbook-xml-4.4/"/> <!-- Translate DocBook XML 4.4 public ids to local file names --> <nextCatalog catalog="@target.dir@/docbook-xml-4.4/catalog.xml"/> <rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/current/" rewritePrefix="@target.dir@/docbook-xsl-1.70.0/"/> </catalog> C:\Downloads\DocBook-Framework-1.0\DocBook-Framework-1.0\docs\target\docbook-xml-4.4\catalog.xml is also unchanged and includes: <public publicId="-//OASIS//DTD DocBook XML V4.4//EN" uri="docbookx.dtd"/> <system systemId="http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" uri="docbookx.dtd"/> Console log: C:\Downloads\DocBook-Framework-1.0\DocBook-Framework-1.0\docs>ant Buildfile: build.xml all: prepare: [unzip] Expanding: C:\Downloads\DocBook-Framework-1.0\DocBook-Framework-1.0\ src\zip\docbook-xml-4.4.zip into C:\Downloads\DocBook-Framework-1.0\DocBook-Fram ework-1.0\docs\target\docbook-xml-4.4 [unzip] Expanding: C:\Downloads\DocBook-Framework-1.0\DocBook-Framework-1.0\ src\zip\docbook-xsl-1.70.0.zip into C:\Downloads\DocBook-Framework-1.0\DocBook-F ramework-1.0\docs\target [copy] Copying 2 files to C:\Downloads\DocBook-Framework-1.0\DocBook-Framew ork-1.0\docs\target\tmp pdf: [copy] Copying 1 file to C:\Downloads\DocBook-Framework-1.0\DocBook-Framewo rk-1.0\docs\target\tmp [copy] Copying 1 file to C:\Downloads\DocBook-Framework-1.0\DocBook-Framewo rk-1.0\docs\target\tmp [copy] Copying 1 file to C:\Downloads\DocBook-Framework-1.0\DocBook-Framewo rk-1.0\docs\target\tmp [java] Error on line 3 column 57 of file:/C:/Downloads/DocBook-Framework-1. 0/DocBook-Framework-1.0/docs/src/docbook/dbf/DBFUserGuide.xml: [java] Error reported by XML parser: Cannot read from http://www.oasis-op en.org/docbook/xml/4.4/docbookx.dtd (www.oasis-open.org) [java] Transformation failed: Run-time errors were reported . . . ian .. Ian S. Worthington, MBCS. http://isw.me.uk/ Dulce et decorum est pro patria mori, sed dulcius pro patria vivere, et dulcissimus pro patria biber. Ergo, bibiamo pro salute patriae.