Re: [docbook-apps] Re: Emacs, nsgml and DocBook

From
Dhristophe Haubert
Date
2004-07-07T06:53:40+00:00
ID
Thread
Re: [docbook-apps] Re: Emacs, nsgml and DocBook
Karl Eichwalder a 嶰rit :
> Christophe Gaubert <> writes:
> 
> 
>>I'm a neewbie with XML and DocBook. I'm using Emacs with the
>>psgml-mode. When I want to validate a simple file, I have errors like
>>this :
>>nsgmls -s  truc.xml
>>nsgmls:<URL>http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd:74:17:E:
>>"X20AC" is not a function name
> 
> 
> Search for the SGML declaration that declares the XML syntax (xml.dcl
> or xml.decl) and then try a command as follows:
> 
>     nsgmls -wxml -s /usr/share/sgml/openjade/xml.dcl truc.xml
> 
> If this works set sgml-xml-declaration in .emacs accordingly (assuming
> your psgml package is recent enough):
> 
> (setq sgml-xml-declaration "/usr/share/sgml/openjade/xml.dcl")
> 

Thank you ! It seems to work now.
I have several xml.dcl. Is there a difference between them ?
nsgmls give me a warning like this :
nsgmls:/usr/share/sgml/xml.dcl:1:W: SGML declaration was not implied
Is this a problem ?

Christophe