Re: Emacs validation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/

Attachment: signature.asc
Description: This is a digitally signed message part

-- 

fedora-docs-list@xxxxxxxxxx
To unsubscribe: 
http://www.redhat.com/mailman/listinfo/fedora-docs-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Red Hat 9]     [Yosemite News]     [KDE Users]

  Powered by Linux