Including xhtml11.cat in SGML_CATALOG_FILES confuses OpenJade

Idar Tollefsen idart at performancedesign.no
Wed Apr 27 04:27:50 PDT 2005


Hello,

textproc/xhtml-11 adds /usr/local/share/xml/xhtml/1.1/xhtml11.cat to 
/usr/local/share/sgml/catalog.ports, which gets included in my 
SGML_CATALOG_FILES setting (/usr/local/etc/sgml/catalog -> 
/usr/local/share/sgml/catalog -> /usr/local/share/sgml/catalog.ports).

There's something about xhtml11.cat that makes some of the installed SGML tools 
very unhappy. For instance, when trying to use OpenJade on a DocBook 4.2 (SGML) 
document, I get the following:

openjade:/usr/local/share/sgml/openjade/style-sheet.dtd:11:2:E: unknown declarat
ion type "element"
openjade:/usr/local/share/sgml/openjade/style-sheet.dtd:13:2:E: unknown declarat
ion type "element"
openjade:/usr/local/share/sgml/openjade/style-sheet.dtd:14:2:E: unknown declarat
ion type "attlist"
openjade:/usr/local/share/sgml/openjade/style-sheet.dtd:18:2:E: unknown declarat
ion type "element"
....
openjade:/usr/local/share/sgml/docbook/dsssl/modular/print/docbook.dsl:49:0:E: D
TD did not contain element declaration for document type name
openjade:/usr/local/share/sgml/docbook/dsssl/modular/print/../common/dbl10n.ent:
318:0:E: notation "DSSSL" for entity "dbl1tr" undefined
openjade:/usr/local/share/sgml/docbook/dsssl/modular/print/../common/dbl10n.ent:
102:0:E: notation "DSSSL" for entity "dbl1el" undefined
openjade:/usr/local/share/sgml/docbook/dsssl/modular/print/../common/dbl10n.ent:
111:0:E: notation "DSSSL" for entity "dbl1en" undefined
....
openjade:/usr/local/share/sgml/docbook/dsssl/modular/print/docbook.dsl:157:59:E:
  element "external-specification" undefined
openjade:/usr/local/share/sgml/docbook/dsssl/modular/print/docbook.dsl:158:55:E:
  element "external-specification" undefined
openjade:/usr/local/share/sgml/docbook/dsssl/modular/print/docbook.dsl:160:49:E:
  element "external-specification" undefined

If I comment out or remove xhtml11.cat from catalog.ports, OpenJade works just 
fine without a single error.

I'm not intimately familiar with DTDs or stylesheets, so any help would be 
greatly appreciated.


- IT


More information about the freebsd-questions mailing list