Re: Empty XML elements and Jade/NSGMLS

Subject: Re: Empty XML elements and Jade/NSGMLS
From: Tony Graham <tgraham@xxxxxxxxxxxxxxxx>
Date: Mon, 23 Nov 1998 17:24:48 -0500 (EST)
At 13 Nov 1998 16:37 -0500, STE MARIE,  PAUL wrote:
 > Is there any good mechanism to get Jade and other SP-based tools to
 > recognize the XML <tag/> syntax for empty tags? I set up the environment
 > variable as specified in the docs:
 > SGML_CATALOG_FILES=d:\jade\test\pubtest\xml.soc
 > and passed the -wxml parameters, but I still get a "character data is not
 > allowed here" whenever it sees a <tag/>. <tag></tag> doesn't work either,
 > unless I change the DTD to allow non-empty elements.

It looks like what you have should work, and I know that Jade does
work with XML-style empty tags.

Try using -cxml.soc on the Jade command line to specify the xml.soc
catalog file in the Jade distribution (although you will need to
adjust the path to xml.soc).  This catalog file references xml.dcl as
the SGML Declaration of choice, and xml.dcl contains the correct
incantation ('NESTC "/"') to enable recognition of XML-style empty


Tony Graham
Tony Graham                            mailto:tgraham@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.      
17 West Jefferson Street                    Direct Phone: 301/315-9632
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
  Mulberry Technologies: A Consultancy Specializing in SGML and XML

 DSSSList info and archive:

Current Thread