Re: [xsl] Is normalization is optional?

Subject: Re: [xsl] Is normalization is optional?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 17 Nov 2008 13:10:51 GMT
Xquery is off topic for this list but the question (could be) an xpath
one.

short answer to the question in the title is yes.

Longer answer is that eq, if used on strings, is defined to do a numeric
comparison of the number returned by compare() on the two strings. Since
since this is the two argument form of compare() it will use the default
collation in the static context, the "default default" is unicode
codepoint collation which does no normalisation but a system can supply
any default collation that it wants, so long as it documents what that
is.

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

Current Thread