This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Catalog entries for DocBook 4.0 XML


I am struggling with DocBook 4.0 XML, trying to work out how to
get the catalog into shape.

First, I note that there is no catalog file supplied when downloading
the docbook 4.0 XML package. This is making life hard for me, as I'm
new to all of this.

I managed to get nsgmls to parse an xml document OK, by setting
SGML_CATALOG_FILES to /usr/doc/jade-1.2.1/pubtext/xml.soc.

But I am totally unable to get jade to do it's stuff. I find I need to
keep xml.soc in SGML_CATALOG_FILES, otherwise I get the same errors
that nsgmls gives me, if I omit it. But I can't get the rest of the
catalog path right. No matter what I put in the SGML_CATALOG_FILES
path, I keep getting errors such as:

jade:/usr/lib/sgml/style-sheet.dtd:6:2:E: unknown declaration type "element"
jade:/usr/lib/sgml/style-sheet.dtd:8:2:E: unknown declaration type "element"
jade:/usr/lib/sgml/style-sheet.dtd:9:2:E: unknown declaration type "attlist"
jade:/usr/lib/sgml/style-sheet.dtd:13:2:E: unknown declaration type "element"
jade:/usr/lib/sgml/style-sheet.dtd:14:2:E: unknown declaration type "attlist"
jade:/usr/lib/sgml/style-sheet.dtd:17:2:E: unknown declaration type "element"
jade:/usr/lib/sgml/style-sheet.dtd:18:2:E: unknown declaration type "attlist"
jade:/usr/lib/sgml/style-sheet.dtd:41:2:E: entity end not allowed in processing instruction
jade:/usr/lib/sgml/stylesheets/nwalsh-modular/html/../common/dbl1ca.dsl:6:0:E: DTD did not contain element declaration for document type name
jade:/usr/lib/sgml/stylesheets/nwalsh-modular/html/../common/dbl1ca.dsl:8:12:E: element "style-sheet" undefined
jade:/usr/lib/sgml/stylesheets/nwalsh-modular/html/../common/dbl1ca.dsl:9:24:E:
there is no attribute "id"

The command I was trying to run was:

jade -t xml -ihtml -d/usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl VEdi2.xml 

Any clues?
-- 
Colin Paul Adams
Preston Lancashire

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]