cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ulrich Mayring <u...@denic.de>
Subject Re: external entities
Date Thu, 18 May 2000 11:36:24 GMT
Mike Engelhart wrote:
> 
> because this is what I have in my PropertyResourceBundle:
> ADDITIONAL_DETAILS=Zusätzliche Details
> and this is what is displayed by my XSL sheet when I call getString() using
> Xalan extension (where $bundle is the correct bundle) <xsl:value-of
> select="java:getString($bundle, 'ADDITIONAL_DETAILS')"/>
> 
> Zus?tzliche Details
> 
> The question mark in the first word is actually what is output to the
> browser, not the special character for &auml;
> What must be stressed is that the ResourceBundle is not being read in by
> the
> XSP, it's being read in by a Xalan Extension in the XSL transformation.
> This has something to do with why it's not working but I can't figure it
> out.  Does anyone have any understanding of how Xalan processing works
> under
> the hood.  I would have thought that my getString() calls would be before
> the final transformation happened...

The error happens in your Java code, not in cocoon, which already gets a
'?' from Java. Look in the docs for ResourceBundle, there are
locale-aware methods for getting a ResourceBundle.

Ulrich

-- 
Ulrich Mayring
DENIC eG, Systementwicklung

Mime
View raw message