This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 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




----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]