This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Re: DOCBOOK: Validation Error with article XMLDocument in Chinese
- To: Sidney Lu <lu at sinica dot edu dot tw>
- Subject: Re: DOCBOOK-APPS: Re: DOCBOOK: Validation Error with article XMLDocument in Chinese
- From: Eric Richardson <eric dot richardson at milagrosoft dot com>
- Date: Tue, 06 Nov 2001 14:26:47 -0700
- Cc: "docbook-apps at lists dot oasis-open dot org" <docbook-apps at lists dot oasis-open dot org>
- List-Id: <docbook-apps.lists.oasis-open.org>
- Organization: MilagroSoft Inc.
- References: <3BE7AC0E.5050803@sinica.edu.tw> <3BE7FDC9.659FE8A1@kosek.cz>
> 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>