Change id: xs-numeric-type
Implementations | ||||||
Tests | BaseX 8.5 beta XQ31 (QT3 vCVS) |
Saxon-EE 9.7.0.11 XP31 (QT3 v0.6) |
Saxon-EE 9.7.0.11 XQ31 (QT3 v0.6) |
XmlPrime 4.0.0.16079 XP31 (QT3 vCVS) |
XmlPrime 4.0.0.26293 XQ31 (QT3 vCVS) |
XmlPrime 4.0.0.27704 XQX31 (QT3 vCVS) |
---|---|---|---|---|---|---|
xs-numeric-001[+]
X xs-numeric-001: Created on: 2014-10-21 Spec Dependencies: spec = XP31+ XQ31+ Test: 3.14e0 instance of xs:numeric |
pass | pass | pass | pass | pass | pass |
xs-numeric-002[+]
X xs-numeric-002: Created on: 2014-10-21 Spec Dependencies: spec = XP31+ XQ31+ Test: 3.14 instance of xs:numeric |
pass | pass | pass | pass | pass | pass |
xs-numeric-003[+]
X xs-numeric-003: Created on: 2014-10-21 Spec Dependencies: spec = XP31+ XQ31+ Test: 3 instance of xs:numeric |
pass | pass | pass | pass | pass | pass |
xs-numeric-004[+]
X xs-numeric-004: Created on: 2014-10-21 Spec Dependencies: spec = XP31+ XQ31+ Test: xs:float('93.7') instance of xs:numeric |
pass | pass | pass | pass | pass | pass |
xs-numeric-005[+]
X xs-numeric-005: Created on: 2014-10-21 Spec Dependencies: spec = XP31+ XQ31+ Test: xs:nonNegativeInteger('93') instance of xs:numeric |
pass | pass | pass | pass | pass | pass |
xs-numeric-006[+]
X xs-numeric-006: Created on: 2014-10-21 Spec Dependencies: spec = XP31+ XQ31+ Test: let $x := if (current-date() lt xs:date('2500-01-01')) then -3 else 'minus three' return abs($x treat as xs:numeric) |
pass | pass | pass | pass | pass | pass |
xs-numeric-007[+]
X xs-numeric-007: Created on: 2014-10-21 Spec Dependencies: spec = XP31+ XQ31+ Test: xs:numeric('12') instance of xs:double |
pass | pass | pass | pass | pass | pass |
xs-numeric-008[+]
X xs-numeric-008: Created on: 2014-10-21 Spec Dependencies: spec = XP31+ XQ31+ Test: xs:numeric('12.5') instance of xs:double |
pass | pass | pass | pass | pass | pass |
xs-numeric-009[+]
X xs-numeric-009: Created on: 2014-10-21 Spec Dependencies: spec = XP31+ XQ31+ Test: xs:numeric('12.5e2') instance of xs:double |
pass | pass | pass | pass | pass | pass |
xs-numeric-010[+]
X xs-numeric-010: Created on: 2014-10-21 Spec Dependencies: spec = XP31+ XQ31+ Test: xs:numeric('12.5f2') instance of xs:double |
pass | pass | pass | pass | pass | pass |
xs-numeric-011[+]
X xs-numeric-011: Created on: 2014-10-21 Spec Dependencies: spec = XP31+ XQ31+ Test: '12.5' castable as xs:numeric |
pass | pass | pass | pass | pass | pass |
xs-numeric-012[+]
X xs-numeric-012: Created on: 2014-10-21 Spec Dependencies: spec = XP31+ XQ31+ Test: '12.5.7' castable as xs:numeric |
pass | pass | pass | pass | pass | pass |
xs-numeric-013[+]
X xs-numeric-013: Created on: 2014-10-21 Spec Dependencies: spec = XP31+ XQ31+ Test: 17 cast as xs:numeric |
pass | pass | pass | pass | pass | pass |
xs-numeric-014[+]
X xs-numeric-014: Created on: 2014-10-21 Spec Dependencies: spec = XP31+ XQ31+ Test: 17.2 cast as xs:numeric |
pass | pass | pass | pass | pass | pass |
xs-numeric-015[+]
X xs-numeric-015: Created on: 2014-10-21 Spec Dependencies: spec = XP31+ XQ31+ Test: 1e3 cast as xs:numeric |
pass | pass | pass | pass | pass | pass |
xs-numeric-016[+]
X xs-numeric-016: Created on: 2014-10-21 Spec Dependencies: spec = XP31+ XQ31+ Test: xs:float(1e3) cast as xs:numeric |
pass | pass | pass | pass | pass | pass |
xs-numeric-017[+]
X xs-numeric-017: Created on: 2014-10-21 Spec Dependencies: spec = XP31+ XQ31+ Test: xs:short(256) cast as xs:numeric |
pass | pass | pass | pass | pass | pass |
xs-numeric-018[+]
X xs-numeric-018: Created on: 2014-10-21 Spec Dependencies: spec = XP31+ XQ31+ Test: true() cast as xs:numeric |
pass | pass | pass | pass | pass | pass |
xs-numeric-019[+]
X xs-numeric-019: Created on: 2014-10-21 Spec Dependencies: feature = higherOrderFunctions spec = XP31+ XQ31+ Test: let $f := function($n as xs:numeric) as xs:numeric { $n+1 } return $f(255) |
pass | pass | pass | pass | pass | pass |
xs-numeric-020[+]
X xs-numeric-020: Created on: 2014-10-21 Spec Dependencies: spec = XQ31+ spec = XP31+ XQ31+ Test: declare function local:f ($n as xs:numeric) as xs:numeric { $n+1 }; local:f(<a>255</a>) |
pass | n/a
notXP31 |
pass | n/a | pass | pass |
xs-numeric-021[+]
X xs-numeric-021: Created on: 2014-10-21 Spec Dependencies: feature = schemaValidation feature = schemaImport spec = XP31+ XQ31+ Test: /*/*:float instance of element(*, xs:numeric) |
no result | pass | pass | pass | pass | pass |
xs-numeric-022[+]
X xs-numeric-022: Created on: 2014-10-21 Spec Dependencies: feature = schemaValidation feature = schemaImport spec = XP31+ XQ31+ Test: /*/*:decimal/@*:attr instance of attribute(*, xs:numeric) |
no result | pass | pass | pass | pass | pass |