Re: (dsssl) character data and colspec

Subject: Re: (dsssl) character data and colspec
From: Tony Graham <tony.graham@xxxxxxx>
Date: Tue, 20 Nov 2001 17:22:48 +0000
David Carlisle wrote at 20 Nov 2001 13:36:28 GMT:
 > <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V3.1//EN">
 > That's an SGML (as opposed to XML) DOCTYPE declaration, but

XML requires that you include a system identifier instead of or as
well as the public identifier that you have already, but Jade doesn't
care if you only have a public identifier.  You will, however, have
trouble with the DOCTYPE declaration if you process your file on a
true XML system instead of Jade's SGML-but-works-with-vanilla-XML

 > <colspec colname="thdr"/>
 > is using XML empty element syntax. So "/" will close the element and
 > ">" will be spare character data if parsed with the default SGML
 > declaration.

The real difference is in the SGML Declaration that's being used with
Jade.  The SGML Declaration for XML, typically "xml.dcl", includes the
extra parameter that lets Jade recognise '/>' as ending an empty-tag
(and a few other changes from the average SGML Declaration).

You need to use the SGML Declaration for XML since your file uses
(mostly) XML syntax.  You should be able to just include it on the
Jade command line ahead of your file's filename, but it's been so long
since I've done that that I could be wrong.


Tony Graham
XML Technology Center - Dublin                mailto:tony.graham@xxxxxxx
Sun Microsystems Ireland Ltd                       Phone: +353 1 8199708
Hamilton House, East Point Business Park, Dublin 3            x(70)19708

 DSSSList info and archive:

Current Thread