OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK-APPS: Re: DOCBOOK: Validation Error with article XMLDocument in Chinese


> Sidney Lu wrote:
> 
> 
>>...
>>cd /home/lu/Documents/
>>nsgmls -s  EditArticleWithEmacs.xml
>>nsgmls:EditArticleWithEmacs.xml:5:13:E: non SGML character number 152
>>nsgmls:EditArticleWithEmacs.xml:5:16:E: non SGML character number 152
>>nsgmls:EditArticleWithEmacs.xml:5:24:E: non SGML character number 152
>>nsgmls:EditArticleWithEmacs.xml:5:27:E: non SGML character number 152
>>nsgmls:EditArticleWithEmacs.xml:5:33:E: non SGML character number 152
>>nsgmls:EditArticleWithEmacs.xml:5:36:E: non SGML character number 152
>>nsgmls:EditArticleWithEmacs.xml:8:17:E: non SGML character number 152



If this is xml, you need something like the following command line with 

the XML option and XML declaration.


nsgmls -wxml -s /usr/lib/sgml/declaration/xml.dcl EditArticleWithEmacs.xml

Note: the comment Jirka made about the encoding must be true as other 
errors could occur if you were not getting that character error.

Hope this helps,
Eric





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC