Re: Problems with JTIDY

Greetings,

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?

-Sami

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

                             apt-get a life

Received on Monday, 30 October 2000 09:32:12 UTC