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]
Other format: [Raw text]

Re: Re: DOCBOOK: Validation Error with article XMLDocumentin Chinese


David Cramer wrote:

> 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?

You must set environment variable SP_ENCODING to value "XML" or "UTF-8".
In the first case, nsgmls will use encoding specified in XML
declaration, in the second UTF-8 will be assumed.

				Jirka

-- 
-----------------------------------------------------------------
  Jirka Kosek  	                     
  e-mail: jirka@kosek.cz
  http://www.kosek.cz


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