From owner-freebsd-questions@FreeBSD.ORG Wed Apr 27 11:27:50 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4D7616A4CE for ; Wed, 27 Apr 2005 11:27:50 +0000 (GMT) Received: from mail.performancedesign.no (dsl-static-124-226.oeke.tiscali.no [213.234.124.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 555F543D62 for ; Wed, 27 Apr 2005 11:27:49 +0000 (GMT) (envelope-from idart@performancedesign.no) Received: from [127.0.0.1] (localhost.performancedesign.no [127.0.0.1]) by mail.performancedesign.no (Postfix) with ESMTP id 8C2E420ACB for ; Wed, 27 Apr 2005 13:27:47 +0200 (CEST) Message-ID: <426F7735.9000602@performancedesign.no> Date: Wed, 27 Apr 2005 13:27:49 +0200 From: Idar Tollefsen Organization: Performance Design User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Including xhtml11.cat in SGML_CATALOG_FILES confuses OpenJade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2005 11:27:50 -0000 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