[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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


Subject: Re: [xsl] Will every XSLT processor reduce upper-case('') to SS ?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Sat, 05 Jan 2013 12:41:23 +0000

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


Current Thread
Keywords