This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Results incorrect. string() applied to an empty sequence returns a zero-length string, so count(string(())) is 1, not 0.
Michael: Correct. Please be aware that my version of Saxon does return "0". Corrected results. Please close bug if in agreement. Thanks, Carmelo
In 0.9.4 the test is now written as: fn:count(fn:prefix-from-QName(xs:QName("name"))) With this formulation (it no longer uses the string() function) the correct result is zero.
Michael: Thanks. Looks as though we are all in the same page now. Carmelo