On Sun, 2005-08-21 at 09:59 -0400, Paul W. Frields wrote:
OK, gang, I'm kind of tired of the fact that my validation within
Emacs
has *never* worked correctly, so it makes doc writing/editing just a bit
less enjoyable. When I do validation (C-c C-v), the validate command
comes up as follows:
nsgmls -wxml -s name-of-doc-en.xml
When I run it, I get a *huge* number of errors such as this:
= = = = =
-*- mode: compilation; default-directory: "~/fedora/docs/jargon-buster/"
-*-
nsgmls -wxml -s jargon-buster-en.xml
nsgmls:<URL>http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd:...: named
character reference
nsgmls:<URL>http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd:...:
"X20AC" is not a function name
nsgmls:<URL>http://www.oasis-open.org/docbook/xml/4.2/ent/iso-amsa....:
named character reference
= = = = =
I can't believe this is what I should be seeing, since it happens even
with documents that are perfectly fine as far as xmlto is concerned
(i.e., "make" works fine). What am I missing that would make this a
more joyful experience?
OK, answering my own question after some playing around. In Emacs,
change the setting "Sgml Xml Declaration" to "xml.dcl" instead of
"NONE," and everything works automagically. Why isn't this set by
default by psgml or something else? Can anyone suggest where I should
file this bug?
--
Paul W. Frields, RHCE
http://paul.frields.org/
gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233 5906 ACDB C937 BD11 3717
Fedora Documentation Project:
http://fedora.redhat.com/projects/docs/