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">

(default
    (process-children))
    
<!-- 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"?>
<fot>
<a name="0"/>
<text>Hello SGML world!</text>
</fot>

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"?>
<fot>
<a name="0"/>
<text>Hello XML world!</text>
</fot>

T:\FTEMP>


--
G. Ken Holman         mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.  http://www.CraneSoftwrights.com/d/
Box 266,                                V: +1(613)489-0999
Kars, Ontario CANADA K0A-2E0            F: +1(613)489-0995
Training:   http://www.CraneSoftwrights.com/d/schedule.htm
Resources: http://www.CraneSoftwrights.com/d/resources.htm
Shareware: http://www.CraneSoftwrights.com/d/shareware.htm


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


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)