Results for tests requiring that dependency schemaValidation is satisfied
Implementations | |||||||||||||||
Tests | BaseX 7.7 XQ30 |
EMC/xDB xDB_main_r2411365 XQ30 |
Saxon-EE 9.5.1.1 XP20 |
Saxon-EE 9.5.1.1 XQ10 |
Saxon-EE 9.5.1.1 XP30 |
Saxon-EE 9.5.1.1 XQ30 |
Saxon-EE 9.5.1.4 XQX30 (QT3 v1.1) |
XmlPrime 3.0.0.0 XP30 (QT3 vCVS) |
XmlPrime 3.0.0.0 XQ30 (QT3 vCVS) |
XmlPrime 3.0.0.0 XQX30 (QT3 vCVS) |
XmlPrime 3.0.0.0 XP20 (QT3 vCVS) |
XmlPrime 3.0.0.0 XQX10 (QT3 vCVS) |
XmlPrime 3.0.0.0 XQ10 (QT3 vCVS) |
Zorba 2.9 XQ10 (QT3 vCVS) |
Zorba 2.9 XQ30 (QT3 vCVS) |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
analyzeString-020[+]
X analyzeString-020: let $result := analyze-string("banana", "(b)(anana)") return ($result//@nr)[1] instance of attribute(nr, xs:positiveInteger) |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
pass | pass | pass | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
analyzeString-021[+]
X analyzeString-021: let $result := analyze-string("banana", "(b)(anana)") return $result instance of element(*, xs:untyped) |
no result | fail | pass | n/a
notXP20 |
n/a
notXQ10 |
pass | pass | pass | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
analyzeString-024[+]
X analyzeString-024: import schema "http://www.w3.org/2005/xpath-functions"; let $result := analyze-string("banana", "(b)(anana)") return $result/fn:match[1] instance of schema-element(fn:match) |
no result | fail | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
analyzeString-025[+]
X analyzeString-025: import schema "http://www.w3.org/2005/xpath-functions"; analyze-string("banana", "(b)(anana)") instance of schema-element(fn:analyze-string-result) |
no result | fail | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
cbcl-data-002[+]
X cbcl-data-002: import schema namespace cd="http://www.cbcl.co.uk/XQueryTest/complexData"; let $x := validate strict {.} return string-length(data($x//cd:complexTypeWithSimpleContent)) |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
cbcl-data-003[+]
X cbcl-data-003: import schema namespace cd="http://www.cbcl.co.uk/XQueryTest/complexData"; let $x := validate strict {.} return data($x//cd:unionType) instance of xs:string |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
cbcl-data-004[+]
X cbcl-data-004: import schema namespace cd="http://www.cbcl.co.uk/XQueryTest/complexData"; let $x := validate strict {.} return sum($x//cd:listType) |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
cbcl-data-005[+]
X cbcl-data-005: import schema namespace cd="http://www.cbcl.co.uk/XQueryTest/complexData"; let $x := validate strict {.} return count(data($x//cd:unionWithList)) |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
cbcl-data-006[+]
X cbcl-data-006: import schema namespace cd="http://www.cbcl.co.uk/XQueryTest/complexData"; let $x := validate strict {.} return string-length($x//cd:extendedComplexTypeWithSimpleUnionContent) |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
cbcl-data-007[+]
X cbcl-data-007: import schema namespace cd="http://www.cbcl.co.uk/XQueryTest/complexData"; let $x := validate strict {.} return count(data($x//cd:listOfUnion)[. instance of xs:integer]) |
no result | fail | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
K2-SeqDeepEqualFunc-36[+]
X K2-SeqDeepEqualFunc-36: deep-equal(validate type xs:integer {<e>2012</e>}, validate type xs:gYear{<e>2012</e>}) |
no result | fail | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
K2-SeqDeepEqualFunc-37[+]
X K2-SeqDeepEqualFunc-37: deep-equal(validate type xs:integer {<e>2012</e>}, validate type xs:decimal{<e>2012</e>}) |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
K2-SeqDeepEqualFunc-38[+]
X K2-SeqDeepEqualFunc-38: import schema namespace p = "http://www.w3.org/XQueryTest/perversity"; let $v := validate strict {<p:elementOnly><p:e/></p:elementOnly>} let $w := validate strict {<p:mixed><p:e/></p:mixed>} let $x := validate strict {<p:empty><p:e/></p:empty>} let $y := validate strict {<p:simple><p:e/></p:simple>} return deep-equal($v/p:e, $w/p:e) or deep-equal($w/p:e, $x/p:e) or deep-equal($v/p:e, $x/p:e) or deep-equal($x/p:e, $y/p:e) |
no result | fail | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
K2-SeqDeepEqualFunc-39[+]
X K2-SeqDeepEqualFunc-39: import schema namespace p = "http://www.w3.org/XQueryTest/perversity"; let $w := validate strict {<p:mixed><p:e>fraternity</p:e></p:mixed>} let $y := validate strict {<p:simple><p:e>fraternity</p:e></p:simple>} return deep-equal($w/p:e, $y/p:e) |
no result | fail | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
fn-normalize-space-23[+]
X fn-normalize-space-23: /*/normalize-space() |
no result | fail | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | fail | fail |
fn-normalize-space-24[+]
X fn-normalize-space-24: /*/normalize-space(.) |
no result | fail | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass |
fn-normalize-space-25[+]
X fn-normalize-space-25: current-date()[normalize-space()] |
no result | fail | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | fail | fail |
fn-normalize-space-26[+]
X fn-normalize-space-26: current-date()[normalize-space(.)] |
no result | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass |
fn-string-22[+]
X fn-string-22: /*/string() |
no result | fail | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass |
fn-string-length-22[+]
X fn-string-length-22: /*/string-length() |
no result | fail | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass |
fn-string-length-23[+]
X fn-string-length-23: /*/string-length(.) |
no result | fail | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass |
Comp-notation-1[+]
X Comp-notation-1: import schema namespace myns="http://www.example.com/notation"; fn:not(exactly-one(//*:NOTATION1[1]) eq exactly-one(//*:NOTATION3[1])) |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
Comp-notation-2[+]
X Comp-notation-2: import schema namespace myns="http://www.example.com/notation"; exactly-one(//*:NOTATION1[1]) eq exactly-one(//*:NOTATION2[1]) |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
Comp-notation-3[+]
X Comp-notation-3: import schema namespace myns="http://www.example.com/notation"; exactly-one(//*:NOTATION1[1]) eq exactly-one(//*:NOTATION4[1]) |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
Comp-notation-4[+]
X Comp-notation-4: import schema namespace myns="http://www.example.com/notation"; exactly-one(//*:NOTATION1[1]) ne exactly-one(//*:NOTATION3[1]) |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
Comp-notation-5[+]
X Comp-notation-5: import schema namespace myns="http://www.example.com/notation"; exactly-one(//*:NOTATION1[1]) ne exactly-one(//*:NOTATION2[1]) |
no result | fail | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
Comp-notation-6[+]
X Comp-notation-6: import schema namespace myns="http://www.example.com/notation"; exactly-one(//*:NOTATION1[1]) ne exactly-one(//*:NOTATION4[1]) |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
Comp-notation-7[+]
X Comp-notation-7: import schema namespace myns="http://www.example.com/notation"; fn:not(exactly-one(//*:NOTATION1[1]) eq exactly-one(//*:NOTATION3[1])) |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
Comp-notation-8[+]
X Comp-notation-8: import schema namespace myns="http://www.example.com/notation"; fn:not(exactly-one(//*:NOTATION1[1]) eq exactly-one(//*:NOTATION2[1])) |
no result | fail | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
Comp-notation-9[+]
X Comp-notation-9: import schema namespace myns="http://www.example.com/notation"; fn:not(exactly-one(//*:NOTATION1[1]) ne exactly-one(//*:NOTATION3[1])) |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
Comp-notation-10[+]
X Comp-notation-10: import schema namespace myns="http://www.example.com/notation"; fn:not(exactly-one(//*:NOTATION1[1]) ne exactly-one(//*:NOTATION2[1])) |
no result | fail | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
Comp-notation-11[+]
X Comp-notation-11: import schema namespace myns="http://www.example.com/notation"; fn:boolean(exactly-one(//*:NOTATION1[1]) eq exactly-one(//*:NOTATION2[1])) |
no result | fail | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
Comp-notation-12[+]
X Comp-notation-12: import schema namespace myns="http://www.example.com/notation"; fn:boolean(exactly-one(//*:NOTATION1[1]) ne exactly-one(//*:NOTATION2[1])) |
no result | fail | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
Comp-notation-13[+]
X Comp-notation-13: import schema namespace myns="http://www.example.com/notation"; (exactly-one(//*:NOTATION1[1]) eq exactly-one(//*:NOTATION2[1])) and fn:true() |
no result | fail | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
Comp-notation-14[+]
X Comp-notation-14: import schema namespace myns="http://www.example.com/notation"; (exactly-one(//*:NOTATION1[1]) ne exactly-one(//*:NOTATION2[1])) and fn:true() |
no result | fail | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
Comp-notation-15[+]
X Comp-notation-15: import schema namespace myns="http://www.example.com/notation"; (exactly-one(//*:NOTATION1[1]) eq exactly-one(//*:NOTATION2[1])) or fn:true() |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
Comp-notation-16[+]
X Comp-notation-16: import schema namespace myns="http://www.example.com/notation"; (exactly-one(//*:NOTATION1[1]) ne exactly-one(//*:NOTATION2[1])) or fn:true() |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
Comp-notation-17[+]
X Comp-notation-17: import schema namespace myns="http://www.example.com/notation"; (exactly-one(//*:NOTATION1[1]) eq exactly-one(//*:NOTATION2[1])) and fn:false() |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
Comp-notation-18[+]
X Comp-notation-18: import schema namespace myns="http://www.example.com/notation"; (exactly-one(//*:NOTATION1[1]) ne exactly-one(//*:NOTATION2[1])) and fn:false() |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
Comp-notation-19[+]
X Comp-notation-19: import schema namespace myns="http://www.example.com/notation"; (exactly-one(//*:NOTATION1[1]) eq exactly-one(//*:NOTATION2[1])) or fn:false() |
no result | fail | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
Comp-notation-20[+]
X Comp-notation-20: import schema namespace myns="http://www.example.com/notation"; (exactly-one(//*:NOTATION1[1]) ne exactly-one(//*:NOTATION2[1])) or fn:false() |
no result | fail | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
Comp-notation-21[+]
X Comp-notation-21: import schema namespace myns="http://www.example.com/notation"; exactly-one(//*:NOTATION1[1]) eq exactly-one(//*:NOTATION2[1]) |
no result | fail | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
Comp-notation-22[+]
X Comp-notation-22: import schema namespace myns="http://www.example.com/notation"; exactly-one(//*:NOTATION1[1]) ne exactly-one(//*:NOTATION2[1]) |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
FunctionCall-003[+]
X FunctionCall-003: xs:integer(validate type xs:decimal {<a>93.7</a>}) |
no result | fail | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
FunctionCall-005[+]
X FunctionCall-005: declare function local:f($in as xs:anyAtomicType) as xs:boolean { $in instance of xs:decimal }; local:f(validate type xs:integer {<a>12</a>}) |
no result | fail | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
FunctionCall-007[+]
X FunctionCall-007: declare function local:f($in as xs:anyAtomicType) as xs:boolean { $in instance of xs:decimal }; let $f := function-lookup(xs:QName('local:f'), 1) return $f(validate type xs:integer {<a>12</a>}) |
no result | fail | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
fail |
FunctionCall-008[+]
X FunctionCall-008: let $f := xs:integer#1 return $f(validate type xs:decimal {<a>93.7</a>}) |
no result | fail | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
fail |
FunctionCall-015[+]
X FunctionCall-015: declare function local:f($in as xs:integer) as xs:integer { $in + 1 }; let $f := function-lookup(xs:QName(<f>local:f</f>), 1) return $f(12) |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
FunctionCall-016[+]
X FunctionCall-016: declare function local:f($in as xs:QName) as xs:integer { string-length(local-name-from-QName($in)) }; let $e := <a xsi:type='my:integer' xmlns:my='http://my.example.com/'>123</a> return local:f($e/@xsi:type) |
no result | wrongError
expected: XPTY0117 actualCode: XPTY0004 |
pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
wrongError
Expected error: XPTY0117. Found error: XPTY0004 |
FunctionCall-017[+]
X FunctionCall-017: let $f := function ($in as xs:QName) as xs:integer { string-length(local-name-from-QName($in)) } let $e := <a xsi:type='my:integer' xmlns:my='http://my.example.com/'>123</a> return $f($e/@xsi:type) |
no result | wrongError
expected: XPTY0117 actualCode: XPTY0004 |
pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
wrongError
Expected error: XPTY0117. Found error: XPTY0004 |
FunctionCall-018[+]
X FunctionCall-018: let $e := <a xsi:type='my:integer' xmlns:my='http://my.example.com/'>123</a> return local-name-from-QName($e/@xsi:type) |
no result | wrongError
expected: XPTY0117 actualCode: XPTY0004 |
pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
wrongError
Expected error: XPTY0117. Found error: XPTY0004 |
FunctionCall-019[+]
X FunctionCall-019: declare function local:q ($prefix as xs:string, $local as xs:string) as xs:QName { <a>{$prefix}:{$local}</a> }; local:q('fn', 'abs') |
no result | wrongError
expected: XPTY0117 actualCode: XPTY0004 |
pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
wrongError
Expected error: XPTY0117. Found error: XPTY0004 |
FunctionCall-020[+]
X FunctionCall-020: let $q := function ($prefix as xs:string, $local as xs:string) as xs:QName { <a>{$prefix}:{$local}</a> } return $q('fn', 'abs') |
no result | wrongError
expected: XPTY0117 actualCode: XPTY0004 |
pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
wrongError
Expected error: XPTY0117. Found error: XPTY0004 |
FunctionCall-021[+]
X FunctionCall-021: declare function local:q ($prefix as xs:string, $local as xs:string) as xs:QName { <a>{$prefix}:{$local}</a> }; let $curried := local:q('fn', ?) return $curried('abs') |
no result | wrongError
expected: XPTY0117 actualCode: XPTY0004 |
pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
wrongError
Expected error: XPTY0117. Found error: XPTY0004 |
validateexpr-1[+]
X validateexpr-1: declare default element namespace "http://www.w3.org/XQueryTestOrderBy"; import schema "http://www.w3.org/XQueryTestOrderBy"; validate {/DataValues/Strings union /DataValues/PositiveNumbers} |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-2[+]
X validateexpr-2: declare default element namespace "http://www.w3.org/XQueryTestOrderBy"; import schema "http://www.w3.org/XQueryTestOrderBy"; let $var := <Strings><orderData>one string</orderData></Strings> return validate strict {$var} |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-3[+]
X validateexpr-3: declare default element namespace "http://www.w3.org/XQueryTestOrderBy"; import schema "http://www.w3.org/XQueryTestOrderBy"; let $var := <Strings><orderData>one string</orderData></Strings> return validate lax {$var} |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-4[+]
X validateexpr-4: declare default element namespace "http://www.w3.org/XQueryTestOrderBy"; import schema "http://www.w3.org/XQueryTestOrderBy"; validate {<!-- A Comment Node -->} |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-5[+]
X validateexpr-5: declare default element namespace "http://www.w3.org/XQueryTestOrderBy"; import schema "http://www.w3.org/XQueryTestOrderBy"; validate {<!-- A Comment Node -->} |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-6[+]
X validateexpr-6: declare default element namespace "http://www.w3.org/XQueryTestOrderBy"; import schema "http://www.w3.org/XQueryTestOrderBy"; validate strict {<?format role="output" ?>} |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-7[+]
X validateexpr-7: declare default element namespace "http://www.w3.org/XQueryTestOrderBy"; import schema "http://www.w3.org/XQueryTestOrderBy"; validate lax {<?format role="output" ?>} |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-8[+]
X validateexpr-8: declare default element namespace "http://www.w3.org/XQueryTestOrderBy"; import schema "http://www.w3.org/XQueryTestOrderBy"; validate strict {text {"A Text Node"}} |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-9[+]
X validateexpr-9: declare default element namespace "http://www.w3.org/XQueryTestOrderBy"; import schema "http://www.w3.org/XQueryTestOrderBy"; validate lax {text {"A Text Node"}} |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-10[+]
X validateexpr-10: declare default element namespace "http://www.w3.org/XQueryTestOrderBy"; import schema "http://www.w3.org/XQueryTestOrderBy"; let $var := validate strict {exactly-one(/DataValues/Strings)} return fn:count($var/parent::node()) |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-11[+]
X validateexpr-11: declare default element namespace "http://www.w3.org/XQueryTestOrderBy"; import schema "http://www.w3.org/XQueryTestOrderBy"; let $var := validate lax {exactly-one(/DataValues/Strings)} return fn:count($var/parent::node()) |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-12[+]
X validateexpr-12: declare default element namespace "http://www.w3.org/XQueryTestOrderBy"; import schema "http://www.w3.org/XQueryTestOrderBy"; let $var := validate strict {<Strings><orderData>A String</orderData></Strings>} return fn:count($var/parent::node()) |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-13[+]
X validateexpr-13: declare default element namespace "http://www.w3.org/XQueryTestOrderBy"; import schema "http://www.w3.org/XQueryTestOrderBy"; let $var := validate lax {<Strings><orderData>A String</orderData></Strings>} return fn:count($var/parent::node()) |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-14[+]
X validateexpr-14: declare default element namespace "http://www.w3.org/XQueryTestOrderBy"; import schema "http://www.w3.org/XQueryTestOrderBy"; validate strict {if (fn:true()) then <Strings><orderData>A String</orderData></Strings> else <Failed>This test failed</Failed>} |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-15[+]
X validateexpr-15: declare default element namespace "http://www.w3.org/XQueryTestOrderBy"; import schema "http://www.w3.org/XQueryTestOrderBy"; validate lax {if (fn:true()) then <Strings><orderData>A String</orderData></Strings> else <Failed>This test failed</Failed>} |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-16[+]
X validateexpr-16: declare default element namespace "http://www.w3.org/XQueryTestOrderBy"; import schema "http://www.w3.org/XQueryTestOrderBy"; validate lax {if (fn:false()) then <Failed>This test failed</Failed> else <Strings><orderData>A String</orderData></Strings>} |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-17[+]
X validateexpr-17: declare default element namespace "http://www.w3.org/XQueryTestOrderBy"; import schema "http://www.w3.org/XQueryTestOrderBy"; validate lax {if (fn:true() or fn:true()) then <Strings><orderData>A String</orderData></Strings> else <Failed>This test failed</Failed> } |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-18[+]
X validateexpr-18: declare default element namespace "http://www.w3.org/XQueryTestOrderBy"; import schema "http://www.w3.org/XQueryTestOrderBy"; validate lax {if (every $x in (1,2,3) satisfies $x < 5) then <Strings><orderData>A String</orderData></Strings> else <Failed>This test failed</Failed> } |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-19[+]
X validateexpr-19: declare default element namespace "http://www.w3.org/XQueryTestOrderBy"; import schema "http://www.w3.org/XQueryTestOrderBy"; validate lax {if (some $x in (1,2,3) satisfies $x = 2) then <Strings><orderData>A String</orderData></Strings> else <Failed>This test failed</Failed> } |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-20[+]
X validateexpr-20: declare default element namespace "http://www.w3.org/XQueryTestOrderBy"; import schema "http://www.w3.org/XQueryTestOrderBy"; validate lax {typeswitch ("A String") case $i as xs:decimal return <wrap>test failed</wrap> case $i as xs:string return <Strings><orderData>A String</orderData></Strings> default return <Failed>This test failed</Failed> } |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-21[+]
X validateexpr-21: declare default element namespace "http://www.w3.org/XQueryTestOrderBy"; import schema "http://www.w3.org/XQueryTestOrderBy"; validate lax {let $var := <Strings><orderData>A String</orderData></Strings> return $var } |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-23[+]
X validateexpr-23: declare default element namespace "http://www.w3.org/XQueryTestOrderBy"; import schema "http://www.w3.org/XQueryTestOrderBy"; let $var := validate strict { element DataValues1 {element Strings {"data"}}} return $var |
no result | wrongError
expected: XQDY0084 actualCode: XQDY0027 |
pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-24[+]
X validateexpr-24: declare namespace lu = 'http://www.w3.org/XQueryTest/ListUnionTypes' ; import schema "http://www.w3.org/XQueryTest/ListUnionTypes"; let $v := validate { <lu:e>1 1.0e0</lu:e> } let $dv := data($v) return ($dv[1] instance of xs:integer, $dv[2] instance of xs:float) |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-25[+]
X validateexpr-25: import schema namespace simple="http://www.w3.org/XQueryTest/simple"; validate strict {<simple:duration>sorry, no duration here</simple:duration>} |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-26[+]
X validateexpr-26: validate { document { <a/>, <b/> } } |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-27[+]
X validateexpr-27: import schema namespace t="http://www.example.com/ns/test"; declare variable $input-context := (/); let $doc := validate strict { $input-context } let $anid := id("anid", $doc) return <results> <para1 idcount="{count(id('anid', $doc))}"/> <para2 idcount="{count(id('anid2', $doc))}"/> <para2 idcount="{count(id('34', $doc))}"/> <para3 idcount="{count(id('anid3', $doc))}"/> <para3 idcount="{count(id('anid4 anid5', $doc))}"/> </results> |
no result | fail | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-28[+]
X validateexpr-28: import schema namespace t="http://www.example.com/ns/test/xq-e18"; let $doc := validate strict { document { <doc xmlns="http://www.example.com/ns/test/xq-e18"> <para1>PT3H21M</para1> <para2>P3M</para2> </doc> } } let $p1 := data($doc/t:doc/t:para1) let $p2 := data($doc/t:doc/t:para2) let $t1 := xs:dayTimeDuration("PT3H21M") let $t2 := xs:yearMonthDuration("P3M") return <results> <case1>{if ($p1 = $t1) then "pass" else "fail"}</case1> <case2>{if ($p2 = $t2) then "pass" else "fail"}</case2> </results> |
no result | wrongError
expected: XQST0012 actualCode: XPTY0004 |
pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | wrongError
'Assert-any-of' returned: 'assert-xml' returned: result '<root></root>' is different from the expected result '<root><results><case1>pass</case1><case2>pass</case2></results></root>' Expected error: XQST0012. Found error: XQST0059 |
wrongError
'Assert-any-of' returned: 'assert-xml' returned: result '<root></root>' is different from the expected result '<root><results><case1>pass</case1><case2>pass</case2></results></root>' Expected error: XQST0012. Found error: XQST0059 |
validateexpr-29[+]
X validateexpr-29: import schema namespace ns="http://www.w3.org/XQueryTestOrderBy"; validate { document { <ns:Strings/>, <ns:Strings/> } } |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-30[+]
X validateexpr-30: import schema default element namespace "http://www.w3.org/XQueryTestOrderBy"; let $document as document-node(element(Strings)) := document { ( <!--comment-->, <Strings><orderData>one string</orderData></Strings>, <?processing instruction?> ) } let $validated as document-node(schema-element(Strings)) := validate { $document } return count($validated/node()) |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-31[+]
X validateexpr-31: import schema default element namespace "http://www.w3.org/XQueryTestOrderBy"; declare function local:numbers($positive) { if ($positive) then <PositiveNumbers><orderData>1</orderData></PositiveNumbers> else <NegativeNumbers><orderData>-1</orderData></NegativeNumbers> }; let $positive as element(orderData, xs:decimal) := (validate { local:numbers(true()) })/orderData let $negative as element(orderData, xs:decimal) := (validate { local:numbers(false()) })/orderData return $positive + $negative |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-32[+]
X validateexpr-32: import schema default element namespace "http://www.w3.org/XQueryTestOrderBy"; declare function local:numbers($positive) { if ($positive) then <PositiveNumbers><orderData>1</orderData></PositiveNumbers> else <NegativeNumbers><orderData>-1</orderData></NegativeNumbers> }; let $positive as element(orderData, xs:decimal) := (validate { document { local:numbers(true()) } })//orderData let $negative as element(orderData, xs:decimal) := (validate { document { local:numbers(false()) } })//orderData return $positive + $negative |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-33[+]
X validateexpr-33: import schema default element namespace "http://www.w3.org/XQueryTestOrderBy"; declare function local:numbers($positive) { if ($positive) then <PositiveNumbers><orderData>1</orderData></PositiveNumbers> else document { <NegativeNumbers><orderData>-1</orderData></NegativeNumbers> } }; let $positive as element(orderData, xs:decimal) := (validate { local:numbers(true()) })//orderData let $negative as element(orderData, xs:decimal) := (validate { local:numbers(false()) })//orderData return $positive + $negative |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-34[+]
X validateexpr-34: validate lax { <a xsi:type='xs:integer'>42</a> } |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-35[+]
X validateexpr-35: validate lax { <a xsi:type='xs:integer' xmlns:xs="http://www.w3.org/2001/XMLSchema">42</a> } |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-36[+]
X validateexpr-36: import schema namespace udt = "http://www.w3.org/XQueryTest/userDefinedTypes"; string( validate lax { <a xsi:type='udt:NOTATIONBased' xmlns:udt="http://www.w3.org/XQueryTest/userDefinedTypes">udt:value1</a> } ) |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
validateexpr-37[+]
X validateexpr-37: import schema namespace udt = "http://www.w3.org/XQueryTest/userDefinedTypes"; string( validate lax { <a xsi:type='udt:NOTATIONBased' xmlns:udt="http://www.w3.org/XQueryTest/userDefinedTypes">udt:value3</a> } ) |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
validateexpr-38[+]
X validateexpr-38: import schema namespace udt = "http://www.w3.org/XQueryTest/userDefinedTypes"; string( validate type udt:NOTATIONBased { <a xmlns:udt="http://www.w3.org/XQueryTest/userDefinedTypes">udt:value1</a> } ) |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
validateexpr-39[+]
X validateexpr-39: import schema namespace udt = "http://www.w3.org/XQueryTest/userDefinedTypes"; string( validate type udt:NOTATIONBased { <a xmlns:udt="http://www.w3.org/XQueryTest/userDefinedTypes">udt:value3</a> } ) |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
validateexpr-40[+]
X validateexpr-40: import schema namespace udt = "http://www.w3.org/XQueryTest/userDefinedTypes"; string( validate type udt:NOTATIONBased { <a>value1</a> } ) |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
validateexpr-41[+]
X validateexpr-41: import schema namespace udt = "http://www.w3.org/XQueryTest/userDefinedTypes"; string( validate strict { <notatio xmlns="http://www.w3.org/XQueryTest/userDefinedTypes">value1</notatio> } ) |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
fail |
validateexpr-42[+]
X validateexpr-42: import schema namespace udt = "http://www.w3.org/XQueryTest/userDefinedTypes"; string( validate strict { <notatio xmlns="http://www.w3.org/XQueryTest/userDefinedTypes">value3</notatio> } ) |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
K2-ValidateExpression-1[+]
X K2-ValidateExpression-1: validate gt validate |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validate-constraints-1[+]
X validate-constraints-1: import schema namespace constraints = "http://www.w3.org/constraints"; declare variable $test := element test { <constraints:a> <b id="x"/> <b id="y"/> <b id="y"/> </constraints:a> }; validate { $test/*:a } |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validate-constraints-2[+]
X validate-constraints-2: import schema namespace constraints = "http://www.w3.org/constraints"; declare variable $test := element test { <constraints:a2> <b2 id="x"/> <b2 id="y"/> <b2/> </constraints:a2> }; validate { $test/*:a2 } |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validate-constraints-3[+]
X validate-constraints-3: import schema namespace constraints = "http://www.w3.org/constraints"; declare variable $test := element test { <constraints:a2> <b2 id="x"/> <b2 id="y"/> <b2 id="z"/> <b2ref> <c idref="x"/> <c idref="y"/> <c idref="q"/> </b2ref> </constraints:a2> }; validate { $test/*:a2 } |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validate-constraints-4[+]
X validate-constraints-4: import schema namespace constraints = "http://www.w3.org/constraints"; declare variable $test := element test { <constraints:a> <b id="x"/> <b id="y"/> </constraints:a> }; validate { $test/*:a } |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validate-sc-1[+]
X validate-sc-1: import schema namespace ss="http://www.w3.org/query-test/complexSimple"; let $v := validate { <ss:complexExtendsSimple>1</ss:complexExtendsSimple> } let $dv := fn:data($v) return ($dv instance of xs:integer) |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-sc-2[+]
X validateexpr-sc-2: import schema namespace ss="http://www.w3.org/query-test/complexSimple"; let $v := validate { <ss:emptyMixed>1</ss:emptyMixed> } let $dv := fn:data($v) return fn:not($dv instance of xs:integer) |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-sc-4[+]
X validateexpr-sc-4: import schema namespace ss="http://www.w3.org/query-test/complexSimple"; let $v := validate { <ss:unionBase>1</ss:unionBase> } let $dv := fn:data($v) return fn:not($dv instance of xs:integer) |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-sc-5[+]
X validateexpr-sc-5: import schema namespace ss="http://www.w3.org/query-test/complexSimple"; let $v := validate { <ss:unionBase>2</ss:unionBase> } let $dv := fn:data($v) return ($dv instance of xs:integer) |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-sc-6[+]
X validateexpr-sc-6: import schema namespace ss="http://www.w3.org/query-test/complexSimple"; let $v := validate { <ss:complexExtendsUnion>1</ss:complexExtendsUnion> } let $dv := fn:data($v) return fn:not($dv instance of xs:integer) |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-sc-7[+]
X validateexpr-sc-7: import schema namespace ss="http://www.w3.org/query-test/complexSimple"; let $v := validate { <ss:complexExtendsUnion>2</ss:complexExtendsUnion> } let $dv := fn:data($v) return ($dv instance of xs:integer) |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-sc-8[+]
X validateexpr-sc-8: import schema namespace ss="http://www.w3.org/query-test/complexSimple"; let $v := validate { <ss:listBase>1</ss:listBase> } let $dv := fn:data($v) return ($dv instance of xs:integer) |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validateexpr-sc-9[+]
X validateexpr-sc-9: import schema namespace ss="http://www.w3.org/query-test/complexSimple"; let $v := validate { <ss:complexExtendsList>1</ss:complexExtendsList> } let $dv := fn:data($v) return ($dv instance of xs:integer) |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
validate-as-101[+]
X validate-as-101: import schema namespace hat = "http://www.w3.org/XQueryTest/hats"(: at "qischema001.xsd" :); validate type hat:hatsize { <hut>8</hut> } |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
validate-as-102[+]
X validate-as-102: import schema namespace hat = "http://www.w3.org/XQueryTest/hats"(: at "qischema001.xsd" :); declare function local:run() as element(hat:hat, hat:hatsize) { validate type hat:hatsize { <hat:hat>8</hat:hat> } }; local:run() |
no result | fail | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
validate-as-103[+]
X validate-as-103: import schema namespace hat = "http://www.w3.org/XQueryTest/hats" at "../../../TestSources/hats.xsd"; declare function local:run() as attribute(size, hat:hatsize) { validate type hat:hatsize { attribute size {8} } }; <e>{local:run()}</e> |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
validate-as-104[+]
X validate-as-104: import schema namespace hat = "http://www.w3.org/XQueryTest/hats"(: at "qischema001.xsd" :); declare variable $in := <hat>8</hat>; declare function local:run() as element(hat, hat:hatsize) { validate type hat:hatsize { $in } }; local:run() |
no result | fail | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
validate-as-105[+]
X validate-as-105: declare namespace other="http://ns.other.com/"; import schema namespace hat = "http://www.w3.org/XQueryTest/hats"(: at "qischema001.xsd" :); declare variable $in := <hat>8</hat>; declare function local:run() as element(hat, hat:hatsize) { (#other:validate (hat:hatsize)#) { validate type hat:hatsize { $in }} }; local:run() |
no result | fail | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
validate-as-106[+]
X validate-as-106: declare namespace other="http://ns.other.com/"; import schema namespace hat = "http://www.w3.org/XQueryTest/hats"; declare variable $in := <hat>8</hat>; declare function local:run() as element(hat, hat:hatsize) { validate type hat:hatsize { validate type xs:integer { $in } } }; local:run() |
no result | fail | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
validate-as-91011[+]
X validate-as-91011: import schema namespace hat = "http://www.w3.org/XQueryTest/hats"(: at "qischema001.xsd" :); validate type hat:brimsize { <hat>8</hat> } |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
wrongError
Expected error: XQST0104. Found error: XQDY0027 |
validate-as-91012[+]
X validate-as-91012: import schema namespace hat = "http://www.w3.org/XQueryTest/hats"(: at "qischema001.xsd" :); validate type hat:hatsize hat:brimsize { <hat>8</hat> } |
no result | pass | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
validate-as-91013[+]
X validate-as-91013: import schema namespace hat = "http://www.w3.org/XQueryTest/hats"(: at "qischema001.xsd" :); validate type hat:hatsize(12) { <hat>8</hat> } |
no result | n/a | no result | n/a
notXP20 |
pass | n/a
notXP30 |
n/a
notXQ30 |
n/a | n/a | n/a | n/a | pass | pass | pass | n/a
Dependency (type=spec, value=XQ10, satisfied=true) was not met. |
validate-as-91014[+]
X validate-as-91014: import schema namespace hat = "http://www.w3.org/XQueryTest/hats"(: at "qischema001.xsd" :); validate type hat:hatsize { 8, <hat>8</hat> } |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
validate-as-91015[+]
X validate-as-91015: import schema namespace hat = "http://www.w3.org/XQueryTest/hats"(: at "qischema001.xsd" :); validate type boot:hatsize { <hat>8</hat> } |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
wrongError
Expected error: XPST0081. Found error: XQDY0027 |
validate-as-91016[+]
X validate-as-91016: import schema namespace hat = "http://www.w3.org/XQueryTest/hats"(: at "qischema001.xsd" :); validate type hat:hatsize { <hat>banana</hat> } |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
validate-as-91017[+]
X validate-as-91017: import schema namespace hat = "http://www.w3.org/XQueryTest/hats"(: at "qischema001.xsd" :); validate as hat:hatsize { <hut>8</hut> } |
no result | pass | no result | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
cbcl-validateexpr-1[+]
X cbcl-validateexpr-1: declare default element namespace "http://www.w3.org/XQueryTest/testcases"; import schema "http://www.w3.org/XQueryTest/testcases"; let $var := validate lax { <Unknown xsi:type="tc:choice" xmlns:tc="http://www.w3.org/XQueryTest/testcases"> {element a {element z {"12.345"}}}</Unknown>} return $var |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
cbcl-validateexpr-2[+]
X cbcl-validateexpr-2: declare default element namespace "http://www.w3.org/XQueryTest/testcases"; import schema "http://www.w3.org/XQueryTest/testcases"; let $var := validate lax { <Unknown xsi:type="choice"> {element a {"12.345"}}</Unknown>} return $var |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
cbcl-validateexpr-3[+]
X cbcl-validateexpr-3: declare default element namespace "http://www.w3.org/XQueryTest/testcases"; import schema "http://www.w3.org/XQueryTest/testcases"; let $var := validate lax { <Unknown xsi:type="tc:choice" xmlns:tc="http://www.w3.org/XQueryTest/testcases"> {element z {"12.345"}}</Unknown>} return $var |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
cbcl-validateexpr-4[+]
X cbcl-validateexpr-4: declare default element namespace "http://www.w3.org/XQueryTest/testcases"; import schema "http://www.w3.org/XQueryTest/testcases"; let $var := validate lax { <Unknown> {element z {"12.345"}}</Unknown>} return $var |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
cbcl-validateexpr-5[+]
X cbcl-validateexpr-5: declare default element namespace "http://www.w3.org/XQueryTest/testcases"; import schema "http://www.w3.org/XQueryTest/testcases"; let $var := validate strict { <Unknown xsi:type="tc:choice" xmlns:tc="http://www.w3.org/XQueryTest/testcases"> {element a {element z {"12.345"}}}</Unknown>} return $var |
no result | wrongError
expected: XQDY0084 actualCode: XQDY0027 |
pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
cbcl-validateexpr-6[+]
X cbcl-validateexpr-6: declare default element namespace "http://www.w3.org/XQueryTest/testcases"; import schema "http://www.w3.org/XQueryTest/testcases"; let $var := validate strict { <Unknown xsi:type="tc:choice" xmlns:tc="http://www.w3.org/XQueryTest/testcases"> {element a {"12.345"}}</Unknown>} return $var |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
cbcl-validateexpr-7[+]
X cbcl-validateexpr-7: declare default element namespace "http://www.w3.org/XQueryTest/testcases"; import schema "http://www.w3.org/XQueryTest/testcases"; let $var := validate strict { <Unknown xsi:type="tc:choice" xmlns:tc="http://www.w3.org/XQueryTest/testcases"> {element z {"12.345"}}</Unknown>} return $var |
no result | wrongError
expected: XQDY0084 actualCode: XQDY0027 |
pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
cbcl-validateexpr-8[+]
X cbcl-validateexpr-8: declare default element namespace "http://www.w3.org/XQueryTest/testcases"; import schema "http://www.w3.org/XQueryTest/testcases"; let $var := validate strict { <Unknown> {element z {"12.345"}}</Unknown>} return $var |
no result | wrongError
expected: XQDY0084 actualCode: XQDY0027 |
pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
cbcl-validateexpr-9[+]
X cbcl-validateexpr-9: declare default element namespace "http://www.w3.org/XQueryTest/testcases"; import schema "http://www.w3.org/XQueryTest/testcases"; let $var := validate lax { <Unknown> {element a {element z {"12.345"}}}</Unknown>} return $var |
no result | disputed | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
cbcl-validateexpr-10[+]
X cbcl-validateexpr-10: declare default element namespace "http://www.w3.org/XQueryTest/testcases"; import schema "http://www.w3.org/XQueryTest/testcases"; let $var := validate strict { <Unknown> {element a {element z {"12.345"}}}</Unknown>} return $var |
no result | wrongError
expected: XQDY0084 actualCode: XQDY0027 |
pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
cbcl-validateexpr-11[+]
X cbcl-validateexpr-11: validate { document { (<e/>, "text") } } |
no result | wrongError
expected: XQDY0084 actualCode: XQDY0061 |
wrongError
Expected error:XQDY0084, got err:XQDY0027 |
n/a
notXP20 |
wrongError
Expected error:XQDY0084, got err:XQDY0027 |
n/a
notXP30 |
wrongError
Expected error:XQDY0084, got err:XQDY0027 |
n/a | pass | pass | n/a | pass | pass | pass | pass |
cbcl-validateexpr-12[+]
X cbcl-validateexpr-12: validate{ document { "text" } } |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | wrongError
Expected error: XQDY0061. Found error: ZXQP0003 |
wrongError
Expected error: XQDY0061. Found error: ZXQP0003 |
cbcl-validateexpr-13[+]
X cbcl-validateexpr-13: validate lax { document { (<a/>, <b/>) } } |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
cbcl-validateexpr-14[+]
X cbcl-validateexpr-14: declare default element namespace "http://www.w3.org/XQueryTest/testcases"; import schema "http://www.w3.org/XQueryTest/testcases"; declare namespace tc="http://www.w3.org/XQueryTest/testcases"; let $var := validate lax { <Unknown> {element z {"12.345"}}</Unknown>} return count($var/element(*, xs:decimal)) |
no result | fail | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
cbcl-validateexpr-15[+]
X cbcl-validateexpr-15: import schema namespace cd="http://www.cbcl.co.uk/XQueryTest/complexData"; declare function local:f($x) as element(cd:complexTypeWithSimpleContent, cd:shortString)* { $x//cd:complexTypeWithSimpleContent }; let $x := validate strict {/} return (count(local:f($x)/@value)) |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
cbcl-validateexpr-16[+]
X cbcl-validateexpr-16: import schema namespace tc="http://www.w3.org/XQueryTest/testcases"; validate { attribute { xs:QName("tc:a") } { "value" } } |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
cbcl-validateexpr-17[+]
X cbcl-validateexpr-17: declare default element namespace "http://www.w3.org/XQueryTest/testcases"; import schema "http://www.w3.org/XQueryTest/testcases"; declare namespace tc="http://www.w3.org/XQueryTest/testcases"; let $var := validate lax { <Unknown xsi:type="tc:choice"> {element a {"foo"}}</Unknown>} return $var |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
XQDY0061[+]
X XQDY0061: validate lax { document {'hello'} } |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | wrongError
Expected error: XQDY0061. Found error: ZXQP0003 |
wrongError
Expected error: XQDY0061. Found error: ZXQP0003 |
XQTY0030[+]
X XQTY0030: validate strict { () } |
no result | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |
Catalog002[+]
X Catalog002: import schema namespace fots = "http://www.w3.org/2010/09/qt-fots-catalog"; let $testsets := //fots:test-set/@file/(validate{doc(resolve-uri(., base-uri(..)))}) for $test in $testsets//fots:test-case[not(fots:result/fots:error)][ contains(test, "declare variable") or contains(test, "declare function") or matches(test, "<.+>") or contains(test, "typeswitch")] where empty($test/(fots:dependency | ../fots:dependency)) or exists($test/(fots:dependency | ../fots:dependency)[contains(., "XP")]) return $test |
no result | pass | fail
Expected success, got err:XQDY0027 |
n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | fail
Fail due to bug in Microsoft XML Schema implementation |
fail
Fail due to bug in Microsoft XML Schema |
n/a | fail
Fail due to bug in Microsoft XML Schema |
fail
Fail due to bug in Microsoft XML Schema implementation |
pass | pass |