OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK-APPS: Saxon 6.4.3 MalformedURLException error


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
>



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC