This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
RE: Re: DOCBOOK: Validation Error with article XMLDocumentin Chinese
- From: David Cramer <dcramer at broadjump dot com>
- To: Jirka Kosek <jirka at kosek dot cz>, Sidney Lu <lu at sinica dot edu dot tw>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Mon, 01 Apr 2002 12:01:10 -0600
- Subject: RE: DOCBOOK-APPS: Re: DOCBOOK: Validation Error with article XMLDocumentin Chinese
Hi there,
I get the same error when I try to validate a document with unicode in
it:
nsgmls -wxml -s C:/programs/jade/xml.dcl wrapper.xml
nsgmls:C:/programs/jade/xml.dcl:1:W: SGML declaration was not implied
nsgmls:ko/glossary.xml:3:10:E: non SGML character number 154
nsgmls:ko/glossary.xml:3:13:E: non SGML character number 150
nsgmls:ko/glossary.xml:9:15:E: non SGML character number 149
<...>
nsgmls:I: maximum number of errors (200) reached; change with -E option
SGML validation exited abnormally with code 1 at Mon Apr 01 11:20:53
At the top of wrapper.xml and ko/glossary.xml I have <?xml version="1.0"
encoding="utf-8"?>.
Is there anything else I should check or something I can do to
troubleshoot my setup?
Thanks,
David
> -----Original Message-----
> From: Jirka Kosek [mailto:jirka@kosek.cz]
> Sent: Tuesday, November 06, 2001 9:12 AM
> To: Sidney Lu
> Cc: docbook-apps@lists.oasis-open.org
> Subject: DOCBOOK-APPS: Re: DOCBOOK: Validation Error with
> article XML Documentin 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
> > ...
> >
> > slides.xml
> > ========
> > <?xml version="1.0" encoding="big5"?>
> > ...
> >
> > EditArticleWithEmacs.xml
> > =========
> >
> > <?xml version="1.0" encoding="utf-8"?>
>
> Are you sure that your document is in utf-8 encoding? Your first
> document was in big5 encoding.>