DocBook: db2x.sh and XML Documents

Support knowledgebase (ke_docbktls-xml-73)
Applies to

SuSE Linux: Version 7.3

Symptom

You cannot edit XML documents based on DocBook 4 with the script db2x.sh of the package "docbktls" (db2html, db2dvi etc.). The following error message is displayed:

nsgmls:E: cannot open "/usr/share/sgml/jade_dsl/xml.dcl" (No such file or directory)
nsgmls:/usr/share/sgml/db41xml/docbookx.dtd:74:17:E: "X20AC" is not a function name
nsgmls:/usr/share/sgml/db41xml/ent/iso-amsa.ent:8:19:E: "X21B6" is not a function name
...

Cause

The XML declaration cannot be found.

Solution

There are two ways to solve this problem:

  1. Create as "root" a symbolic link, thus allowing to find xml.dcl:

    cd /usr/share/sgml/jade_dsl
    ln -s xml.decl xml.dcl
    
  2. Install the update package with YOU (YaST-Online-Update) or rpm, after downloading it from SuSE's ftp server:

    ftp://ftp.suse.com/pub/suse/i386/update/7.3/sgm1/docbktls.rpm

Thanks to Jörg Menke for reporting this error.


See also:
o Known problems and special features in SuSE Linux 7.3

Keywords: DOCBOOK, XML, SGML, 73, DB2X, DOCBKTLS, DOCBOOK-TOYS

Feedback welcome: Send Mail to ke@suse.de (Please give the following subject: SDB-ke_docbktls-xml-73)
SDB-ke_docbktls-xml-73, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 28. Nov 2001
SuSE Linux AG - Last generated: 04. Jun 2002 by glazzar (sdb_gen 1.40.0)