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]

PSGML 1.2.* and DTD compilation...


After many weeks of "meaning to get around to it", I'm finally looking
into getting things setup so that PSGML mode (1.2.1) will save compiled
DTDs. I don't know when this functionality stopped working on my system,
but I don't think that's relevant.

>From the info file, I gather that it doesn't work like it used to:

     Previous versions of PSGML have had another way of speeding up DTD
  parsing.  This code remains in this version of PSGML, but is not
  actively maintained and may disappear in the future.

Anyway, I'm disappointed to discover that this new way of compiling DTDs
doesn't seem to get along very well with modular DTDs.

It works fine, for example, for DocBook XML V4.1.2, but when
attempting to compile the Website DTD, psgml chokes on the compiled
version of DocBook XML V4.1.2 (which it apparently tries to load when
it encounters a reference to it in website.dtd). I'm reasonably confident
that this is related to the fact that I've redefined a whole bunch of
parameter entities.

Anyone else encountered this and constructed a workaround? It seems
like psgml should always read the uncompiled source form of DTDs when
compiling...

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | Blessed is he who expects nothing,
http://www.oasis-open.org/docbook/ | for he shall never be
Chair, DocBook Technical Committee | disappointed.--Pope

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