W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2000

Re: Problems with JTIDY

From: Sami Lempinen <lempinen@iki.fi>
Date: Mon, 30 Oct 2000 16:32:02 +0200
To: "Juan J. Merelo" <jj.merelo@civista.com>
Cc: html-tidy@w3.org
Message-ID: <20001030163202.E689@koti1-user114.adsl.tpo.fi>

On Mon, Oct 30, 2000 at 01:49:48PM -1200, Juan J. Merelo wrote:
> $ java -cp ".;../jtidy-04aug2000r2/build/Tidy.jar" Test16
> http://localhost:8080
>  index.html err.dat
> java.lang.Error: java.util.MissingResourceException: Can't find bundle for
> base
> name org/w3c/tidy/TidyMessages, locale es_ES
>         at org.w3c.tidy.Report.<clinit>(Report.java:137)
>         at org.w3c.tidy.Tidy.parse(Tidy.java:1111)
>         at Test16.run(Test16.java:48)
>         at java.lang.Thread.run(Unknown Source)
> the r3 seems to be broken, at least at Sourceforge. Any idea?

OK, this seems due to the fact that your locale is set to es_ES, and a
matching message file can not be found.

As a quick fix, you can try copying
src/org/w3c/tidy/TidyMessages.properties to
TidyMessages_es_ES.properties somewhere in your CLASSPATH.

I need to work out how to make it easy to handle locale-specific
message files with JTidy. Any ideas, anyone?


lempinen@iki.fi http://www.iki.fi/lempinen/

                             apt-get a life
Received on Monday, 30 October 2000 09:32:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:48 UTC