You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Achim Abeling <ac...@compuserve.de> on 2002/02/24 10:22:57 UTC

ClassCastException with XSLTErrorResources_de

Hi,

I am using jdk1.4.0b92 which includes xalan2.2.D11.
My locales language is de.

When I start xalan with
org.apache.xalan.xslt.Process
I get a 

Exception in thread "main" java.lang.ClassCastException:
org.apache.xalan.res.XSLTErrorResources_de
        at org.apache.xalan.xslt.Process.main(Process.java:209)

which results from the fact that XSLTErrorResources_de is a subclass of
org.apache.xml.utils.res.XResourceBundleBase but the object should be
casted to
XSLTErrorResources.

Is that a bug?

I fixed the problem by using XResourceBundleBase for the variable
resbundle in
org.apache.xalan.xslt.Process

cu
Achim
-- 
#
# Achim Abeling
# Kiel, Germany 
# e-mail: achimabeling@compuserve.de
#