Emacs validation

Paul W. Frields stickster at gmail.com
Sun Aug 21 15:32:33 UTC 2005


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:112:15:W: named character reference
> nsgmls:<URL>http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd:112:17:E: "X20AC" is not a function name
> nsgmls:<URL>http://www.oasis-open.org/docbook/xml/4.2/ent/iso-amsa.ent:8:17:W: 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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/docs/attachments/20050821/d225ae7c/attachment.bin 


More information about the docs mailing list