xsl-list
[Top] [All Lists]

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

2007-08-15 02:08:29

> > 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


--~------------------------------------------------------------------
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>
--~--