velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian S. Worthington" <ianworthing...@usa.net>
Subject DBF: Resolver issues?
Date Tue, 30 Oct 2007 19:42:03 GMT
Hi.

I'm having a problem building the sample book that comes with the DBF
Framework.

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 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. 

 




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


Mime
View raw message