This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Saxon 6.4.3 MalformedURLException error
- To: DocBook-Apps List <docbook-apps at lists dot oasis-open dot org>
- Subject: Re: DOCBOOK-APPS: Saxon 6.4.3 MalformedURLException error
- From: Gershon L Joseph <gershon at mainsoft dot com>
- Date: Mon, 22 Oct 2001 13:33:58 +0200 (Jerusalem Standard Time)
- List-Id: <docbook-apps.lists.oasis-open.org>
Thanks, that solves the problem. I forgot I had removed the file:// part
of the URL for Omnimark. Now I get the following error:
Error on line 7 of
file:/C:\tools\docbook\docbook-xsl-1.45\htmlhelp\htmlhelp.xsl
:
java.io.FileNotFoundException: \html\chunk.xsl
Transformation failed: Failed to compile stylesheet. 1 error detected.
The problem line reads:
<xsl:import href="../html/chunk.xsl"/>
So I tried changing it to:
<xsl:import href="file://../html/chunk.xsl"/>
which then generates the following error:
Error on line 7 of
file:/C:\tools\docbook\docbook-xsl-1.45\htmlhelp\htmlhelp.xsl
:
java.net.UnknownHostException: ..
Transformation failed: Failed to compile stylesheet. 1 error detected.
Saxon thinks ".." is a hostname !
Is there a way to tell Saxon in which directories to look for imported
files? I know Jade has an option (-D I think) for this.
Any ideas where to go from here?
TIA,
Gershon
On Sun, 21 Oct 2001, Bob Stayton wrote:
> > From: Gershon L Joseph <gershon@mainsoft.com>
> >
> > I've installed Instant Saxon 6.4.3 on Windows 2000, as well as the DocBook
> > XSL stylesheets version 1.45. When I run Saxon, I get the following error:
> >
> > Error
> > java.net.MalformedURLException: unknown protocol: u
> > Transformation failed: run-time errors were reported
> >
> > I'm using this command to run Saxon:
> > C:\home\gershon\test>saxon
> > M:\doc\doc\products\MainWin\techdoc\src\docset.xml
> > C:\tools\docbook\docbook-xsl-1.45\htmlhelp\htmlhelp.xsl
> >
> > I get the same errors if I call the htmlhelp.xsl stylesheet or the
> > html.xsl, so it seems to relate to my installation...
> >
> >
> > Has anyone got any ideas as to what's wrong?
>
> How does the DOCTYPE declaration in your document
> refer to the DocBook DTD? If it is resolving
> (either directly or through a catalog lookup) to
> a pathname with a Windows drive letter, you will
> get that error. The DTD reference is treated as a URI,
> and URIs can start with 'http:' or 'ftp:' or some
> other protocol. It thinks the drive letter is a
> protocol.
>
> bobs
> Bob Stayton 400 Encinal Street
> Publications Architect Santa Cruz, CA 95060
> Technical Publications voice: (831) 427-7796
> Caldera International, Inc. fax: (831) 429-1887
> email: bobs@caldera.com
>
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>