W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2001

Re: JTidy localization problem

From: Gary L Peskin <garyp@firstech.com>
Date: Tue, 10 Jul 2001 02:20:37 -0700
Message-ID: <3B4AC8E5.19DC04F9@firstech.com>
To: Russell Gold <russgold@acm.org>
CC: tidy-develop@lists.sourceforge.net, html-tidy@w3.org
Yes. This should work.  I've seen this problem on some 1.1.x JVMs,
notably the ones with OS/400.  They seem to have trouble loading
resources from .jar files.

Try to extract the TidyMessages.properties file and place it in a
directory on the CLASSPATH and see if this solves the problem.  If so,
it's time to upgrade the JVM.

HTH,
Gary

Russell Gold wrote:
> 
> I received a notice of a problem from someone in Canada who is using JTidy and get the following error:
> 
> >java.lang.Error: java.util.MissingResourceException: Can't find resource for
> >base name org/w3c/tidy/TidyMessages, locale en_CA
> 
> I had not realized that Tidy was localized, but even if it is, shouldn't the en_US locale have picked this up?
> --
> ------------------------------------------------------------------------
> Russell Gold                     | "... society is tradition and order
> russgold@acm.org                 | and reverence, not a series of cheap
>                                  | bargains between selfish interests."
> http://www.httpunit.org          |   - Poul Anderson, "Iron"
Received on Tuesday, 10 July 2001 05:20:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:46 GMT