[Bug 21332] [XP30] Literal out of range: static or dynamic error?

https://www.w3.org/Bugs/Public/show_bug.cgi?id=21332

--- Comment #2 from Tim Mills <tim@cbcl.co.uk> ---
The expected result was also based on the definition of MamedFunctionRef

[164]       NamedFunctionRef       ::=       EQName "#" IntegerLiteral
[196]       EQName       ::=       QName | URIQualifiedName

[126]       NumericLiteral       ::=       IntegerLiteral | DecimalLiteral |
DoubleLiteral
[197]       IntegerLiteral       ::=       Digits

and the text describing construction of numeric literals.

"The value of a numeric literal containing no "." and no e or E character is an
atomic value of type xs:integer. The value of a numeric literal containing "."
but no e or E character is an atomic value of type xs:decimal. The value of a
numeric literal containing an e or E character is an atomic value of type
xs:double. The value of the numeric literal is determined by casting it to the
appropriate type according to the rules for casting from xs:untypedAtomic to a
numeric type as specified in Section 18.2 Casting from xs:string and
xs:untypedAtomic FO30."

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Sunday, 24 March 2013 08:28:33 UTC