[ mx4j-Bugs-810503 ] XSLTProcessor sets empty locale

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.java.mx4j.devel
Message-ID <[email protected]>
Bugs item #810503, was opened at 2003-09-22 06:01
Message generated for change (Comment added) made by btscully
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=810503&group_id=47745

Category: HTTP Adaptor
Group: Release 1.1.1
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Christian Elsen (celsen)
>Assigned to: Brian Scully (btscully)
Summary: XSLTProcessor sets empty locale

Initial Comment:
Using the HttpAdapter to configure the XSLTProcessor
shows by default an empty field for the 'LocaleString'.
Now configuring any field different from
'LocaleString', e.g. 'UseCache' and klicking 'Set all'
then leads to the invocation of
XSLTProcessor::setLocaleString(""). As the empty String
is set as new locale string, following accesses on the
strings_en.xml fail, because the locale 'en' was
overwritten with the empty string.
I think the XSLTProcessor::setLocaleString("") should
check for empty strings as it's not reasonable to set
an empty locale.

----------------------------------------------------------------------

>Comment By: Brian Scully (btscully)
Date: 2003-10-30 18:48

Message:
Logged In: YES 
user_id=234750

Now does not set locale to an empty string - can use the set 
all button on the form.

----------------------------------------------------------------------

Comment By: Carlos Quiroz (tibu)
Date: 2003-09-22 06:12

Message:
Logged In: YES 
user_id=64333

Good catch. I didn't think about this detail. 
It will be fixed ASAP

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=810503&group_id=47745


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.