Re: error

Subject: Re: error
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 23 Dec 1998 10:56:12 -0500
At 98/12/21 17:55 -0500, J-P Theberge wrote:
>What is the meaning of this message?
>/usr/local/bin/jade:E: specification document does not have the DSSSL
>architecture as a base architecture

The DSSSL engine doesn't know what document elements to recognize as DSSSL
base architecture elements ... probably because you haven't supplied a DTD
for the script.

>After Jade have been compiled and/or the binaries placed on a /bin
>directory, where am I supposed to place the other files (catalog,
>xml.soc, the dtds e.t.c) so jade can find them by itself using the
>PUBLIC identifier?

I point an environment variable to the directory:

   SET jadedir=p:\jade\jadecurr\

and then when I run I point to the catalog using:

   jade -c %jadedir%catalog test.sgm

to get my results.

Personally, I don't rely on entries in catalogs for anything other than
PUBLIC identifier dereferencing, as changing default declarations affects
the DSSSL engine parsing of both the DSSSL script and the source data ...
when I want to process XML source data, changing the default declaration
impacts the DSSSL script, so I leave everything defaulted and supply the
XML declaration explicitly:

   jade -c %jadedir%catalog %jadedir%xml.dcl test.xml

A complete sample transcript is below.

I hope this helps.

........ Ken

T:\FTEMP>type test.dsl
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN">

<!-- end of file -->
T:\FTEMP>type test.sgm
<!doctype doc [
<!element doc - O ( #PCDATA )>
<doc>Hello SGML world!

T:\FTEMP>jade -c %jadedir%catalog test.sgm

T:\FTEMP>type test.fot
<?xml version="1.0"?>
<a name="0"/>
<text>Hello SGML world!</text>

T:\FTEMP>type test.xml
<?xml version="1.0"?>
<!DOCTYPE doc [
<!ELEMENT doc ( #PCDATA )>
<doc>Hello XML world!</doc>
T:\FTEMP>jade -c %jadedir%catalog %jadedir%xml.dcl test.xml

T:\FTEMP>type test.fot
<?xml version="1.0"?>
<a name="0"/>
<text>Hello XML world!</text>


G. Ken Holman         mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.
Box 266,                                V: +1(613)489-0999
Kars, Ontario CANADA K0A-2E0            F: +1(613)489-0995

 DSSSList info and archive:

Current Thread
  • error
    • J-P Theberge - Mon, 21 Dec 1998 17:53:11 -0500 (EST)
      • G. Ken Holman - Wed, 23 Dec 1998 11:29:12 -0500 (EST) <=
      • Tony Graham - Wed, 23 Dec 1998 12:53:50 -0500 (EST)