[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: RE: DOCBOOK: Trouble validating with nsgmls
I just figured this out: if I put the "OVERRIDE YES" option at the top of the catalog file (as it is in my catalog file for xhtml) everything works fine. If anyone could explain _why_ this works, I'd appreciate it. Thanks --Phil > -----Original Message----- > From: Phil Glaser [mailto:StillSmallVoice@DirectvInternet.com] > Sent: Sunday, July 14, 2002 11:50 AM > To: docbook@lists.oasis-open.org > Subject: DOCBOOK: Trouble validating with nsgmls > > > Hi, > > I am using emacs, in Windows, with psgml, and nsgmls for external > validation. I have added xml.dcl and the catalog files for both > docbook and > xhtml to the SGML_CATALOG_FILES environment variable. Psgml can > see the DTDs > for both docbook and xhtml and nsgmls validates xhtml docs with > no problem. > But when I try to validate docbook with nsgmls, I get the error message > "cannot open "docbookx.dtd" (No such file or directory)." The docbook > catalog file is the one that's included with the docbook.dtd, except I > changed the extension from .cat to .soc for consistency with the xhtml > catalog file. > > Any suggestions? Thanks! > > Here are some relevant values: > > ****Value of SGML_CATALOG_FILES**** > > c:\sp\pubtext\xml.soc;D:\Data\DTDs\xhtml1\xhtml.soc;D:\Data\DTDs\d > ocbook\doc > book.soc > > ****The DOCTYPE delcaration in the doc I'm editing**** > <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" > "docbookx.dtd" > []> > > ****The catalog file from D:\Data\DTDs\docbook\docbook.soc**** > -- > ...................................................................... -- > -- DocBook driver file > .................................................. -- > > PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "docbookx.dtd" > > -- > ...................................................................... -- > -- DocBook modules > ...................................................... -- > > PUBLIC "-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" > "calstblx.dtd" > PUBLIC "-//OASIS//DTD XML Exchange Table Model 19990315//EN" > "soextblx.dtd" > PUBLIC "-//OASIS//ELEMENTS DocBook XML Information Pool V4.1.2//EN" > "dbpoolx.mod" > PUBLIC "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.1.2//EN" > "dbhierx.mod" > PUBLIC "-//OASIS//ENTITIES DocBook XML Additional General Entities > V4.1.2//EN" "dbgenent.mod" > PUBLIC "-//OASIS//ENTITIES DocBook XML Notations V4.1.2//EN" "dbnotnx.mod" > PUBLIC "-//OASIS//ENTITIES DocBook XML Character Entities V4.1.2//EN" > "dbcentx.mod" > > -- > ...................................................................... -- > -- ISO entity sets > ...................................................... -- > > PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" "ent/iso-dia.ent" > PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" > "ent/iso-num.ent" > PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" "ent/iso-pub.ent" > PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" "ent/iso-tech.ent" > PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" "ent/iso-lat1.ent" > PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" "ent/iso-lat2.ent" > PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" "ent/iso-grk1.ent" > PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" "ent/iso-grk2.ent" > PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" "ent/iso-grk3.ent" > PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" > "ent/iso-grk4.ent" > PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" > "ent/iso-amsa.ent" > PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" > "ent/iso-amsb.ent" > PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" > "ent/iso-amsc.ent" > PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" > "ent/iso-amsn.ent" > PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" > "ent/iso-amso.ent" > PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" > "ent/iso-amsr.ent" > PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" > "ent/iso-box.ent" > PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" "ent/iso-cyr1.ent" > PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" > "ent/iso-cyr2.ent" > > -- End of catalog data for DocBook XML V4.1.2 > ............................. -- > -- > ...................................................................... -- > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC