xsl-list
[Top] [All Lists]

Re: [xsl] Will every XSLT processor reduce upper-case('ß') to SS ?

2013-01-05 08:47:11
On 05/01/2013, Wolfgang Laun <wolfgang(_dot_)laun(_at_)gmail(_dot_)com> wrote:
It is downright ugly to see a
single 'ß' among all upper case lettering, therefore avoid it.

Which, according to Germany's legal requirements, may not be possible
in documents or similare, where the original lower case spelling must
be preserved even when proper names are written in all upper case.
(Note: Austrian passports are different. Switzerland has abolished 'ß'
in its version of German a long time ago.)

-W



-W



On 05/01/2013, David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk> wrote:
On 05/01/2013 10:08, Costello, Roger L. wrote:
Hi Folks,

Here is a common German surname:

       Strauß

I used SAXON to convert the surname to uppercase:

     upper-case('Strauß')                   returns STRAUSS

Notice that ß was converted to SS.


Assuming the processor is using Unicode later than 3.2 all processors
should use the same (unicode defined) tables. The Xpath upper-case
function does not depend on the locale or (directly) the processor, just
on the version of Unicode supported.

the definition of upper-case notes:

 > These functions may not always be linguistically appropriate ....

see

http://www.w3.org/TR/xpath-functions/#func-upper-case

David

--
google plus: https:/profiles.google.com/d.p.carlisle

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--