[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] Coding aroung a "Cannot convert zero-length string to an integer" error
Subject: RE: [xsl] Coding aroung a "Cannot convert zero-length string to an integer" error From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Wed, 15 Aug 2007 00:58:13 +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. True, but in Saxon, [string-length(x) = 0] doesn't count the characters, it simply checks whether the string is empty or not. Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Coding aroung a "Cannot c, Andrew Welch | Thread | Re: [xsl] Coding aroung a "Cannot c, Andrew Welch |
RE: Re: [xsl] Coding aroung a "Cann, Michael Kay | Date | Re: [xsl] Coding aroung a "Cannot c, Andrew Welch |
Month |