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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Jirka Kosek <jirka@kosek.cz> 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

To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org.


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