Illegal markup declaration
2002-09-04 10:27:33 GMT
Hi everyone, I'm using PSGML on XEmacs (cygwin) 21.4 (patch 9) "Informed Management" on NT 4 SP6. The version of PSGML installed has me confused, the installer for XEmacs calls it version 1.31, but doing a 'describe-variable psgml-version' from within XEmacs after its loaded says 1.2.2 Anyway. I'm not sure how / why but my install of PSGML is refusing to work well with any sort of markup document. Right now, at this second, I'm trying to work with an HTML document, defined like this on the first line of the file : <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> I've also been trying to work with DocBook SGML and XML files, defined as (excuse the line breaks) : <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V4.1//EN" > and <!DOCTYPE article PUBLIC "-//OASIS/DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> respectively. In *all* cases, when I try to parse the DTD so that I can use the features of PSGML for inserting elements etc. I got one of the two following error messages (although the content of the file changes what it's complaining about) : Uppercase keyword expected (found DOCTYPE article PUBLIC "-//OASIS/DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">(Continue reading)
As of today I'm starting to validate docbook stuff using
Daniel Vaillard's catalog aware parser.
Needs one environmental variable (win32) or catalog in the right
position (Linux).
I now use emacs for editing, then check with xmllint from libxml.
Its fast, and failed only two of the oasis conformance tests.
Good enough for me at least.
I do wish someone would produce an editor to better emacs+psgml...
but they haven't yet
RSS Feed