From: "Elliotte Rusty Harold" <[EMAIL PROTECTED]> > At 3:26 PM +0100 4/20/02, James Strachan wrote: > >Another extension of this idea could be to also support the common locales > >that are defined as static constants in the Locale class via their name and > >to use reflection to find them. Then we could do things like... > > > >upper-case( /foo/bar, 'FRENCH' ) > >lower-case( /foo/bar, 'CHINA' ) > > > > I think it would make more sense to use legal xml:lang values like > fr, fr-CA, and en-US-Brooklyn; then convert them to the appropriate > Locale object inside the extension function, This way you're not > limited to just the ones that have defined named constants and it's > overall more in keeping with global de jure standards.
I think thats alot better than my other idea! Will implement that instead. One minor issue - should we use '-' as the seperator? Or '_'? James _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________ Jaxen-interest mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jaxen-interest