Re: [xsl] Catalog file to use local version of dtd

Subject: Re: [xsl] Catalog file to use local version of dtd
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 17 Nov 2008 13:42:35 -0500
At 2008-11-17 18:33 +0000, Mark wrote:
I'm using Saxon to process xslt 2 stylesheets from the command line.
-Dxml.catalog.files=D:\Content\MTG\xml\catalog.xml -Dxml.catalog.verbosity=1
>-o D:\Content\MTG\html\mtg_00.htm D:\Content\MTG\xml\mtg.xml mtg.xsl mak_ID=mtg path=D:\Content\MTG\html\ name_title="Master Tax Guide"
I get the error:

Recoverable error on line 57 of file:/D:/Content/MTG/mtg.xsl:
  FODC0005: nastntx95001

for everytime the document() function trys to access one of these
Can anybody spot where I'm going wrong?

Wherever you have:


... try:


I'm not sure when the change happened, but I've been having to covert my old programs that used to work without the "file:/" prefix to have it in order to work. It was either a change in Saxon or a change in Java ... I'm not sure which and perhaps Mike can comment.

This extends also to the URI in a stylesheet association ... where this used to work:

<?xml-stylesheet type="text/xsl" href="q:/docbook/mydocbook.xsl"?>

... I now need:

<?xml-stylesheet type="text/xsl" href="file:/q:/docbook/mydocbook.xsl"?>

I hope this helps.

. . . . . . . . . Ken

Upcoming XSLT/XSL-FO, UBL and code list hands-on training classes:
:  Sydney, AU 2009-01/02; Brussels, BE 2009-03; Prague, CZ 2009-03
Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video
Video sample lesson:
Video course overview:
G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.
Male Cancer Awareness Nov'07
Legal business disclaimers:

Current Thread