Re: For XML documents can Jade process without DTD?

Subject: Re: For XML documents can Jade process without DTD?
From: Jany Quintard <quintard.j@xxxxxx>
Date: Tue, 26 Jan 1999 09:27:46 +0100 (MET)
On Fri, 15 Jan 1999, G. Ken Holman wrote:

> At 99/01/15 11:21 -0500, Didier PH Martin wrote:
> >I tried to process a XML document without a DTD, but jade refused to process

> Invoke JADE with the file "xml.dcl" (found in the JADE directory) on the
> command line before your XML file, and the warnings set to "no-valid":
> 
>    jade  {options}  -wno-valid  xml.dcl  myfile.xml
> 
> Full example below ... I hope this helps.

Hello.
I have a problem quite similar to D.Ph.Martin's. I process an xml file
(The DTD is a very simple subset under construction  of IBMIDDoc DTD) with
jade.
BTW, I used a trick to process it as a SGML file, in which I left the
omittags ( - - ). If I try to process it as a real XML file, by removing the
( - -) and running jade with following command lines, I get errors :

Command line :
jade -c "../xoiddoc/catalog" -t xml -d ./idhtml.dsl -o machin.html
-wno-valid  xml.dcl machin.xml

Error messages :

jade:xml.dcl:2:25:E: minimum data of first minimum literal in SGML
declaration must be "ISO 8879:1986" or "ISO 8879:1986 (ENR)" not "ISO
8879:1986 (WWW)"
jade:xml.dcl:26:14:E: "NONE" invalid: only "PUBLIC", "SGMLREF" and
parameter separators allowed
jade:xml.dcl:26:14:E: cannot continue because of previous errors

The xml.dcl comes from jade directory.
I guess I made a stupid mistake somewhere, but where ?


 -------------------------------------------------------
Jany Quintard             | quintard.j@xxxxxx
IBM Paris Laboratory      | 44600 Saint-Nazaire France
Tel : 33 (0) 240 17 84 36 | Fax : 33 (0) 240 17 84 01




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


Current Thread