Re: [docbook-apps] Re: Caching the DocBook dtd when using PSGML

From
Taro Ikai <>
Date
2003-09-04T18:52:37+00:00
ID
Thread
Re: [docbook-apps] Re: Caching the DocBook dtd when using PSGML
Jirka Kosek <> wrote on 09/03/2003 03:30:55 PM:

> > Does anybody have precompiled DocBook DTD working with Emacs psgml 
mode?
> 
> Yes. What problem do you have with it? 

Thank you for your help. I got it to work. What confused me was:

>And then setup catalog for precompiled DTD /some/path/ecatalog:
>
>PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "docbookx.ced"

I am still baffled by the extension '.ced'. 

After I perused Norman's document on XML catalogs, I got it to work. 
In my case, the catalog is a complete XML document whose top-
level element is <catalog>. The entry for my cutomized DTD looks like:

    <public xml:base=""
         publicId="-//mycompany//DTD DocBook XML V4.2-Based Extension 
V1.0//EN"
         uri="file://c:/mypath/docbook/mycompany-docbookx.dtd" />

That was good. Now, I have run into a minor annoyance.
Everytime PSGML mode resolves a DTD reference with the catalog, 
it opens a new Emacs buffer and displays a message that looks like this:

  Public identifier -//mycompany//DTD DocBook XML V4.2-Based Extension 
V1.0//EN
  System identifier mycompany-docbook.dtd

How can I prevent this?

Taro