OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

relax-ng message

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


Subject: Re: [relax-ng] rngnx and UTF8


The encodings supported depend on your Java VM.  I'm guessing you're using 
rngnx.exe which uses the Microsoft Java VM, which is very old and supports 
UTF8 but not UTF-8.  If you use rngnx.jar with a modern Java VM (1.3.1 or 
1.4), it will support UTF8 just fine.

If you want to use rngnx.jar, but still be able to type simply rngnx 
file.dtd on the command line, then (on Windows 2000 at least) you can do 
the following:

assoc .jar=jarfile
ftype jarfile=c:\jdk1.3.1\bin\java.exe -jar %1 %*
set PATHEXT=.jar;%PATHEXT%

Also add the directory containing rngnx.jar to your path.

--On 19 March 2002 15:23 -0800 Michael Fitzgerald <mike@wyeast.net> wrote:

> I noticed that rngnx accepts UTF8 as a second argument but not UTF-8 and
> thus writes:
>
> <?xml version="1.0" encoding="UTF8"?>
>
> I know Java uses 'UTF8' (such as in OutputStreamWriter) but XML processors
> don't like it very much.
>
> Mike
>
>
> ----------------------------------------------------------------
> To subscribe or unsubscribe from this elist use the subscription
> manager: <http://lists.oasis-open.org/ob/adm.pl>
>
>




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


Powered by eList eXpress LLC