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


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


Powered by eList eXpress LLC