Re: (dsssl) Flurry of errors in onsgmls--can't read xml.dcl?

Subject: Re: (dsssl) Flurry of errors in onsgmls--can't read xml.dcl?
From: ed nixon <ed.nixon@xxxxxxxxxxxxxxxxx>
Date: Tue, 25 Feb 2003 08:06:53 -0500
To me, it looks like openjade still thinks you are trying to process SGML rather than XML. Have you tried putting the xml.dcl reference on the command line? I've never had much success with burying it among the catalog references or in the environment variables. In the Win32 batch file that I use, full path statement to the dcl file appears, space delimited from other command line parameters, just before the input file part.

...edN

maurice chadwick york wrote:
Cite exactly what the first few errors are (possibly using the -E4
switch).  I would guess it's not able to find xml.dcl.



onsgmls generates the following errors:

maurice% onsgmls -wxml -E4 sermon.xml
onsgmls:sermon.dtd:1:46:E: omitted tag minimization parameter can be
omitted only if "OMITTAG NO" is specified on the SGML declaration
onsgmls:sermon.dtd:2:35:E: omitted tag minimization parameter can be
omitted only if "OMITTAG NO" is specified on the SGML declaration
onsgmls:sermon.dtd:3:26:E: omitted tag minimization parameter can be
omitted only if "OMITTAG NO" is specified on the SGML declaration
onsgmls:sermon.dtd:4:28:E: omitted tag minimization parameter can be
omitted only if "OMITTAG NO" is specified on the SGML declaration

The error seems to specify the end of every line in the DTD that has an
element on it. For example, line one of the DTD is

<!ELEMENT sermon (source, title, author, text)>

I am using very simple DTDs for testing purposes, so there are no empty
elements--just straightforward ELEMENT and ATTLIST declarations. I have
the following environment parameters set in my .cshrc to try to get it to
find xml.dcl:

setenv SP_CHARSET_FIXED=YES
setenv SP_ENCODING=xml
setenv SGML_CATALOG_FILES=/sw/share/sgml/openjade-1.3.1/pubtext/xml.soc
setenv export SP_CHARSET_FIXED
setenv export SP_ENCODING
setenv export SGML_CATALOG_FILES

-Maurice


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






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


Current Thread