Where should PSGML find standard DTDs?

Pete Forman pete.forman at westerngeco.com
Mon Jan 14 10:27:27 EST 2008


"Jerry James" <james at xemacs.org> writes:

 > If the psgml-dtds package contains a set of DTDs that make you
 > happy, then using it for now is okay.  However, in the long run you
 > will want to set up your own area.

I've looked around and have not found a better set of DTDs for text
documents.  psgml-dtds covers HTML to 4.01, XHTML to 1.0, DocBook 3.1.
My own area has newer DTDs such as XHTML 1.1 and SVG 1.0 and 1.1.
Then there are DTDs that are used within my company only.

 > On some platforms, DTDs may be available already.  For example, on
 > my Fedora machines, I add all the catalogs in subdirectories of
 > /usr/share/sgml to sgml-local-catalogs, which does the right thing.

This does not seem to be the case for Windows / Cygwin.  The closest
that I managed was to install docbook packages which did the DTDs plus
an XML Catalog rooted at /etc/xml/catalog.  sgml-common does not seem
to be packaged for Cygwin; if it were (not too difficult I guess) then
it could be used to manage an Open Catalog rooted at
/etc/sgml/catalog.

My current setup is to use xemacs-packages and site-packages to keep
my various DTDs in.  Then I point xmllint at them using an XML catalog
that I edit manually (using PSGML :-).

ISTM that there is an opportunity for a catalog manager application
for local copies of DTDs, etc.  It might provide an Open Catalog for
PSGML and OpenSP, and an XML Catalog for libxml2, etc.  Maybe even
conversions to RNG, XSD, etc.  Does such a beast exist?  I'm going to
try out xmlcatmgr + Trang.


The bottom line for me is that psgml-dtds is still useful and I have
installed it in xemacs-packages.
-- 
Pete Forman                -./\.-  Disclaimer: This post is originated
WesternGeco                  -./\.-   by myself and does not represent
pete.forman at westerngeco.com    -./\.-   the opinion of Schlumberger or
http://petef.port5.com           -./\.-   WesternGeco.



More information about the XEmacs-Beta mailing list