This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Olink problem in website-package
On Wed, Feb 09, 2005 at 09:28:06AM -0800, Bob Stayton wrote:
> Well, if you aren't using a catalog, then you are likely downloading the
> entire Docbook-XSL-1.67.2 stylesheets over the internet every time you
> process your documents. That's because the xsl:import in
> website-common.xsl uses the SourceForge URI. You could always edit that
> file to point to the 65.1 release if you can't get catalogs working.
>
> If you want to try one more catalog option, you could turn on debugging by
> also setting XML_CATALOG_DEBUG=1 on the same command line. That will tell
> you what is going on with catalog resolution in xsltproc.
The entry in my Makefile no looks like this:
website.database.xml: autolayout.xml
XML_CATALOG_FILES=/usr/share/xml/docbook/custom/website/2.5.0/catalog.xml
\
XML_CATALOG_DEBUG=1\
xsltproc --output $@ \
/usr/share/xml/docbook/custom/website/2.5.0/xsl/website-targets.xsl
$<
And I have now changed all the xml-files's headers to
<?xml version="1.0" standalone="no"?>
<!DOCTYPE webpage SYSTEM
"/usr/share/xml/docbook/custom/website/2.5.0/schema/dtd/<xxxxxxx.dtd">
to prevent it to download the internet stylesheets. But the following
still happens:
error : Operation in progress
autolayout.xml:2: warning: failed to load external entity
"http://docbook.sourceforge.net/release/website/2.5.0/schema/dtd/autolayout.dtd"
^
warning: failed to load external entity "website.database.xml"
Olink error: targetptr "oslist" not found for targetdoc "os".
details: could not open website target database
website.database.xml.
xsltproc \
I see that autolayout.xml is created with the reference
"http://docbook.sourceforge.net/release/website/2.5.0/schema/dtd/autolayout.dtd"
This is now on a machine which cannot access the internet without
authorisation. How do I get it to work purely locally?
Regards
Johann
--
Johann Spies Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch
"I was glad when they said unto me, Let us go into the
house of the LORD." Psalms 122:1