This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Hello! Tests CastableAs019, CastableAs017, CastableAs099, and CastableAs101 try the following expressions: “xs:untypedAtomic("-0.0E0") castable as xs:decimal” “xs:untypedAtomic("1e-5") castable as xs:decimal” “xs:string("-0.0E0") castable as xs:decimal” “xs:string("1e-5") castable as xs:decimal” and expect the result to be “false”. I've read the cited specs several times tonight and I can't think of any reason why the result wouldn't be “true” (with the resulting decimals being 0.0E0 and 1.0E-5). Am I missing something, or are these bugs?
Exponential notation is not allowed for xs:decimal. See http://www.w3.org/TR/xmlschema-2/#decimal
I can't imagine how I could have missed that. Sorry for the noise.