#461 number() applied to anyURI

v8.6.1
closed
Michael Kay
5
2012-10-08
2006-01-15
Michael Kay
No

number(xs:anyURI(1)) returns 1 when it should return NaN

Similarly, number(xs:gYear('2005')) returns 2005 when
it should return NaN.

Source code fixed, test cases added.

Discussion