Re: [xsl] Coding aroung a "Cannot convert zero-length string to an integer" erro

Subject: Re: [xsl] Coding aroung a "Cannot convert zero-length string to an integer" erro
From: "Colin Adams" <colinpauladams@xxxxxxxxxxx>
Date: Wed, 15 Aug 2007 10:08:03 +0100
> > Apart from not needing to do it,  Mike Kay has suggested that
> > string-length is relatively expensive because of the need to
> > sort out surrogate pairs before counting characters.

Well, that is the case for Saxon, but there is no requirement to implement strings using UTF-16. XSLT processors that don't use UTF-16 as their internal encoding won't suffer from this expense.


_________________________________________________________________
Got a favourite clothes shop, bar or restaurant? Share your local knowledge http://www.backofmyhand.com


Current Thread