Name | Correct | Wrong | Error | Total | Skipped |
---|---|---|---|---|---|
Total | 14672 | 203 | 125 | 15000 | 4426 |
Abbreviated Syntax | 21 | 0 | 0 | 21 | 1 |
fn:abs | 117 | 0 | 0 | 117 | 65 |
fn:adjust-dateTime-to-timezone | 36 | 0 | 0 | 36 | 7 |
fn:adjust-date-to-timezone | 31 | 0 | 0 | 31 | 5 |
fn:adjust-time-to-timezone | 34 | 0 | 0 | 34 | 5 |
Tests of XQuery 1.1 analyze-string() function | 0 | 0 | 0 | 0 | 27 |
ancestor Axis | 35 | 0 | 0 | 35 | 8 |
ancestor-or-self Axis | 29 | 0 | 0 | 29 | 2 |
Various User defined functions from annex "E" of the F and O specs. | 6 | 0 | 0 | 6 | 2 |
xs:anyURI eq/ne xs:anyURI | 22 | 0 | 0 | 22 | 0 |
xs:anyURI le/ge xs:anyURI | 10 | 0 | 0 | 10 | 0 |
xs:anyURI lt/gt xs:anyURI | 8 | 0 | 0 | 8 | 0 |
Tests for Appendix A-4 of the Query Specs. | 9 | 0 | 0 | 9 | 0 |
Axes | 233 | 0 | 0 | 233 | 80 |
op:base64Binary-equal | 27 | 0 | 0 | 27 | 0 |
fn:base-uri | 53 | 1 | 0 | 54 | 4 |
Base URI Declaration | 19 | 0 | 0 | 19 | 18 |
op:boolean-equal | 45 | 0 | 0 | 45 | 4 |
op:boolean-greater-than | 39 | 0 | 0 | 39 | 0 |
op:boolean-less-than | 39 | 0 | 0 | 39 | 0 |
Boundary-space Declaration | 24 | 0 | 0 | 24 | 4 |
Consistency in XQTS Catalog | 3 | 0 | 0 | 3 | 0 |
fn:ceiling | 55 | 0 | 0 | 55 | 3 |
fn:codepoint-equal | 24 | 0 | 0 | 24 | 3 |
fn:codepoints-to-string | 30 | 0 | 0 | 30 | 19 |
Default Collation Declaration | 2 | 0 | 0 | 2 | 6 |
Single error code for extra features | 0 | 0 | 0 | 0 | 18 |
Combining Node Sequences | 18 | 0 | 0 | 18 | 2 |
Comma Operator | 54 | 0 | 0 | 54 | 0 |
fn:compare | 34 | 0 | 0 | 34 | 8 |
fn:compare | 9 | 0 | 0 | 9 | 0 |
Computed Attribute Constructors | 40 | 0 | 0 | 40 | 61 |
Computed Comment Constructors | 15 | 0 | 0 | 15 | 11 |
Computed Element Constructors | 43 | 1 | 0 | 44 | 28 |
Computed Processing-instruction Constructors | 27 | 0 | 0 | 27 | 25 |
fn:concat | 89 | 0 | 0 | 89 | 5 |
Conditional Expressions | 35 | 0 | 0 | 35 | 5 |
Document Node Constructors | 38 | 1 | 0 | 39 | 19 |
In-scope Namespaces of a Constructed Element | 17 | 0 | 0 | 17 | 4 |
Construction Declaration | 22 | 0 | 0 | 22 | 4 |
Computed Element Constructors | 2 | 2 | 0 | 4 | 0 |
fn:contains | 34 | 0 | 0 | 34 | 4 |
fn:current-date | 12 | 0 | 0 | 12 | 11 |
fn:current-dateTime | 12 | 0 | 0 | 12 | 14 |
fn:current-time | 12 | 0 | 0 | 12 | 10 |
fn:default-collation | 2 | 0 | 0 | 2 | 3 |
fn:implicit-timezone | 6 | 0 | 0 | 6 | 20 |
fn:last | 41 | 0 | 0 | 41 | 11 |
fn:position | 62 | 0 | 0 | 62 | 3 |
Text Node Constructors | 27 | 0 | 0 | 27 | 8 |
Copy Namespaces Declaration | 29 | 1 | 0 | 30 | 6 |
fn:data | 41 | 0 | 0 | 41 | 5 |
op:add-dayTimeDuration-to-date | 22 | 0 | 0 | 22 | 0 |
op:add-yearMonthDuration-to-date | 22 | 0 | 0 | 22 | 2 |
op:date-equal | 29 | 0 | 0 | 29 | 0 |
op:date-greater-than | 30 | 0 | 0 | 30 | 0 |
op:date-less-than | 30 | 0 | 0 | 30 | 0 |
op:subtract-dates-yielding-dayTimeDuration | 22 | 0 | 0 | 22 | 4 |
op:subtract-dayTimeDuration-from-date | 21 | 0 | 0 | 21 | 0 |
op:subtract-yearMonthDuration-from-date | 23 | 0 | 0 | 23 | 0 |
op:add-dayTimeDuration-to-dateTime | 20 | 0 | 0 | 20 | 4 |
op:dateTime-equal | 29 | 0 | 0 | 29 | 24 |
fn:dateTime | 44 | 0 | 0 | 44 | 6 |
op:dateTime-greater-than | 28 | 0 | 0 | 28 | 0 |
op:dateTime-less-than | 28 | 0 | 0 | 28 | 0 |
op:subtract-dateTimes-yielding-dayTimeDuration | 21 | 0 | 0 | 21 | 5 |
op:subtract-dayTimeDuration-from-dateTime | 20 | 0 | 0 | 20 | 0 |
op:subtract-yearMonthDuration-from-dateTime | 21 | 0 | 0 | 21 | 0 |
fn:day-from-date | 25 | 0 | 0 | 25 | 2 |
fn:day-from-dateTime | 25 | 0 | 0 | 25 | 2 |
fn:days-from-duration | 28 | 0 | 0 | 28 | 2 |
op:add-dayTimeDurations | 24 | 0 | 0 | 24 | 0 |
op:divide-dayTimeDuration-by-dayTimeDuration | 22 | 0 | 0 | 22 | 0 |
op:divide-dayTimeDuration | 23 | 0 | 0 | 23 | 13 |
op:dayTimeDuration-equal | 8 | 0 | 0 | 8 | 0 |
op:dayTimeDuration-greater-than | 28 | 0 | 0 | 28 | 0 |
op:dayTimeDuration-less-than | 28 | 0 | 0 | 28 | 0 |
op:multiply-dayTimeDuration | 29 | 0 | 0 | 29 | 3 |
op:subtract-dayTimeDurations | 26 | 0 | 0 | 26 | 6 |
Default Namespace Declaration | 31 | 0 | 0 | 31 | 22 |
Ordering Mode Declaration | 22 | 0 | 0 | 22 | 5 |
Attributes | 65 | 0 | 0 | 65 | 57 |
Content | 88 | 4 | 1 | 93 | 33 |
Namespace Declaration Attributes | 54 | 0 | 0 | 54 | 55 |
White Space Element Content | 82 | 0 | 0 | 82 | 1 |
Direct Element Constructors | 27 | 0 | 0 | 27 | 40 |
Other Direct Constructors | 45 | 0 | 0 | 45 | 46 |
fn:document-uri | 31 | 0 | 0 | 31 | 4 |
op:duration equal | 97 | 0 | 0 | 97 | 32 |
Tests for element-with-id() function, introduced by erratum. Depends entirely on schema validation. | 0 | 5 | 0 | 5 | 0 |
Empty Order Declaration | 30 | 0 | 0 | 30 | 2 |
fn:encode-for-uri | 25 | 0 | 0 | 25 | 4 |
fn:ends-with | 33 | 0 | 0 | 33 | 4 |
Extended QNames ("uri":local) | 0 | 0 | 0 | 0 | 13 |
The Error Function | 3 | 0 | 0 | 3 | 59 |
Errors and Optimization | 2 | 0 | 0 | 2 | 5 |
fn:escape-html-uri | 29 | 0 | 0 | 29 | 4 |
fn:QName | 11 | 0 | 0 | 11 | 22 |
Extension Expression | 34 | 0 | 0 | 34 | 17 |
External Context Item Expressions | 22 | 0 | 0 | 22 | 2 |
External Variable References without TypeDeclaration | 8 | 0 | 0 | 8 | 37 |
External Variable References with TypeDeclatation | 22 | 1 | 1 | 24 | 26 |
fn:false | 23 | 0 | 0 | 23 | 1 |
Filter Expressions | 90 | 0 | 0 | 90 | 34 |
fn:floor | 56 | 0 | 0 | 56 | 3 |
FLWOR Expressions that requires a schema import | 0 | 7 | 10 | 17 | 0 |
following Axis | 24 | 0 | 0 | 24 | 1 |
following-sibling Axis | 31 | 0 | 0 | 31 | 2 |
FOR Clause with a Positional Variable | 24 | 0 | 0 | 24 | 10 |
FOR Clause with TypeDeclaration | 0 | 1 | 0 | 1 | 0 |
FOR Clause without TypeDeclaration | 80 | 0 | 1 | 81 | 51 |
FOR Clause with TypeDeclaration | 30 | 2 | 0 | 32 | 24 |
Function Calls | 5 | 0 | 0 | 5 | 36 |
Function Declaration | 59 | 0 | 0 | 59 | 75 |
functx-fn-abs | 4 | 0 | 0 | 4 | 0 |
functx-fn-adjust-dateTime-to-timezone | 6 | 0 | 0 | 6 | 0 |
functx-fn-adjust-date-to-timezone | 5 | 0 | 0 | 5 | 0 |
functx-fn-adjust-time-to-timezone | 5 | 0 | 0 | 5 | 0 |
functx-fn-avg | 4 | 2 | 0 | 6 | 0 |
functx-fn-base-uri | 4 | 0 | 0 | 4 | 0 |
functx-fn-boolean | 10 | 0 | 0 | 10 | 0 |
functx-fn-ceiling | 7 | 0 | 0 | 7 | 0 |
functx-fn-codepoint-equal | 4 | 0 | 0 | 4 | 0 |
functx-fn-codepoints-to-string | 4 | 0 | 0 | 4 | 0 |
functx-fn-compare | 8 | 0 | 0 | 8 | 0 |
functx-fn-concat | 5 | 0 | 0 | 5 | 0 |
functx-fn-contains | 8 | 0 | 0 | 8 | 0 |
functx-fn-count | 6 | 0 | 0 | 6 | 0 |
functx-fn-data | 7 | 0 | 0 | 7 | 0 |
functx-fn-dateTime | 1 | 0 | 0 | 1 | 0 |
functx-fn-day-from-dateTime | 1 | 0 | 0 | 1 | 0 |
functx-fn-day-from-date | 1 | 0 | 0 | 1 | 0 |
functx-fn-days-from-duration | 6 | 0 | 0 | 6 | 0 |
functx-fn-deep-equal | 7 | 0 | 0 | 7 | 0 |
functx-fn-default-collation | 1 | 0 | 0 | 1 | 0 |
functx-fn-distinct-values | 7 | 0 | 0 | 7 | 0 |
functx-fn-doc-available | 1 | 0 | 0 | 1 | 0 |
functx-fn-empty | 8 | 0 | 0 | 8 | 0 |
functx-fn-encode-for-uri | 3 | 0 | 0 | 3 | 0 |
functx-fn-ends-with | 6 | 0 | 0 | 6 | 0 |
functx-fn-escape-html-uri | 3 | 0 | 0 | 3 | 0 |
functx-fn-exactly-one | 1 | 0 | 0 | 1 | 0 |
functx-fn-exists | 5 | 0 | 0 | 5 | 0 |
functx-fn-false | 1 | 0 | 0 | 1 | 0 |
functx-fn-floor | 7 | 0 | 0 | 7 | 0 |
functx-fn-hours-from-dateTime | 3 | 0 | 0 | 3 | 0 |
functx-fn-hours-from-duration | 6 | 0 | 0 | 6 | 0 |
functx-fn-hours-from-time | 3 | 0 | 0 | 3 | 0 |
functx-fn-index-of | 8 | 0 | 0 | 8 | 0 |
functx-fn-insert-before | 7 | 0 | 0 | 7 | 0 |
functx-fn-iri-to-uri | 1 | 0 | 0 | 1 | 0 |
functx-fn-lang | 7 | 0 | 0 | 7 | 0 |
functx-fn-last | 1 | 0 | 0 | 1 | 0 |
functx-fn-local-name-from-QName | 4 | 0 | 0 | 4 | 0 |
functx-fn-local-name | 6 | 0 | 0 | 6 | 0 |
functx-fn-lower-case | 4 | 0 | 0 | 4 | 0 |
functx-fn-matches | 19 | 0 | 0 | 19 | 0 |
functx-fn-max | 5 | 0 | 0 | 5 | 0 |
functx-fn-minutes-from-dateTime | 1 | 0 | 0 | 1 | 0 |
functx-fn-minutes-from-duration | 6 | 0 | 0 | 6 | 0 |
functx-fn-minutes-from-time | 1 | 0 | 0 | 1 | 0 |
functx-fn-min | 5 | 0 | 0 | 5 | 0 |
functx-fn-month-from-dateTime | 1 | 0 | 0 | 1 | 0 |
functx-fn-month-from-date | 1 | 0 | 0 | 1 | 0 |
functx-fn-months-from-duration | 5 | 0 | 0 | 5 | 0 |
functx-fn-namespace-uri-for-prefix | 5 | 0 | 0 | 5 | 0 |
functx-fn-namespace-uri-from-QName | 4 | 0 | 0 | 4 | 0 |
functx-fn-namespace-uri | 6 | 0 | 0 | 6 | 0 |
functx-fn-name | 6 | 0 | 0 | 6 | 0 |
functx-fn-nilled | 5 | 0 | 0 | 5 | 0 |
functx-fn-node-name | 6 | 0 | 0 | 6 | 0 |
functx-fn-normalize-space | 10 | 0 | 0 | 10 | 0 |
functx-fn-normalize-unicode | 3 | 0 | 0 | 3 | 0 |
functx-fn-not | 8 | 0 | 0 | 8 | 0 |
functx-fn-number | 7 | 0 | 0 | 7 | 0 |
functx-fn-one-or-more | 3 | 0 | 0 | 3 | 0 |
functx-fn-position | 4 | 0 | 0 | 4 | 0 |
functx-fn-prefix-from-QName | 7 | 0 | 0 | 7 | 0 |
functx-fn-QName | 4 | 0 | 0 | 4 | 0 |
functx-fn-remove | 4 | 0 | 0 | 4 | 0 |
functx-fn-replace | 20 | 0 | 0 | 20 | 0 |
functx-fn-resolve-QName | 4 | 0 | 0 | 4 | 0 |
functx-fn-resolve-uri | 6 | 0 | 0 | 6 | 0 |
functx-fn-reverse | 4 | 0 | 0 | 4 | 0 |
functx-fn-root | 3 | 0 | 0 | 3 | 0 |
functx-fn-round-half-to-even | 6 | 0 | 0 | 6 | 0 |
functx-fn-round | 6 | 0 | 0 | 6 | 0 |
functx-fn-seconds-from-dateTime | 1 | 0 | 0 | 1 | 0 |
functx-fn-seconds-from-duration | 5 | 0 | 0 | 5 | 0 |
functx-fn-seconds-from-time | 1 | 0 | 0 | 1 | 0 |
functx-fn-starts-with | 9 | 0 | 0 | 9 | 0 |
functx-fn-string-join | 6 | 0 | 0 | 6 | 0 |
functx-fn-string-length | 7 | 0 | 0 | 7 | 0 |
functx-fn-string-to-codepoints | 4 | 0 | 0 | 4 | 0 |
functx-fn-string | 4 | 0 | 0 | 4 | 0 |
functx-fn-subsequence | 7 | 0 | 0 | 7 | 0 |
functx-fn-substring-after | 7 | 0 | 0 | 7 | 0 |
functx-fn-substring-before | 8 | 0 | 0 | 8 | 0 |
functx-fn-substring | 12 | 0 | 0 | 12 | 0 |
functx-fn-sum | 7 | 0 | 0 | 7 | 0 |
functx-fn-timezone-from-dateTime | 3 | 0 | 0 | 3 | 0 |
functx-fn-timezone-from-date | 3 | 0 | 0 | 3 | 0 |
functx-fn-timezone-from-time | 5 | 0 | 0 | 5 | 0 |
functx-fn-tokenize | 13 | 0 | 0 | 13 | 0 |
functx-fn-translate | 8 | 0 | 0 | 8 | 0 |
functx-fn-true | 1 | 0 | 0 | 1 | 0 |
functx-fn-upper-case | 5 | 0 | 0 | 5 | 0 |
functx-fn-year-from-dateTime | 1 | 0 | 0 | 1 | 0 |
functx-fn-year-from-date | 1 | 0 | 0 | 1 | 0 |
functx-fn-years-from-duration | 6 | 0 | 0 | 6 | 0 |
functx-fn-zero-or-one | 3 | 0 | 0 | 3 | 0 |
functx-functx-add-attributes | 6 | 0 | 0 | 6 | 0 |
functx-functx-add-months | 4 | 0 | 0 | 4 | 0 |
functx-functx-add-or-update-attributes | 6 | 0 | 0 | 6 | 0 |
functx-functx-all-whitespace | 7 | 0 | 0 | 7 | 0 |
functx-functx-are-distinct-values | 4 | 0 | 0 | 4 | 0 |
functx-functx-atomic-type | 5 | 0 | 0 | 5 | 0 |
functx-functx-avg-empty-is-zero | 1 | 0 | 0 | 1 | 0 |
functx-functx-between-exclusive | 6 | 0 | 0 | 6 | 0 |
functx-functx-between-inclusive | 6 | 0 | 0 | 6 | 0 |
functx-functx-camel-case-to-words | 0 | 3 | 0 | 3 | 0 |
functx-functx-capitalize-first | 4 | 0 | 0 | 4 | 0 |
functx-functx-change-element-names-deep | 4 | 0 | 0 | 4 | 0 |
functx-functx-change-element-ns-deep | 3 | 0 | 0 | 3 | 0 |
functx-functx-change-element-ns | 3 | 0 | 0 | 3 | 0 |
functx-functx-chars | 3 | 0 | 0 | 3 | 0 |
functx-functx-contains-any-of | 3 | 0 | 0 | 3 | 0 |
functx-functx-contains-case-insensitive | 3 | 0 | 0 | 3 | 0 |
functx-functx-contains-word | 6 | 0 | 0 | 6 | 0 |
functx-functx-copy-attributes | 4 | 0 | 0 | 4 | 0 |
functx-functx-dateTime | 3 | 0 | 0 | 3 | 0 |
functx-functx-date | 3 | 0 | 0 | 3 | 0 |
functx-functx-day-in-year | 4 | 0 | 0 | 4 | 0 |
functx-functx-day-of-week-abbrev-en | 3 | 0 | 0 | 3 | 0 |
functx-functx-day-of-week-name-en | 3 | 0 | 0 | 3 | 0 |
functx-functx-day-of-week | 4 | 0 | 0 | 4 | 0 |
functx-functx-days-in-month | 4 | 0 | 0 | 4 | 0 |
functx-functx-dayTimeDuration | 6 | 0 | 0 | 6 | 0 |
functx-functx-ddmmyyyy-to-date | 4 | 0 | 0 | 4 | 0 |
functx-functx-depth-of-node | 4 | 0 | 0 | 4 | 0 |
functx-functx-distinct-attribute-names | 1 | 0 | 0 | 1 | 0 |
functx-functx-distinct-deep | 4 | 0 | 0 | 4 | 0 |
functx-functx-distinct-element-names | 3 | 0 | 0 | 3 | 0 |
functx-functx-distinct-element-paths | 3 | 0 | 0 | 3 | 0 |
functx-functx-distinct-nodes | 3 | 0 | 0 | 3 | 0 |
functx-functx-duration-from-timezone | 4 | 0 | 0 | 4 | 0 |
functx-functx-dynamic-path | 5 | 0 | 0 | 5 | 0 |
functx-functx-escape-for-regex | 3 | 0 | 0 | 3 | 0 |
functx-functx-exclusive-or | 4 | 0 | 0 | 4 | 0 |
functx-functx-first-day-of-month | 4 | 0 | 0 | 4 | 0 |
functx-functx-first-day-of-year | 4 | 0 | 0 | 4 | 0 |
functx-functx-first-node | 3 | 0 | 0 | 3 | 0 |
functx-functx-follows-not-descendant | 4 | 0 | 0 | 4 | 0 |
functx-functx-format-as-title-en | 1 | 0 | 0 | 1 | 0 |
functx-functx-fragment-from-uri | 3 | 0 | 0 | 3 | 0 |
functx-functx-get-matches-and-non-matches | 4 | 0 | 0 | 4 | 0 |
functx-functx-get-matches | 4 | 0 | 0 | 4 | 0 |
functx-functx-has-element-only-content | 10 | 0 | 0 | 10 | 0 |
functx-functx-has-empty-content | 8 | 0 | 0 | 8 | 0 |
functx-functx-has-mixed-content | 8 | 0 | 0 | 8 | 0 |
functx-functx-has-simple-content | 7 | 0 | 0 | 7 | 0 |
functx-functx-id-from-element | 0 | 1 | 0 | 1 | 0 |
functx-functx-id-untyped | 4 | 0 | 0 | 4 | 0 |
functx-functx-if-absent | 4 | 0 | 0 | 4 | 0 |
functx-functx-if-empty | 7 | 0 | 0 | 7 | 0 |
functx-functx-index-of-deep-equal-node | 4 | 0 | 0 | 4 | 0 |
functx-functx-index-of-match-first | 6 | 0 | 0 | 6 | 0 |
functx-functx-index-of-node | 4 | 0 | 0 | 4 | 0 |
functx-functx-index-of-string-first | 4 | 0 | 0 | 4 | 0 |
functx-functx-index-of-string-last | 4 | 0 | 0 | 4 | 0 |
functx-functx-index-of-string | 4 | 0 | 0 | 4 | 0 |
functx-functx-insert-string | 5 | 0 | 0 | 5 | 0 |
functx-functx-is-absolute-uri | 6 | 0 | 0 | 6 | 0 |
functx-functx-is-ancestor | 5 | 0 | 0 | 5 | 0 |
functx-functx-is-a-number | 9 | 0 | 0 | 9 | 0 |
functx-functx-is-descendant | 5 | 0 | 0 | 5 | 0 |
functx-functx-is-leap-year | 4 | 0 | 0 | 4 | 0 |
functx-functx-is-node-among-descendants-deep-equal | 5 | 0 | 0 | 5 | 0 |
functx-functx-is-node-among-descendants | 5 | 0 | 0 | 5 | 0 |
functx-functx-is-node-in-sequence-deep-equal | 4 | 0 | 0 | 4 | 0 |
functx-functx-is-node-in-sequence | 4 | 0 | 0 | 4 | 0 |
functx-functx-is-value-in-sequence | 4 | 0 | 0 | 4 | 0 |
functx-functx-last-day-of-month | 4 | 0 | 0 | 4 | 0 |
functx-functx-last-day-of-year | 4 | 0 | 0 | 4 | 0 |
functx-functx-last-node | 3 | 0 | 0 | 3 | 0 |
functx-functx-leaf-elements | 3 | 0 | 0 | 3 | 0 |
functx-functx-left-trim | 4 | 0 | 0 | 4 | 0 |
functx-functx-line-count | 3 | 0 | 0 | 3 | 0 |
functx-functx-lines | 3 | 0 | 0 | 3 | 0 |
functx-functx-max-depth | 3 | 0 | 0 | 3 | 0 |
functx-functx-max-determine-type | 4 | 0 | 0 | 4 | 0 |
functx-functx-max-line-length | 3 | 0 | 0 | 3 | 0 |
functx-functx-max-node | 1 | 0 | 0 | 1 | 0 |
functx-functx-max-string | 3 | 0 | 0 | 3 | 0 |
functx-functx-min-determine-type | 4 | 0 | 0 | 4 | 0 |
functx-functx-min-node | 1 | 0 | 0 | 1 | 0 |
functx-functx-min-non-empty-string | 1 | 0 | 0 | 1 | 0 |
functx-functx-min-string | 3 | 0 | 0 | 3 | 0 |
functx-functx-mmddyyyy-to-date | 4 | 0 | 0 | 4 | 0 |
functx-functx-month-abbrev-en | 4 | 0 | 0 | 4 | 0 |
functx-functx-month-name-en | 4 | 0 | 0 | 4 | 0 |
functx-functx-namespaces-in-use | 1 | 0 | 0 | 1 | 0 |
functx-functx-name-test | 6 | 0 | 0 | 6 | 0 |
functx-functx-next-day | 3 | 0 | 0 | 3 | 0 |
functx-functx-node-kind | 7 | 0 | 0 | 7 | 0 |
functx-functx-non-distinct-values | 4 | 0 | 0 | 4 | 0 |
functx-functx-number-of-matches | 4 | 0 | 0 | 4 | 0 |
functx-functx-ordinal-number-en | 3 | 0 | 0 | 3 | 0 |
functx-functx-pad-integer-to-length | 4 | 0 | 0 | 4 | 0 |
functx-functx-pad-string-to-length | 4 | 0 | 0 | 4 | 0 |
functx-functx-path-to-node-with-pos | 3 | 0 | 0 | 3 | 0 |
functx-functx-path-to-node | 3 | 0 | 0 | 3 | 0 |
functx-functx-precedes-not-ancestor | 4 | 0 | 0 | 4 | 0 |
functx-functx-previous-day | 3 | 0 | 0 | 3 | 0 |
functx-functx-remove-attributes-deep | 4 | 0 | 0 | 4 | 0 |
functx-functx-remove-attributes | 5 | 0 | 0 | 5 | 0 |
functx-functx-remove-elements-deep | 5 | 0 | 0 | 5 | 0 |
functx-functx-remove-elements-not-contents | 5 | 0 | 0 | 5 | 0 |
functx-functx-remove-elements | 4 | 0 | 0 | 4 | 0 |
functx-functx-repeat-string | 3 | 0 | 0 | 3 | 0 |
functx-functx-replace-beginning | 5 | 0 | 0 | 5 | 0 |
functx-functx-replace-element-values | 3 | 0 | 0 | 3 | 0 |
functx-functx-replace-first | 6 | 0 | 0 | 6 | 0 |
functx-functx-replace-multi | 1 | 0 | 0 | 1 | 0 |
functx-functx-reverse-string | 3 | 0 | 0 | 3 | 0 |
functx-functx-right-trim | 4 | 0 | 0 | 4 | 0 |
functx-functx-scheme-from-uri | 6 | 0 | 0 | 6 | 0 |
functx-functx-sequence-deep-equal | 4 | 0 | 0 | 4 | 0 |
functx-functx-sequence-node-equal-any-order | 4 | 0 | 0 | 4 | 0 |
functx-functx-sequence-node-equal | 4 | 0 | 0 | 4 | 0 |
functx-functx-sequence-type | 12 | 0 | 0 | 12 | 0 |
functx-functx-siblings-same-name | 3 | 0 | 0 | 3 | 0 |
functx-functx-siblings | 3 | 0 | 0 | 3 | 0 |
functx-functx-sort-as-numeric | 3 | 0 | 0 | 3 | 0 |
functx-functx-sort-case-insensitive | 3 | 0 | 0 | 3 | 0 |
functx-functx-sort-document-order | 1 | 0 | 0 | 1 | 0 |
functx-functx-sort | 3 | 0 | 0 | 3 | 0 |
functx-functx-substring-after-if-contains | 3 | 0 | 0 | 3 | 0 |
functx-functx-substring-after-last-match | 4 | 0 | 0 | 4 | 0 |
functx-functx-substring-after-last | 4 | 0 | 0 | 4 | 0 |
functx-functx-substring-after-match | 4 | 0 | 0 | 4 | 0 |
functx-functx-substring-before-if-contains | 3 | 0 | 0 | 3 | 0 |
functx-functx-substring-before-last-match | 4 | 0 | 0 | 4 | 0 |
functx-functx-substring-before-last | 4 | 0 | 0 | 4 | 0 |
functx-functx-substring-before-match | 4 | 0 | 0 | 4 | 0 |
functx-functx-time | 3 | 0 | 0 | 3 | 0 |
functx-functx-timezone-from-duration | 4 | 0 | 0 | 4 | 0 |
functx-functx-total-days-from-duration | 5 | 0 | 0 | 5 | 0 |
functx-functx-total-hours-from-duration | 6 | 0 | 0 | 6 | 0 |
functx-functx-total-minutes-from-duration | 5 | 0 | 0 | 5 | 0 |
functx-functx-total-months-from-duration | 4 | 0 | 0 | 4 | 0 |
functx-functx-total-seconds-from-duration | 5 | 0 | 0 | 5 | 0 |
functx-functx-total-years-from-duration | 4 | 0 | 0 | 4 | 0 |
functx-functx-trim | 4 | 0 | 0 | 4 | 0 |
functx-functx-update-attributes | 5 | 0 | 0 | 5 | 0 |
functx-functx-value-except | 5 | 0 | 0 | 5 | 0 |
functx-functx-value-intersect | 5 | 0 | 0 | 5 | 0 |
functx-functx-value-union | 5 | 0 | 0 | 5 | 0 |
functx-functx-word-count | 4 | 0 | 0 | 4 | 0 |
functx-functx-words-to-camel-case | 3 | 0 | 0 | 3 | 0 |
functx-functx-wrap-values-in-elements | 5 | 0 | 0 | 5 | 0 |
functx-functx-yearMonthDuration | 8 | 0 | 0 | 8 | 0 |
functx-functx-yyyyddmm-to-date | 4 | 0 | 0 | 4 | 0 |
functx-functx-yyyymmdd-to-date | 4 | 0 | 0 | 4 | 0 |
op:gDay-equal | 31 | 0 | 0 | 31 | 0 |
The "=" operator for general comparisons | 141 | 0 | 0 | 141 | 31 |
The ">= (greater than or equal)" operator for general comparisons | 109 | 0 | 0 | 109 | 1 |
The "> (greater than)" operator for general comparisons | 116 | 0 | 0 | 116 | 2 |
The "<= (less than or equal)" operator for general comparisons | 108 | 0 | 0 | 108 | 0 |
The "< (less than)" operator for general comparisons | 124 | 0 | 0 | 124 | 3 |
The "!=" operator for general comparisons | 128 | 0 | 0 | 128 | 12 |
op:gMonthDay-equal | 31 | 0 | 0 | 31 | 0 |
op:gMonth-equal | 31 | 0 | 0 | 31 | 0 |
op:gYear-equal | 32 | 0 | 0 | 32 | 0 |
op:gYearMonth-equal | 32 | 0 | 0 | 32 | 0 |
Head and Tail Functions | 0 | 0 | 0 | 0 | 12 |
op:hexBinary-equal | 29 | 0 | 0 | 29 | 0 |
Higher Order Functions | 0 | 0 | 0 | 0 | 112 |
fn:hours-from-dateTime | 25 | 0 | 0 | 25 | 2 |
fn:hours-from-duration | 28 | 0 | 0 | 28 | 2 |
fn:hours-from-time | 25 | 0 | 0 | 25 | 2 |
fn:in-scope-prefixes | 45 | 0 | 0 | 45 | 7 |
Internal Context Item Expressions | 19 | 0 | 0 | 19 | 2 |
Internal Variable References without TypeDeclaration | 65 | 0 | 0 | 65 | 14 |
Internal Variable References with TypeDeclatation | 22 | 1 | 0 | 23 | 21 |
fn:iri-to-uri | 36 | 0 | 1 | 37 | 9 |
LET Clause without TypeDeclaration | 33 | 0 | 0 | 33 | 24 |
LET Clause with TypeDeclaration | 23 | 0 | 0 | 23 | 1 |
Literals | 80 | 0 | 0 | 80 | 78 |
fn:local-name-from-QName | 12 | 0 | 0 | 12 | 12 |
Logical Expressions | 352 | 0 | 0 | 352 | 14 |
fn:lower-case | 22 | 0 | 0 | 22 | 2 |
fn:matches | 48 | 10 | 0 | 58 | 30 |
fn:minutes-from-dateTime | 25 | 0 | 0 | 25 | 2 |
fn:minutes-from-duration | 29 | 0 | 0 | 29 | 2 |
fn:minutes-from-time | 25 | 0 | 0 | 25 | 2 |
Misc Functions that depends entirely on schema validation. | 0 | 0 | 38 | 38 | 1 |
Module Import | 17 | 0 | 1 | 18 | 37 |
Module Declaration | 0 | 0 | 0 | 0 | 1 |
fn:month-from-date | 25 | 0 | 0 | 25 | 2 |
fn:month-from-dateTime | 25 | 0 | 0 | 25 | 2 |
fn:months-from-duration | 28 | 0 | 0 | 28 | 2 |
fn:name | 21 | 0 | 0 | 21 | 5 |
Namespace Declaration | 22 | 0 | 0 | 22 | 21 |
fn:namespace-uri-for-prefix | 24 | 0 | 0 | 24 | 2 |
fn:namespace-uri-from-QName | 17 | 0 | 0 | 17 | 12 |
NameTest | 40 | 0 | 0 | 40 | 82 |
fn:nilled | 22 | 0 | 0 | 22 | 4 |
op:node-after | 11 | 3 | 0 | 14 | 19 |
op:node-before | 12 | 2 | 0 | 14 | 19 |
fn:lang | 28 | 0 | 0 | 28 | 7 |
fn:local-name | 21 | 0 | 0 | 21 | 6 |
fn:node-name | 25 | 0 | 0 | 25 | 5 |
fn:namespace-uri | 26 | 0 | 0 | 26 | 6 |
fn:number | 56 | 1 | 0 | 57 | 3 |
fn:root | 28 | 0 | 0 | 28 | 8 |
op:is-same-node | 19 | 0 | 0 | 19 | 15 |
NodeTest | 29 | 0 | 0 | 29 | 38 |
fn:normalize-space | 31 | 0 | 0 | 31 | 4 |
fn:normalize-unicode | 25 | 4 | 0 | 29 | 9 |
op:NOTATION-equal | 10 | 12 | 0 | 22 | 0 |
fn:not | 68 | 0 | 0 | 68 | 2 |
op:numeric-add | 105 | 0 | 0 | 105 | 35 |
op:numeric-divide | 103 | 2 | 0 | 105 | 19 |
op:numeric-equal | 0 | 0 | 0 | 0 | 2 |
op:numeric-equal | 174 | 0 | 0 | 174 | 10 |
op:numeric-greater-than | 90 | 0 | 0 | 90 | 0 |
op:numeric-integer-divide | 87 | 0 | 0 | 87 | 40 |
op:numeric-less-than | 154 | 0 | 0 | 154 | 0 |
op:numeric-mod | 103 | 0 | 0 | 103 | 18 |
op:numeric-multiply | 68 | 0 | 0 | 68 | 12 |
op:numeric-subtract | 97 | 0 | 0 | 97 | 13 |
op:numeric-unary-minus | 62 | 0 | 0 | 62 | 1 |
op:numeric-unary-plus | 53 | 0 | 0 | 53 | 1 |
Option Declaration Declaration | 4 | 0 | 0 | 4 | 4 |
ORDER BY Clause without OrderModifier | 42 | 19 | 0 | 61 | 28 |
ORDER BY Clause with OrderModifier | 74 | 34 | 0 | 108 | 1 |
Ordered and Unordered Expressions | 23 | 1 | 0 | 24 | 2 |
Parenthesized Expressions | 20 | 0 | 0 | 20 | 0 |
General Path Expression Tests | 7 | 0 | 0 | 7 | 10 |
Schema import path expression tests. | 0 | 0 | 2 | 2 | 1 |
preceding Axis | 30 | 0 | 0 | 30 | 1 |
preceding-sibling Axis | 27 | 0 | 0 | 27 | 1 |
Predicates | 45 | 0 | 0 | 45 | 7 |
fn:prefix-from-QName | 19 | 0 | 0 | 19 | 5 |
op:QName-equal | 30 | 0 | 0 | 30 | 6 |
Quantified Expressions Without TypeDeclaration | 119 | 0 | 0 | 119 | 48 |
Quantified Expressions With TypeDeclaration | 16 | 0 | 0 | 16 | 14 |
Range Expression | 57 | 0 | 0 | 57 | 10 |
fn:replace | 40 | 0 | 0 | 40 | 20 |
fn:resolve-QName | 20 | 0 | 0 | 20 | 6 |
fn:resolve-uri | 26 | 0 | 0 | 26 | 5 |
RETURN Clause | 15 | 0 | 0 | 15 | 6 |
fn:round-half-to-even | 67 | 0 | 0 | 67 | 7 |
fn:round | 237 | 0 | 0 | 237 | 2 |
Schema Import | 0 | 26 | 1 | 27 | 4 |
fn:seconds-from-dateTime | 25 | 0 | 0 | 25 | 2 |
fn:seconds-from-duration | 29 | 0 | 0 | 29 | 2 |
fn:seconds-from-time | 25 | 0 | 0 | 25 | 2 |
fn:avg | 170 | 1 | 0 | 171 | 53 |
fn:boolean | 113 | 0 | 1 | 114 | 8 |
fn:collection | 0 | 9 | 0 | 9 | 6 |
fn:count | 55 | 0 | 0 | 55 | 3 |
fn:deep-equal | 181 | 0 | 0 | 181 | 7 |
fn:distinct-values | 74 | 6 | 0 | 80 | 8 |
fn:doc-available | 4 | 1 | 0 | 5 | 3 |
fn:doc | 17 | 1 | 4 | 22 | 21 |
fn:empty | 46 | 0 | 0 | 46 | 2 |
fn:exactly-one | 41 | 0 | 0 | 41 | 9 |
op:except | 58 | 0 | 0 | 58 | 7 |
fn:exists | 51 | 0 | 0 | 51 | 2 |
Castable | 677 | 1 | 0 | 678 | 18 |
Cast | 1 | 0 | 30 | 31 | 17 |
Cast from Derived types To Parents | 21 | 0 | 0 | 21 | 0 |
Cast from Derived types | 21 | 0 | 0 | 21 | 0 |
Casting within a branch of the type hierarchy | 21 | 0 | 0 | 21 | 0 |
Cast | 1372 | 1 | 4 | 1377 | 1353 |
Instance Of | 261 | 0 | 0 | 261 | 15 |
Treat | 31 | 0 | 0 | 31 | 15 |
fn:id | 9 | 14 | 0 | 23 | 13 |
fn:idref | 3 | 15 | 0 | 18 | 9 |
fn:index-of | 40 | 1 | 0 | 41 | 6 |
fn:insert-before | 36 | 0 | 0 | 36 | 5 |
op:intersect | 61 | 0 | 0 | 61 | 6 |
fn:max | 162 | 0 | 0 | 162 | 18 |
fn:min | 162 | 0 | 0 | 162 | 18 |
fn:one-or-more | 44 | 0 | 0 | 44 | 5 |
fn:remove | 35 | 0 | 0 | 35 | 9 |
fn:reverse | 58 | 0 | 0 | 58 | 8 |
fn:subsequence | 69 | 0 | 0 | 69 | 9 |
fn:sum | 196 | 2 | 0 | 198 | 14 |
Typeswitch | 38 | 0 | 0 | 38 | 11 |
XQuery Sequence Type Syntax | 21 | 0 | 0 | 21 | 0 |
op:union | 64 | 0 | 0 | 64 | 6 |
fn:unordered | 27 | 0 | 0 | 27 | 4 |
fn:zero-or-one | 43 | 0 | 0 | 43 | 5 |
Serialization | 6 | 0 | 0 | 6 | 6 |
fn:starts-with | 34 | 0 | 0 | 34 | 4 |
fn:static-base-uri | 14 | 0 | 0 | 14 | 3 |
Static Context Evaluation | 0 | 0 | 0 | 0 | 1 |
Static Typing of Axes Steps | 0 | 0 | 0 | 0 | 21 |
Steps | 39 | 0 | 0 | 39 | 19 |
Static Typing of FLWOR expressions | 0 | 0 | 0 | 0 | 28 |
Static Typing of Functions | 0 | 0 | 0 | 0 | 1 |
xs:string eq/ne xs:string | 11 | 0 | 0 | 11 | 0 |
fn:string | 43 | 0 | 0 | 43 | 5 |
xs:string gt/ge xs:string | 5 | 0 | 0 | 5 | 0 |
fn:string-join | 30 | 0 | 0 | 30 | 3 |
fn:string-length | 26 | 0 | 0 | 26 | 4 |
xs:string lt/le xs:string | 6 | 0 | 0 | 6 | 0 |
fn:string-to-codepoints | 39 | 0 | 0 | 39 | 4 |
fn:substring-after | 28 | 0 | 0 | 28 | 4 |
fn:substring-before | 27 | 0 | 0 | 27 | 4 |
fn:substring | 35 | 0 | 0 | 35 | 2 |
surrogate values for various string functions. | 11 | 4 | 0 | 15 | 0 |
switch expression (XQuery 1.1) | 0 | 0 | 0 | 0 | 22 |
op:add-dayTimeDuration-to-time | 23 | 0 | 0 | 23 | 1 |
op:time-equal | 29 | 0 | 0 | 29 | 12 |
op:time-greater-than | 30 | 0 | 0 | 30 | 0 |
op:time-less-than | 30 | 0 | 0 | 30 | 0 |
op:subtract-dayTimeDuration-from-time | 22 | 0 | 0 | 22 | 4 |
op:subtract-times | 23 | 0 | 0 | 23 | 6 |
fn:timezone-from-date | 25 | 0 | 0 | 25 | 2 |
fn:timezone-from-dateTime | 25 | 0 | 0 | 25 | 2 |
fn:timezone-from-time | 25 | 0 | 0 | 25 | 2 |
fn:tokenize | 35 | 0 | 0 | 35 | 7 |
The Trace Function | 20 | 0 | 0 | 20 | 7 |
fn:translate | 27 | 0 | 0 | 27 | 9 |
fn:true | 23 | 0 | 0 | 23 | 1 |
Unabbreviated Syntax | 26 | 0 | 0 | 26 | 0 |
fn:upper-case | 22 | 0 | 0 | 22 | 2 |
Use Case "NS" - Queries Using Namespaces | 8 | 0 | 0 | 8 | 0 |
Use Case "PARTS" - Recursive Parts Explosion | 0 | 0 | 0 | 0 | 1 |
Use Case "R" - Access to Relational Data | 17 | 0 | 1 | 18 | 0 |
Use Case "SEQ" - Queries based on Sequence | 5 | 0 | 0 | 5 | 0 |
Use Case "SGML": Standard Generalized Markup Language | 10 | 0 | 0 | 10 | 1 |
Use Case "STRING": String Search | 4 | 0 | 0 | 4 | 0 |
Use Case "TREE": Queries that preserve hierarchy | 6 | 0 | 0 | 6 | 0 |
Use Case "XMP": Experiences and Exemplars | 12 | 0 | 0 | 12 | 0 |
Constructor Functions for User Defined Functions | 0 | 0 | 0 | 0 | 10 |
Type Checking and Error Handling | 6 | 0 | 0 | 6 | 36 |
Validate Expression | 0 | 0 | 29 | 29 | 16 |
Version Declaration | 0 | 0 | 0 | 0 | 2 |
Version Declaration | 10 | 0 | 0 | 10 | 20 |
WHERE Clause | 30 | 0 | 0 | 30 | 12 |
XMark -- An XML Benchmark | 21 | 0 | 0 | 21 | 0 |
Conformance to the XML 1.0 3-5th edition and XML 1.1 | 2 | 0 | 0 | 2 | 3 |
XQuery Comments | 32 | 0 | 0 | 32 | 13 |
fn:year-from-date | 25 | 0 | 0 | 25 | 2 |
fn:year-from-dateTime | 25 | 0 | 0 | 25 | 2 |
op:add-yearMonthDuration-to-dateTime | 22 | 0 | 0 | 22 | 4 |
op:add-yearMonthDurations | 24 | 0 | 0 | 24 | 0 |
op:divide-yearMonthDuration | 25 | 0 | 0 | 25 | 3 |
op:divide-yearMonthDuration-by-yearMonthDuration | 22 | 0 | 0 | 22 | 0 |
op:yearMonthDuration-equal | 7 | 0 | 0 | 7 | 0 |
op:yearMonthDuration-greater-than | 28 | 0 | 0 | 28 | 0 |
op:yearMonthDuration-less-than | 28 | 0 | 0 | 28 | 0 |
op:multiply-yearMonthDuration | 28 | 0 | 0 | 28 | 10 |
op:subtract-yearMonthDurations | 24 | 0 | 0 | 24 | 6 |
fn:years-from-duration | 28 | 0 | 0 | 28 | 2 |
Testname | Description | Got | Expected |
---|---|---|---|
abbreviatedSyntax-2 | Evaluates abbreviated syntax, "text()". Selects all text node children of the context node. Query, XML-Input | Text data from Employee[2] | Text data from Employee[2] |
abbreviatedSyntax-3 | Evaluates abbreviated syntax, "@name". Selects the name attribute of the context node. Query, XML-Input | <employee name="John Doe 10" gender="male"> <empnum>E3</empnum> <pnum>P2</pnum> <hours>20</hours> </employee> | <employee name="John Doe 10" gender="male"> <empnum>E3</empnum> <pnum>P2</pnum> <hours>20</hours> </employee> |
abbreviatedSyntax-5 | Evaluates abbreviated syntax, "employee[1]". Selects the first employee child of the context node. Query, XML-Input | <employee name="Jane Doe 1" gender="female"> <empnum>E1</empnum> <pnum>P1</pnum> <hours>40</hours> </employee> | <employee name="Jane Doe 1" gender="female"> <empnum>E1</empnum> <pnum>P1</pnum> <hours>40</hours> </employee> |
abbreviatedSyntax-6 | Evaluates abbreviated syntax, "para[fn:last()]". Selects the last employee child of the context node. Query, XML-Input | <employee name="Jane Doe 13" gender="female" type="FT"> <empnum>E4</empnum> <pnum>P5</pnum> <hours>80</hours> <status>active</status> </employee> | <employee name="Jane Doe 13" gender="female" type="FT"> <empnum>E4</empnum> <pnum>P5</pnum> <hours>80</hours> <status>active</status> </employee> |
abbreviatedSyntax-14 | Evaluates abbreviated syntax, "..". Selects the parent of the context node. Query, XML-Input | <employee name="John Doe 12" gender="male"> <empnum>E4</empnum> <pnum>P4</pnum> <hours>40</hours> <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> </employee> | <employee name="John Doe 12" gender="male"> <empnum>E4</empnum> <pnum>P4</pnum> <hours>40</hours> <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> </employee> |
abbreviatedSyntax-16 | Evaluates abbreviated syntax, "employee[@name="Jane Doe 11"]". Selects all employee children of the context node that have a name attribute with a value "Jane Doe 11". Query, XML-Input | <employee name="Jane Doe 11" gender="female"> <empnum>E4</empnum> <pnum>P2</pnum> <hours>20</hours> </employee> | <employee name="Jane Doe 11" gender="female"> <empnum>E4</empnum> <pnum>P2</pnum> <hours>20</hours> </employee> |
abbreviatedSyntax-17 | Evaluates abbreviated syntax, "employee[@gender="female"][5]". Selects the fifth element child of the context node that has a gender attribute with value "female". Query, XML-Input | <employee name="Jane Doe 9" gender="female"> <empnum>E3</empnum> <pnum>P2</pnum> <hours>20</hours> </employee> | <employee name="Jane Doe 9" gender="female"> <empnum>E3</empnum> <pnum>P2</pnum> <hours>20</hours> </employee> |
abbreviatedSyntax-18 | Evaluates abbreviated syntax, "employee[5][@gender="female"]". Selects the fifth employee child of the context node if that child has a gender attribute with value "female". Query, XML-Input | <employee name="Jane Doe 5" gender="female"> <empnum>E1</empnum> <pnum>P5</pnum> <hours>20</hours> <hours>30</hours> </employee> | <employee name="Jane Doe 5" gender="female"> <empnum>E1</empnum> <pnum>P5</pnum> <hours>20</hours> <hours>30</hours> </employee> |
abbreviatedSyntax-19 | Evaluates abbreviated syntax, "employee[status="active"]". Selects the employee children of the context node that have one or more status children whose typed value is equal to the string "active". Query, XML-Input | <employee name="Jane Doe 13" gender="female" type="FT"> <empnum>E4</empnum> <pnum>P5</pnum> <hours>80</hours> <status>active</status> </employee> | <employee name="Jane Doe 13" gender="female" type="FT"> <empnum>E4</empnum> <pnum>P5</pnum> <hours>80</hours> <status>active</status> </employee> |
abbreviatedSyntax-20 | Evaluates abbreviated syntax, "employee[overtime]". Selects the employee children of the context node that have one or more overtime children. Query, XML-Input | <employee name="John Doe 12" gender="male"> <empnum>E4</empnum> <pnum>P4</pnum> <hours>40</hours> <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> </employee> | <employee name="John Doe 12" gender="male"> <empnum>E4</empnum> <pnum>P4</pnum> <hours>40</hours> <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> </employee> |
abbreviatedSyntax-21 | Evaluates abbreviated syntax, "employee[@name and @type]". Selects all the employee children of the context node that have both a name attribute and a type attribute. Query, XML-Input | <employee name="Jane Doe 13" gender="female" type="FT"> <empnum>E4</empnum> <pnum>P5</pnum> <hours>80</hours> <status>active</status> </employee> | <employee name="Jane Doe 13" gender="female" type="FT"> <empnum>E4</empnum> <pnum>P5</pnum> <hours>80</hours> <status>active</status> </employee> |
abbreviatedSyntax-25 | Evaluates abbreviated syntax, "employee[@name=condition or @type=condition]". Selects all the employee children of the context node that have both a name attribute and a type attribute. Uses the "or" operator. Query, XML-Input | <employee name="Jane Doe 13" gender="female" type="FT"> <empnum>E4</empnum> <pnum>P5</pnum> <hours>80</hours> <status>active</status> </employee> | <employee name="Jane Doe 13" gender="female" type="FT"> <empnum>E4</empnum> <pnum>P5</pnum> <hours>80</hours> <status>active</status> </employee> |
Testname | Description | Got | Expected |
---|---|---|---|
fn-absdbl1args-1 | Evaluates the "abs" function with the arguments set as follows: $arg = xs:double(lower bound). Query, XML-Input | 1.79769313486232E308 | 1.7976931348623157E308 |
fn-absdbl1args-3 | Evaluates the "abs" function with the arguments set as follows: $arg = xs:double(upper bound). Query, XML-Input | 1.79769313486232E308 | 1.7976931348623157E308 |
Testname | Description | Got | Expected |
---|---|---|---|
ancestor-11 | Evaluation of an ancestor axis that is part of an "union" operation and both operands are the same. Query, XML-Input | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> |
ancestor-12 | Evaluation of an ancestor axis that is part of an "union" operation and both operands are different. Query, XML-Input | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> |
ancestor-13 | Evaluation of an ancestor axis that is part of an "intersect" operation and both operands are the same. Query, XML-Input | <employee name="John Doe 12" gender="male"> <empnum>E4</empnum> <pnum>P4</pnum> <hours>40</hours> <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> </employee> | <employee name="John Doe 12" gender="male"> <empnum>E4</empnum> <pnum>P4</pnum> <hours>40</hours> <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> </employee> |
unabbreviatedSyntax-10 | Evaluates unabbreviated syntax - ancestor::employee - Selects all the "employee" ancestors of the context node. Query, XML-Input | <employee name="Jane Doe 1" gender="female"> <empnum>E1</empnum> <pnum>P1</pnum> <hours>40</hours> </employee> | <employee name="Jane Doe 1" gender="female"> <empnum>E1</empnum> <pnum>P1</pnum> <hours>40</hours> </employee> |
Testname | Description | Got | Expected |
---|---|---|---|
ancestorself-11 | Evaluation of an ancestor-or-self axis that is part of an "union" operation and both operands are the same. Query, XML-Input | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> |
ancestorself-12 | Evaluation of an ancestor-or-self axis that is part of an "union" operation and both operands are different. Query, XML-Input | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> |
ancestorself-13 | Evaluation of an ancestor-or-self axis that is part of an "intersect" operation and both operands are the same. Query, XML-Input | <employee name="John Doe 12" gender="male"> <empnum>E4</empnum> <pnum>P4</pnum> <hours>40</hours> <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> </employee> | <employee name="John Doe 12" gender="male"> <empnum>E4</empnum> <pnum>P4</pnum> <hours>40</hours> <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> </employee> |
unabbreviatedSyntax-11 | Evaluates unabbreviated syntax - ancestor-or-self::employee - Selects all the "employee" ancestors of the context node (selects employee, if the context node is "employee"). Query, XML-Input | <employee name="Jane Doe 1" gender="female"> <empnum>E1</empnum> <pnum>P1</pnum> <hours>40</hours> </employee> | <employee name="Jane Doe 1" gender="female"> <empnum>E1</empnum> <pnum>P1</pnum> <hours>40</hours> </employee> |
Testname | Description | Got | Expected |
---|---|---|---|
Axes085 | Use of // to get all elements of a given name. Query, XML-Input | <root><Customers CustomerID="ALFKI"> <CompanyName>Alfreds Futterkiste</CompanyName> <ContactName>Maria Anders</ContactName> <ContactTitle>Sales Representative</ContactTitle> <Phone>030-0074321</Phone> <Fax>030-0076545</Fax> <FullAddress> <Address>Obere Str. 57</Address> <City>Berlin</City> <PostalCode>12209</PostalCode> <Country>Germany</Country> </FullAddress> </Customers><Customers CustomerID="ANATR"> <CompanyName>Ana Trujillo Emparedados y helados</CompanyName> <ContactName>Ana Trujillo</ContactName> <ContactTitle>Owner</ContactTitle> <Phone>(5) 555-4729</Phone> <Fax>(5) 555-3745</Fax> <FullAddress> <Address>Avda. de la Constitución 2222</Address> <City>México D.F.</City> <PostalCode>05021</PostalCode> <Country>Mexico</Country> </FullAddress> </Customers><Customers CustomerID="ANTON"> <CompanyName>Antonio Moreno TaquerÃa</CompanyName> <ContactName>Antonio Moreno</ContactName> <ContactTitle>Owner</ContactTitle> <Phone>(5) 555-3932</Phone> <FullAddress> <Address>Mataderos 2312</Address> <City>México D.F.</City> <PostalCode>05023</PostalCode> <Country>Mexico</Country> </FullAddress> </Customers><Customers CustomerID="AROUT"> <CompanyName>Around the Horn</CompanyName> <ContactName>Thomas Hardy</ContactName> <ContactTitle>Sales Representative</ContactTitle> <Phone>(171) 555-7788</Phone> <Fax>(171) 555-6750</Fax> <FullAddress> <Address>120 Hanover Sq.</Address> <City>London</City> <PostalCode>WA1 1DP</PostalCode> <Country>UK</Country> </FullAddress> </Customers><Customers CustomerID="BERGS"> <CompanyName>Berglunds snabbköp</CompanyName> <ContactName>Christina Berglund</ContactName> <ContactTitle>Order Administrator</ContactTitle> <Phone>0921-12 34 65</Phone> <Fax>0921-12 34 67</Fax> <FullAddress> <Address>Berguvsvägen 8</Address> <City>LuleÃ¥</City> <PostalCode>S-958 22</PostalCode> <Country>Sweden</Country> </FullAddress> </Customers><Customers CustomerID="BLAUS"> <CompanyNa ...skipped 36991 characters... | <root><Customers CustomerID="ALFKI"> <CompanyName>Alfreds Futterkiste</CompanyName> <ContactName>Maria Anders</ContactName> <ContactTitle>Sales Representative</ContactTitle> <Phone>030-0074321</Phone> <Fax>030-0076545</Fax> <FullAddress> <Address>Obere Str. 57</Address> <City>Berlin</City> <PostalCode>12209</PostalCode> <Country>Germany</Country> </FullAddress> </Customers><Customers CustomerID="ANATR"> <CompanyName>Ana Trujillo Emparedados y helados</CompanyName> <ContactName>Ana Trujillo</ContactName> <ContactTitle>Owner</ContactTitle> <Phone>(5) 555-4729</Phone> <Fax>(5) 555-3745</Fax> <FullAddress> <Address>Avda. de la Constitución 2222</Address> <City>México D.F.</City> <PostalCode>05021</PostalCode> <Country>Mexico</Country> </FullAddress> </Customers><Customers CustomerID="ANTON"> <CompanyName>Antonio Moreno TaquerÃa</CompanyName> <ContactName>Antonio Moreno</ContactName> <ContactTitle>Owner</ContactTitle> <Phone>(5) 555-3932</Phone> <FullAddress> <Address>Mataderos 2312</Address> <City>México D.F.</City> <PostalCode>05023</PostalCode> <Country>Mexico</Country> </FullAddress> </Customers><Customers CustomerID="AROUT"> <CompanyName>Around the Horn</CompanyName> <ContactName>Thomas Hardy</ContactName> <ContactTitle>Sales Representative</ContactTitle> <Phone>(171) 555-7788</Phone> <Fax>(171) 555-6750</Fax> <FullAddress> <Address>120 Hanover Sq.</Address> <City>London</City> <PostalCode>WA1 1DP</PostalCode> <Country>UK</Country> </FullAddress> </Customers><Customers CustomerID="BERGS"> <CompanyName>Berglunds snabbköp</CompanyName> <ContactName>Christina Berglund</ContactName> <ContactTitle>Order Administrator</ContactTitle> <Phone>0921-12 34 65</Phone> <Fax>0921-12 34 67</Fax> <FullAddress> <Address>Berguvsvägen 8</Address> <City>LuleÃ¥</City> <PostalCode>S-958 22</PostalCode> <Country>Sweden</Country> </FullAddress ...skipped 38051 characters... |
Axes086 | Parent of attribute node. Query, XML-Input | <root><west mark="w0"/><center mark="c0">Text in center</center><east mark="e0">Text in east</east></root> | <root><west mark="w0" /><center mark="c0">Text in center</center><east mark="e0">Text in east</east></root> |
Axes089 | A query that performs a Night's tour of the chessboard, originally written by Michael Kay. Query, XML-Input | <html><head><title>Knight's tour</title></head><body><div align="center"><h1>Knight's tour starting at a1</h1><table border="1" cellpadding="4"><tr><td align="center" bgcolor="white" width="22">36</td><td align="center" bgcolor="xffff44" width="22">19</td><td align="center" bgcolor="white" width="22">22</td><td align="center" bgcolor="xffff44" width="22">5</td><td align="center" bgcolor="white" width="22">38</td><td align="center" bgcolor="xffff44" width="22">9</td><td align="center" bgcolor="white" width="22">24</td><td align="center" bgcolor="xffff44" width="22">7</td></tr><tr><td align="center" bgcolor="xffff44" width="22">21</td><td align="center" bgcolor="white" width="22">4</td><td align="center" bgcolor="xffff44" width="22">37</td><td align="center" bgcolor="white" width="22">42</td><td align="center" bgcolor="xffff44" width="22">23</td><td align="center" bgcolor="white" width="22">6</td><td align="center" bgcolor="xffff44" width="22">39</td><td align="center" bgcolor="white" width="22">10</td></tr><tr><td align="center" bgcolor="white" width="22">18</td><td align="center" bgcolor="xffff44" width="22">35</td><td align="center" bgcolor="white" width="22">20</td><td align="center" bgcolor="xffff44" width="22">49</td><td align="center" bgcolor="white" width="22">44</td><td align="center" bgcolor="xffff44" width="22">41</td><td align="center" bgcolor="white" width="22">8</td><td align="center" bgcolor="xffff44" width="22">25</td></tr><tr><td align="center" bgcolor="xffff44" width="22">3</td><td align="center" bgcolor="white" width="22">50</td><td align="center" bgcolor="xffff44" width="22">43</td><td align="center" bgcolor="white" width="22">46</td><td align="center" bgcolor="xffff44" width="22">55</td><td align="center" bgcolor="white" width="22">62</td><td align="center" bgcolor="xffff44" width="22">11</td><td align="center" bgcolor="white" width="22">40</td></tr><tr><td align="center" bgcolor="white" width="22">34</td><td align="center" bgcolor="xffff44" width="22">17</td><td align="center" bgcolo ...skipped 3705 characters... | <?xml version="1.0" encoding="UTF-8"?><html><head><title>Knight's tour</title></head><body><div align="center"><h1>Knight's tour starting at a1</h1><table border="1" cellpadding="4"><tr><td width="22" align="center" bgcolor="white">36</td><td width="22" align="center" bgcolor="xffff44">19</td><td width="22" align="center" bgcolor="white">22</td><td width="22" align="center" bgcolor="xffff44">5</td><td width="22" align="center" bgcolor="white">38</td><td width="22" align="center" bgcolor="xffff44">9</td><td width="22" align="center" bgcolor="white">24</td><td width="22" align="center" bgcolor="xffff44">7</td></tr><tr><td width="22" align="center" bgcolor="xffff44">21</td><td width="22" align="center" bgcolor="white">4</td><td width="22" align="center" bgcolor="xffff44">37</td><td width="22" align="center" bgcolor="white">42</td><td width="22" align="center" bgcolor="xffff44">23</td><td width="22" align="center" bgcolor="white">6</td><td width="22" align="center" bgcolor="xffff44">39</td><td width="22" align="center" bgcolor="white">10</td></tr><tr><td width="22" align="center" bgcolor="white">18</td><td width="22" align="center" bgcolor="xffff44">35</td><td width="22" align="center" bgcolor="white">20</td><td width="22" align="center" bgcolor="xffff44">49</td><td width="22" align="center" bgcolor="white">44</td><td width="22" align="center" bgcolor="xffff44">41</td><td width="22" align="center" bgcolor="white">8</td><td width="22" align="center" bgcolor="xffff44">25</td></tr><tr><td width="22" align="center" bgcolor="xffff44">3</td><td width="22" align="center" bgcolor="white">50</td><td width="22" align="center" bgcolor="xffff44">43</td><td width="22" align="center" bgcolor="white">46</td><td width="22" align="center" bgcolor="xffff44">55</td><td width="22" align="center" bgcolor="white">62</td><td width="22" align="center" bgcolor="xffff44">11</td><td width="22" align="center" bgcolor="white">40</td></tr><tr><td width="22" align="center" bgcolor="white">34</td><td width="22" align="center" bgcolor="xffff44">17</ ...skipped 3733 characters... |
K2-Axes-1 | A complex set of root path expressions. Query, XML-Input | <f>f's value</f> | <f>f's value</f> |
Testname | Description | Got | Expected |
---|---|---|---|
fn-base-uri-11 | Evaluates the "base-uri" function with argument set to a Document node (via computed construction as argument). Query, XML-Input | 1 | 0 |
Testname | Description | Got | Expected |
---|---|---|---|
Catalog001 | Check variable name is used, if source is not "emptydoc". Query, XML-Input | <missing-variable/> | <missing-variable></missing-variable> |
Testname | Description | Got | Expected |
---|---|---|---|
fn-ceilingdbl1args-1 | Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:double(lower bound). Query, XML-Input | -1.79769313486232E308 | -1.7976931348623157E308 |
fn-ceilingdbl1args-3 | Evaluates the "ceiling" function with the arguments set as follows: $arg = xs:double(upper bound). Query, XML-Input | 1.79769313486232E308 | 1.7976931348623157E308 |
Testname | Description | Got | Expected |
---|---|---|---|
K2-ComputeConAttr-51 | Construct an attribute with no prefix and a non-empty namespace URI. Query, XML-Input | <e xmlns:XXX="http://example.com/" XXX:attr=""/> | IGNORED OUTPUT (counted as correct) |
K2-ComputeConAttr-53 | Serialize an attribute that has a namespace URI but no prefix. The implementation invents a prefix in this case. Query, XML-Input | <e xmlns:XXX="http://example.com/" XXX:attr=""/> | IGNORED OUTPUT (counted as correct) |
K2-ComputeConAttr-58 | Serialize an attribute that has a namespace URI but no prefix, and whose namespace URI is already in scope. Query, XML-Input | <e xmlns:p="http://example.com/" xmlns:XXX="http://example.com/" p:attr1="value" XXX:attr2=""/> | IGNORED OUTPUT (counted as correct) |
Testname | Description | Got | Expected |
---|---|---|---|
K2-ComputeConElem-9 | Check that a directly constructed element gets the right type(#2). Query, XML-Input | true | false |
Testname | Description | Got | Expected |
---|---|---|---|
K2-ComputeConPI-8 | Extract the data from a computed PI. Query, XML-Input | asdas? > | asdas? > |
Testname | Description | Got | Expected |
---|---|---|---|
fn-concatdbl2args-1 | Evaluates the "concat" function with the arguments set as follows: $arg1 = xs:double(lower bound) $arg2 = xs:double(lower bound). Query, XML-Input | -1.79769313486232E308-1.79769313486232E308 | -1.7976931348623157E308-1.7976931348623157E308 |
fn-concatdbl2args-2 | Evaluates the "concat" function with the arguments set as follows: $arg1 = xs:double(mid range) $arg2 = xs:double(lower bound). Query, XML-Input | 0-1.79769313486232E308 | 0-1.7976931348623157E308 |
fn-concatdbl2args-3 | Evaluates the "concat" function with the arguments set as follows: $arg1 = xs:double(upper bound) $arg2 = xs:double(lower bound). Query, XML-Input | 1.79769313486232E308-1.79769313486232E308 | 1.7976931348623157E308-1.7976931348623157E308 |
fn-concatdbl2args-4 | Evaluates the "concat" function with the arguments set as follows: $arg1 = xs:double(lower bound) $arg2 = xs:double(mid range). Query, XML-Input | -1.79769313486232E3080 | -1.7976931348623157E3080 |
fn-concatdbl2args-5 | Evaluates the "concat" function with the arguments set as follows: $arg1 = xs:double(lower bound) $arg2 = xs:double(upper bound). Query, XML-Input | -1.79769313486232E3081.79769313486232E308 | -1.7976931348623157E3081.7976931348623157E308 |
Testname | Description | Got | Expected |
---|---|---|---|
CondExpr002 | Simple if expression where boolean is a constant true. Query, XML-Input | <elem1/> | <elem1 /> |
CondExpr003 | Simple if expression where boolean is a constant false. Query, XML-Input | <elem2/> | <elem2 /> |
CondExpr004 | Node set from a path expression as test condition. Query, XML-Input | <elem1/> | <elem1 /> |
CondExpr005 | Empty node set from a path expression as test condition. Query, XML-Input | <elem2/> | <elem2 /> |
CondExpr007 | Else-expr has another if expression. Query, XML-Input | <elem1/> | <elem1 /> |
CondExpr008 | And-expression in test expression. Query, XML-Input | <PASS/> | <PASS /> |
CondExpr009 | Or-expression in test expression. Query, XML-Input | <PASS/> | <PASS /> |
CondExpr012 | Adapted from example in spec; test expression is a relational expression. Query, XML-Input | <out name="axolotl"/> | <out name="axolotl"/> |
Testname | Description | Got | Expected |
---|---|---|---|
Constr-docnode-constrmod-2 | Preserve IDREFS type. Query, XML-Input | 1 | 2 |
Testname | Description | Got | Expected |
---|---|---|---|
Constr-inscope-10 | Copy element node with namespace. Query, XML-Input | <new xmlns="http://www.example.com"><child2 xmlns:foo="http://www.example.com/parent2" xmlns="" attr="child"/></new> | <new xmlns="http://www.example.com"><child2 xmlns="" xmlns:foo="http://www.example.com/parent2" attr="child"/></new> |
Constr-inscope-12 | Copy element node with namespace. Query, XML-Input | <new xmlns="http://www.example.com"><child2 xmlns:foo="http://www.example.com/parent2" xmlns="" attr="child"/></new> | <new xmlns="http://www.example.com"><child2 xmlns="" xmlns:foo="http://www.example.com/parent2" attr="child"/></new> |
Testname | Description | Got | Expected |
---|---|---|---|
Constr-compelem-constrmod-2 | Preserve IDREFS type. Query, XML-Input | 1 | 2 |
Constr-compelem-constrmod-6 | Preserve IDREFS type. Query, XML-Input | 1 | 2 |
Testname | Description | Got | Expected |
---|---|---|---|
last-1 | Simple last test, where the context node is an element node and the position is last. Query, XML-Input | <employee name="Jane Doe 13" gender="female" type="FT"> <empnum>E4</empnum> <pnum>P5</pnum> <hours>80</hours> <status>active</status> </employee> | <employee name="Jane Doe 13" gender="female" type="FT"> <empnum>E4</empnum> <pnum>P5</pnum> <hours>80</hours> <status>active</status> </employee> |
last-3 | Evaluation of "fn:last", where the last node is selected. Query, XML-Input | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> |
last-4 | Evaluation of "fn:last" together with the fn:position function (format position() = last()). Query, XML-Input | <employee name="Jane Doe 13" gender="female" type="FT"> <empnum>E4</empnum> <pnum>P5</pnum> <hours>80</hours> <status>active</status> </employee> | <employee name="Jane Doe 13" gender="female" type="FT"> <empnum>E4</empnum> <pnum>P5</pnum> <hours>80</hours> <status>active</status> </employee> |
last-5 | Evaluation of "fn:last" together with the fn:position function (format last() = position()). Query, XML-Input | <employee name="Jane Doe 13" gender="female" type="FT"> <empnum>E4</empnum> <pnum>P5</pnum> <hours>80</hours> <status>active</status> </employee> | <employee name="Jane Doe 13" gender="female" type="FT"> <empnum>E4</empnum> <pnum>P5</pnum> <hours>80</hours> <status>active</status> </employee> |
last-8 | Evaluation of "fn:last", where two last functions are used inside the predicate. Query, XML-Input | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> |
last-9 | Evaluation of "fn:last", where the last function is part of a second predicate. Query, XML-Input | <employee name="Jane Doe 13" gender="female" type="FT"> <empnum>E4</empnum> <pnum>P5</pnum> <hours>80</hours> <status>active</status> </employee> | <employee name="Jane Doe 13" gender="female" type="FT"> <empnum>E4</empnum> <pnum>P5</pnum> <hours>80</hours> <status>active</status> </employee> |
last-10 | Evaluation of "fn:last", where the last function is part of the first of two predicates. Query, XML-Input | <employee name="Jane Doe 13" gender="female" type="FT"> <empnum>E4</empnum> <pnum>P5</pnum> <hours>80</hours> <status>active</status> </employee> | <employee name="Jane Doe 13" gender="female" type="FT"> <empnum>E4</empnum> <pnum>P5</pnum> <hours>80</hours> <status>active</status> </employee> |
last-13 | Evaluation of "fn:last" used together with an addition operation. Query, XML-Input | <employee name="John Doe 4" gender="male"> <empnum>E1</empnum> <pnum>P4</pnum> <hours>20</hours> <hours>40</hours> </employee> | <employee name="John Doe 4" gender="male"> <empnum>E1</empnum> <pnum>P4</pnum> <hours>20</hours> <hours>40</hours> </employee> |
last-14 | Evaluation of "fn:last" used together with a subtraction operation. Query, XML-Input | <employee name="Jane Doe 3" gender="female"> <empnum>E1</empnum> <pnum>P3</pnum> <hours>80</hours> </employee> | <employee name="Jane Doe 3" gender="female"> <empnum>E1</empnum> <pnum>P3</pnum> <hours>80</hours> </employee> |
last-15 | Evaluation of "fn:last" used together with a multiplication operation. Query, XML-Input | <employee name="John Doe 6" gender="male"> <empnum>E1</empnum> <pnum>P6</pnum> <hours>12</hours> </employee> | <employee name="John Doe 6" gender="male"> <empnum>E1</empnum> <pnum>P6</pnum> <hours>12</hours> </employee> |
last-16 | Evaluation of "fn:last" used together with a division operation (div). Query, XML-Input | <employee name="Jane Doe 3" gender="female"> <empnum>E1</empnum> <pnum>P3</pnum> <hours>80</hours> </employee> | <employee name="Jane Doe 3" gender="female"> <empnum>E1</empnum> <pnum>P3</pnum> <hours>80</hours> </employee> |
last-17 | Evaluation of "fn:last" used together with a division operation (idiv). Query, XML-Input | <employee name="Jane Doe 3" gender="female"> <empnum>E1</empnum> <pnum>P3</pnum> <hours>80</hours> </employee> | <employee name="Jane Doe 3" gender="female"> <empnum>E1</empnum> <pnum>P3</pnum> <hours>80</hours> </employee> |
last-18 | Evaluation of "fn:last" used together with logical operation ("and" operand and "fn:true"). Query, XML-Input | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> |
last-20 | Evaluation of "fn:last" used together with logical operation ("or" operand and "fn:true"). Query, XML-Input | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> |
last-21 | Evaluation of "fn:last" used together with logical operation ("or" operand and "fn:false"). Query, XML-Input | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> |
last-22 | Evaluation of "fn:last" used in the middle of a path expression. Query, XML-Input | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> |
Testname | Description | Got | Expected |
---|---|---|---|
position-1 | Simple position test, where the context node is an element node and position is first. Query, XML-Input | <employee name="Jane Doe 1" gender="female"> <empnum>E1</empnum> <pnum>P1</pnum> <hours>40</hours> </employee> | <employee name="Jane Doe 1" gender="female"> <empnum>E1</empnum> <pnum>P1</pnum> <hours>40</hours> </employee> |
position-3 | Evaluation of "fn:position", where the last node is selected. Query, XML-Input | <employee name="Jane Doe 13" gender="female" type="FT"> <empnum>E4</empnum> <pnum>P5</pnum> <hours>80</hours> <status>active</status> </employee> | <employee name="Jane Doe 13" gender="female" type="FT"> <empnum>E4</empnum> <pnum>P5</pnum> <hours>80</hours> <status>active</status> </employee> |
position-4 | Evaluation of "fn:position" together with the fn:last function (format position() = last()). Query, XML-Input | <employee name="Jane Doe 13" gender="female" type="FT"> <empnum>E4</empnum> <pnum>P5</pnum> <hours>80</hours> <status>active</status> </employee> | <employee name="Jane Doe 13" gender="female" type="FT"> <empnum>E4</empnum> <pnum>P5</pnum> <hours>80</hours> <status>active</status> </employee> |
position-5 | Evaluation of "fn:position" together with the fn:last function (format last() = position()). Query, XML-Input | <employee name="Jane Doe 13" gender="female" type="FT"> <empnum>E4</empnum> <pnum>P5</pnum> <hours>80</hours> <status>active</status> </employee> | <employee name="Jane Doe 13" gender="female" type="FT"> <empnum>E4</empnum> <pnum>P5</pnum> <hours>80</hours> <status>active</status> </employee> |
position-6 | Evaluation of "fn:position" together with a variable of type integer. Query, XML-Input | <employee name="Jane Doe 1" gender="female"> <empnum>E1</empnum> <pnum>P1</pnum> <hours>40</hours> </employee> | <employee name="Jane Doe 1" gender="female"> <empnum>E1</empnum> <pnum>P1</pnum> <hours>40</hours> </employee> |
position-7 | Evaluation of "fn:position" together with a variable of type string casted to integer inside the predicate. Query, XML-Input | <employee name="Jane Doe 1" gender="female"> <empnum>E1</empnum> <pnum>P1</pnum> <hours>40</hours> </employee> | <employee name="Jane Doe 1" gender="female"> <empnum>E1</empnum> <pnum>P1</pnum> <hours>40</hours> </employee> |
position-8 | Evaluation of "fn:position", where two position functions are used inside the predicate. Query, XML-Input | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> |
position-9 | Evaluation of "fn:position", where the position function is part of a second predicate. Query, XML-Input | <employee name="Jane Doe 1" gender="female"> <empnum>E1</empnum> <pnum>P1</pnum> <hours>40</hours> </employee> | <employee name="Jane Doe 1" gender="female"> <empnum>E1</empnum> <pnum>P1</pnum> <hours>40</hours> </employee> |
position-10 | Evaluation of "fn:position", where the position function is part of the first of two predicates. Query, XML-Input | <employee name="Jane Doe 1" gender="female"> <empnum>E1</empnum> <pnum>P1</pnum> <hours>40</hours> </employee> | <employee name="Jane Doe 1" gender="female"> <empnum>E1</empnum> <pnum>P1</pnum> <hours>40</hours> </employee> |
position-13 | Evaluation of "fn:position" used together with an addition operation. Query, XML-Input | <employee name="John Doe 4" gender="male"> <empnum>E1</empnum> <pnum>P4</pnum> <hours>20</hours> <hours>40</hours> </employee> | <employee name="John Doe 4" gender="male"> <empnum>E1</empnum> <pnum>P4</pnum> <hours>20</hours> <hours>40</hours> </employee> |
position-14 | Evaluation of "fn:position" used together with a subtraction operation. Query, XML-Input | <employee name="Jane Doe 3" gender="female"> <empnum>E1</empnum> <pnum>P3</pnum> <hours>80</hours> </employee> | <employee name="Jane Doe 3" gender="female"> <empnum>E1</empnum> <pnum>P3</pnum> <hours>80</hours> </employee> |
position-15 | Evaluation of "fn:position" used together with a multiplication operation. Query, XML-Input | <employee name="John Doe 6" gender="male"> <empnum>E1</empnum> <pnum>P6</pnum> <hours>12</hours> </employee> | <employee name="John Doe 6" gender="male"> <empnum>E1</empnum> <pnum>P6</pnum> <hours>12</hours> </employee> |
position-16 | Evaluation of "fn:position" used together with a division operation (div). Query, XML-Input | <employee name="Jane Doe 3" gender="female"> <empnum>E1</empnum> <pnum>P3</pnum> <hours>80</hours> </employee> | <employee name="Jane Doe 3" gender="female"> <empnum>E1</empnum> <pnum>P3</pnum> <hours>80</hours> </employee> |
position-17 | Evaluation of "fn:position" used together with a division operation (idiv). Query, XML-Input | <employee name="Jane Doe 3" gender="female"> <empnum>E1</empnum> <pnum>P3</pnum> <hours>80</hours> </employee> | <employee name="Jane Doe 3" gender="female"> <empnum>E1</empnum> <pnum>P3</pnum> <hours>80</hours> </employee> |
position-18 | Evaluation of "fn:position" used together with logical operation ("and" operand and "fn:true"). Query, XML-Input | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> |
position-20 | Evaluation of "fn:position" used together with logical operation ("or" operand and "fn:true"). Query, XML-Input | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> |
position-21 | Evaluation of "fn:position" used together with logical operation ("or" operand and "fn:false"). Query, XML-Input | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> |
position-22 | Evaluation of "fn:position" used in the middle of a path expression. Query, XML-Input | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> |
Testname | Description | Got | Expected |
---|---|---|---|
K2-ConText-4 | Construct from an empty sequence. Query, XML-Input | <a/> | <a></a> |
Testname | Description | Got | Expected |
---|---|---|---|
copynamespace-3 | Evaluates copy namespace declaration with value set to "preserve no-inherit". Query, XML-Input | xml | xml |
K2-CopyNamespacesProlog-5 | Have a namespace which is used further down. Query, XML-Input | <e xmlns:appearsUnused="http://example.com/"><b><appearsUnused:c/></b></e> | <e xmlns:appearsUnused="http://example.com/"><b><appearsUnused:c xmlns:appearsUnused="http://example.com/"/></b></e> |
Testname | Description | Got | Expected |
---|---|---|---|
fn-datadbl1args-1 | Evaluates the "data" function with the arguments set as follows: $arg = xs:double(lower bound). Query, XML-Input | -1.79769313486232E308 | -1.7976931348623157E308 |
fn-datadbl1args-3 | Evaluates the "data" function with the arguments set as follows: $arg = xs:double(upper bound). Query, XML-Input | 1.79769313486232E308 | 1.7976931348623157E308 |
Testname | Description | Got | Expected |
---|---|---|---|
orderDecl-4 | Testing of a simple "intersect" operation with ordering mode to "ordered". Query, XML-Input | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> |
orderdecl-5 | Testing of a simple "intersect" operation with ordering mode to "unordered". Query, XML-Input | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> |
orderdecl-6 | Testing of a simple "except" operation with ordering mode to "ordered". Query, XML-Input | <employee name="Jane Doe 1" gender="female"> <empnum>E1</empnum> <pnum>P1</pnum> <hours>40</hours> </employee> | <employee name="Jane Doe 1" gender="female"> <empnum>E1</empnum> <pnum>P1</pnum> <hours>40</hours> </employee> |
orderDecl-7 | Testing of a simple "except" operation with ordering mode to "unordered". Query, XML-Input | <employee name="Jane Doe 1" gender="female"> <empnum>E1</empnum> <pnum>P1</pnum> <hours>40</hours> </employee> | <employee name="Jane Doe 1" gender="female"> <empnum>E1</empnum> <pnum>P1</pnum> <hours>40</hours> </employee> |
orderDecl-21 | Test of prolog ordering mode set to "ordered", and use of the "parent" axis. Query, XML-Input | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> |
Testname | Description | Got | Expected |
---|---|---|---|
Constr-attr-syntax-4 | Escaped single quote. Query, XML-Input | <elem attr="'"/> | <elem attr="'"/> |
K2-DirectConElemAttr-40 | Attributes with many apostrophes and quotes. Query, XML-Input | <elem attr1=""" attr2="'" attr3="''" attr4="""" attr5="'" attr6="""/> | <elem attr1=""" attr2="'" attr3="''" attr4="""" attr5="'" attr6="""/> |
DirectConElemAttr-1 | Namespace declaration attributes in direct element constructors. Query, XML-Input | <shoe name=" "" "/> | <shoe name=" "" "/> |
DirectConElemAttr-2 | Namespace declaration attributes in direct element constructors. Query, XML-Input | <shoe name=" '''''''' "/> | <shoe name=" '''''''' "/> |
Testname | Description | Got | Expected |
---|---|---|---|
Constr-cont-cdata-1 | CDATA section in element constructor. Query, XML-Input | <elem>cdata&<>'"< </elem> | <elem>cdata&<>'"< </elem> |
Constr-cont-constrmod-2 | Preserve IDREFS type. Query, XML-Input | 1 | 2 |
Constr-cont-constrmod-6 | Preserve IDREFS type. Query, XML-Input | 1 | 2 |
Constr-cont-nsmode-9 | Copy namespace sensitive attribute content: see bug 4151.
This test succeeds: a namespace-sensitive element can be copied if copy-namespaces=preserve,
and its namespace-sensitive attribute can be copied if its parent element is copied Query, XML-Input | <new><atomic:QName xmlns:atomic="http://www.w3.org/XQueryTest" xmlns:foo="http://www.example.com/foo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" atomic:attr="foo:aQname">foo:aQname</atomic:QName></new> | <new><atomic:QName xmlns:atomic="http://www.w3.org/XQueryTest" xmlns:foo="http://www.example.com/foo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" atomic:attr="foo:aQname">foo:aQname</atomic:QName></new> |
Constr-cont-nsmode-11 | Test copying of potentially namespace-sensitive nodes preserves their type correctly. Query, XML-Input | Error:Unknown type: myString in: (: Name: Constr-cont-nsmode-11 :) (: Description: Test copying of potentially namespace-sensitive nodes preserves their type correctly. :) (: Author: Oliver Hallam :) (: Date: 2010-02-24 :) declare construction preserve; declare copy-namespaces no-preserve,inherit; import schema namespace ns="http://www.example.com/test/namespace-sensitive"; declare variable $input-context external; let $node := <e xmlns:bar="http://www.example.org/bar">{$input-context//ns:insensitive}</e> return data($node//ns:insensitive) instance of ns:myString [<- error occurs before here] | true |
Constr-cont-document-3 | Check the merging of text nodes introduced by the contents of a document node Query, XML-Input | <allCodepoints><!-- Each <r>-element represents a codepoint range. The 's' attribute is the start codepoint, the 'e' attribute is the end codepoint. Note that these are only *Hints*, since the character range is not contiguous. --> <r s="9" e="79"> !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`ab</r> <r s="99" e="169">cdefghijklmnopqrstuvwxyz{|}~€Â‚ƒ„ †‡ˆ‰Š‹ŒÂŽ‘’“”•–—˜™š›œÂžŸ ¡¢£¤¥¦§¨</r> <r s="169" e="239">©ª«¬Â®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÃÂÃÄÅÆÇÈÉÊËÌÃÃŽÃÃÑÒÓÔÕÖרÙÚÛÜÃÞßà áâãäåæçèéêëìÃî</r> <r s="239" e="309">ïðñòóôõö÷øùúûüýþÿĀÄĂ㥹ĆćĈĉĊċČÄÄŽÄÄđĒēĔĕĖėĘęĚěĜÄÄžÄŸÄ Ä¡Ä¢Ä£Ä¤Ä¥Ä¦Ä§Ä¨Ä©ÄªÄ«Ä¬ÄĮįİıIJijĴ</r> <r s="309" e="379">ĵĶķĸĹĺĻļĽľĿŀÅłŃńŅņŇňʼnŊŋŌÅÅŽÅÅőŒœŔŕŖŗŘřŚśŜÅŞşŠšŢţŤťŦŧŨũŪūŬÅŮůŰűŲųŴŵŶŷŸŹź</r> <r s="379" e="449">Å»Å¼Å½Å¾Å¿Æ€ÆÆ‚ÆƒÆ„Æ…Æ†Æ‡ÆˆÆ‰ÆŠÆ‹ÆŒÆÆŽÆÆÆ‘Æ’Æ“Æ”Æ•Æ–Æ—Æ˜Æ™ÆšÆ›ÆœÆÆžÆŸÆ Æ¡Æ¢Æ£Æ¤Æ¥Æ¦Æ§Æ¨Æ©ÆªÆ«Æ¬ÆÆ®Æ¯Æ°Æ±Æ²Æ³Æ´ÆµÆ¶Æ·Æ¸Æ¹ÆºÆ»Æ¼Æ½Æ¾Æ¿Ç€</r> <r s="449" e="519">ÇǂǃDŽDždžLJLjljNJNjnjÇÇŽÇÇǑǒǓǔǕǖǗǘǙǚǛǜÇÇžÇŸÇ Ç¡Ç¢Ç£Ç¤Ç¥Ç¦Ç§Ç¨Ç©ÇªÇ«Ç¬ÇǮǯǰDZDzdzǴǵǶǷǸǹǺǻǼǽǾǿȀÈȂȃȄȅȆ</r> <r s="519" e="589">ȇȈȉȊȋȌÈÈŽÈÈȑȒȓȔȕȖȗȘșȚțȜÈÈžÈŸÈ È¡È¢È£È¤È¥È¦È§È¨È©ÈªÈ«È¬ÈȮȯȰȱȲȳȴȵȶȷȸȹȺȻȼȽȾȿɀÉɂɃɄɅɆɇɈɉɊɋɌ</r> <r s="589" e="659">ÉÉŽÉÉɑɒɓɔɕɖɗɘəɚɛɜÉÉžÉŸÉ É¡É¢É£É¤É¥É¦É§É¨É©ÉªÉ«É¬ÉɮɯɰɱɲɳɴɵɶɷɸɹɺɻɼɽɾɿʀÊʂʃʄʅʆʇʈʉʊʋʌÊÊŽÊÊʑʒ</r> <r s="659" e="729">ʓʔʕʖʗʘʙʚʛʜÊÊžÊŸÊ Ê¡Ê¢Ê£Ê¤Ê¥Ê¦Ê§Ê¨Ê©ÊªÊ«Ê¬ÊʮʯʰʱʲʳʴʵʶʷʸʹʺʻʼʽʾʿˀË˂˃˄˅ˆˇˈˉˊˋˌËËŽËËˑ˒˓˔˕˖˗˘</r> <r s="729" e="799">˙˚˛˜ËËžËŸË Ë¡Ë¢Ë£Ë¤Ë¥Ë¦Ë§Ë¨Ë©ËªË«Ë¬Ëˮ˯˰˱˲˳˴˵˶˷˸˹˺˻˼˽˾˿̀Ì̂̃̄̅̆̇̈̉̊̋̌ÌÌŽÌÌ̛̖̗̘̙̜̑̒̓̔̕̚ÌÌž</r> <r s="799" e="869">ÌŸÌ Ì¡Ì¢Ì£Ì¤Ì¥Ì¦Ì§Ì¨Ì©ÌªÌ«Ì¬Ì̮̯̰̱̲̳ ...skipped 4859541 characters... | <?xml version="1.0" encoding="UTF-8"?><allCodepoints><!-- Each <r>-element represents a codepoint range. The 's' attribute is the start codepoint, the 'e' attribute is the end codepoint. Note that these are only *Hints*, since the character range is not contiguous. --> <r s="9" e="79"> !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`ab</r> <r s="99" e="169">cdefghijklmnopqrstuvwxyz{|}~  ¡¢£¤¥¦§¨</r> <r s="169" e="239">©ª«¬Â®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÃÂÃÄÅÆÇÈÉÊËÌÃÃŽÃÃÑÒÓÔÕÖרÙÚÛÜÃÞßà áâãäåæçèéêëìÃî</r> <r s="239" e="309">ïðñòóôõö÷øùúûüýþÿĀÄĂ㥹ĆćĈĉĊċČÄÄŽÄÄđĒēĔĕĖėĘęĚěĜÄÄžÄŸÄ Ä¡Ä¢Ä£Ä¤Ä¥Ä¦Ä§Ä¨Ä©ÄªÄ«Ä¬ÄĮįİıIJijĴ</r> <r s="309" e="379">ĵĶķĸĹĺĻļĽľĿŀÅłŃńŅņŇňʼnŊŋŌÅÅŽÅÅőŒœŔŕŖŗŘřŚśŜÅŞşŠšŢţŤťŦŧŨũŪūŬÅŮůŰűŲųŴŵŶŷŸŹź</r> <r s="379" e="449">Å»Å¼Å½Å¾Å¿Æ€ÆÆ‚ÆƒÆ„Æ…Æ†Æ‡ÆˆÆ‰ÆŠÆ‹ÆŒÆÆŽÆÆÆ‘Æ’Æ“Æ”Æ•Æ–Æ—Æ˜Æ™ÆšÆ›ÆœÆÆžÆŸÆ Æ¡Æ¢Æ£Æ¤Æ¥Æ¦Æ§Æ¨Æ©ÆªÆ«Æ¬ÆÆ®Æ¯Æ°Æ±Æ²Æ³Æ´ÆµÆ¶Æ·Æ¸Æ¹ÆºÆ»Æ¼Æ½Æ¾Æ¿Ç€</r> <r s="449" e="519">ÇǂǃDŽDždžLJLjljNJNjnjÇÇŽÇÇǑǒǓǔǕǖǗǘǙǚǛǜÇÇžÇŸÇ Ç¡Ç¢Ç£Ç¤Ç¥Ç¦Ç§Ç¨Ç©ÇªÇ«Ç¬ÇǮǯǰDZDzdzǴǵǶǷǸǹǺǻǼǽǾǿȀÈȂȃȄȅȆ</r> <r s="519" e="589">ȇȈȉȊȋȌÈÈŽÈÈȑȒȓȔȕȖȗȘșȚțȜÈÈžÈŸÈ È¡È¢È£È¤È¥È¦È§È¨È©ÈªÈ«È¬ÈȮȯȰȱȲȳȴȵȶȷȸȹȺȻȼȽȾȿɀÉɂɃɄɅɆɇɈɉɊɋɌ</r> <r s="589" e="659">ÉÉŽÉÉɑɒɓɔɕɖɗɘəɚɛɜÉÉžÉŸÉ É¡É¢É£É¤É¥É¦É§É¨É©ÉªÉ«É¬ÉɮɯɰɱɲɳɴɵɶɷɸɹɺɻɼɽɾɿʀÊʂʃʄʅʆʇʈʉʊʋʌÊÊŽÊÊʑʒ</r> <r s="659" e="729">ʓʔʕʖʗʘʙʚʛʜÊÊžÊŸÊ Ê¡Ê¢Ê£Ê¤Ê¥Ê¦Ê§Ê¨Ê©ÊªÊ«Ê¬ÊʮʯʰʱʲʳʴʵʶʷʸʹʺʻʼʽʾʿˀË˂˃˄˅ˆˇˈˉˊˋˌËËŽËËˑ˒˓˔˕˖˗˘</r> <r s="729" e="799">˙˚˛˜ËËžËŸË Ë¡Ë¢Ë£Ë¤Ë¥Ë¦Ë§Ë¨Ë ...skipped 4875589 characters... |
K2-DirectConElemContent-35 | Check that a directly constructed element gets the right type(#2). Query, XML-Input | true | false |
Testname | Description | Got | Expected |
---|---|---|---|
K2-DirectConElemNamespace-40 | Ensure the namespaces in-scope are outputted. Query, XML-Input | <b xmlns:B="http://www.example.com/C" xmlns="http://www.example.com/A" xmlns:A="http://www.example.com/C"/> | <b xmlns:B="http://www.example.com/C" xmlns:A="http://www.example.com/C" xmlns="http://www.example.com/A"/> |
K2-DirectConElemNamespace-56 | Check that an attribute name tests properly interact with namespace declarations. Query, XML-Input | <r xmlns:p="http://example.com/" xmlns="http://example.com/"/> | <r xmlns="http://example.com/" xmlns:p="http://example.com/"/> |
Testname | Description | Got | Expected |
---|---|---|---|
K2-DirectConElemWhitespace-22 | It is valid to put ']]>' in element content. Query, XML-Input | ]]> | ]]> |
Testname | Description | Got | Expected |
---|---|---|---|
K2-DirectConOther-66 | Ensure direct element constructors makes namespaces in scope for other node constructors. Query, XML-Input | <a xmlns:a="http://example.com/NotThis" xmlns:b="http://example.com"><b xmlns:a="http://example.com/" xmlns:c="http://example.com/c"><c xmlns:d="http://example.com/d"/>a b c xml | a b c xml<d xmlns:e="http://example.com/d"/></b></a> | <a xmlns:b="http://example.com" xmlns:a="http://example.com/NotThis"><b xmlns:c="http://example.com/c" xmlns:a="http://example.com/"><c xmlns:d="http://example.com/d"/>a b c xml | a b c xml<d xmlns:e="http://example.com/d"/></b></a> |
Testname | Description | Got | Expected |
---|---|---|---|
fn-element-with-id-1 | Compares the new element-with-id() function with the id() function. Query, XML-Input | <out xmlns="http://www.w3.org/XQueryTest/ididrefs" xmlns:i="http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><e><Element-with-ID-attribute id="alpha"><data>derived from Phoenician Aleph</data></Element-with-ID-attribute><Element-with-ID-attribute id="beta"><data>derived from Phoenician Beth</data></Element-with-ID-attribute></e><f><Element-with-ID-attribute id="alpha"><data>derived from Phoenician Aleph</data></Element-with-ID-attribute><Element-with-ID-attribute id="beta"><data>derived from Phoenician Beth</data></Element-with-ID-attribute></f></out> | <?xml version="1.0" encoding="UTF-8"?><out xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:i="http://www.w3.org/XQueryTest/ididrefs" xmlns="http://www.w3.org/XQueryTest/ididrefs"><e><Element-with-ID-attribute id="alpha"><data>derived from Phoenician Aleph</data></Element-with-ID-attribute><Element-with-ID-attribute id="beta"><data>derived from Phoenician Beth</data></Element-with-ID-attribute><id>iota</id><id>kappa</id></e><f><Element-with-ID-attribute id="alpha"><data>derived from Phoenician Aleph</data></Element-with-ID-attribute><Element-with-ID-attribute id="beta"><data>derived from Phoenician Beth</data></Element-with-ID-attribute><Element-with-ID-child><id>iota</id><data>Derived from Phoenician Yodh</data></Element-with-ID-child><Element-with-ID-child><id>kappa</id><data>Derived from Phoenician Kaph</data></Element-with-ID-child></f></out> |
fn-element-with-id-2 | Compares the new element-with-id() function with the id() function.
Uses elements whose type is derived from xs:ID by restriction Query, XML-Input | <out xmlns="http://www.w3.org/XQueryTest/ididrefs" xmlns:i="http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><e/><f/></out> | <?xml version="1.0" encoding="UTF-8"?><out xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:i="http://www.w3.org/XQueryTest/ididrefs" xmlns="http://www.w3.org/XQueryTest/ididrefs"><e><id>lambda</id><id>mu</id></e><f><Element-with-Restricted-ID-child><id>lambda</id><data>Derived from Phoenician Lamedh</data></Element-with-Restricted-ID-child><Element-with-Restricted-ID-child><id>mu</id><data>Derived from Phoenician Mem</data></Element-with-Restricted-ID-child></f></out> |
fn-element-with-id-3 | Compares the new element-with-id() function with the id() function.
Uses elements whose type is a complex type with simple xs:ID content Query, XML-Input | <out xmlns="http://www.w3.org/XQueryTest/ididrefs" xmlns:i="http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><e/><f/></out> | <?xml version="1.0" encoding="UTF-8"?><out xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:i="http://www.w3.org/XQueryTest/ididrefs" xmlns="http://www.w3.org/XQueryTest/ididrefs"><e><id charmed="false">nu</id></e><f><Element-with-complex-ID-child><id charmed="false">nu</id><data>Derived from Phoenician Nun</data></Element-with-complex-ID-child></f></out> |
fn-element-with-id-4 | Compares the new element-with-id() function with the id() function.
Uses elements whose type is derived from xs:ID by list Query, XML-Input | <out xmlns="http://www.w3.org/XQueryTest/ididrefs" xmlns:i="http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><e/><f/><e/><f/></out> | <?xml version="1.0" encoding="UTF-8"?><out xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:i="http://www.w3.org/XQueryTest/ididrefs" xmlns="http://www.w3.org/XQueryTest/ididrefs"><e><id>xi</id></e><f><Element-with-ID-list-child><id>xi</id><data>Derived from Phoenician Samekh</data></Element-with-ID-list-child></f><e/><f/></out> |
fn-element-with-id-5 | Compares the new element-with-id() function with the id() function.
Uses elements whose type is derived from xs:ID by union Query, XML-Input | <out xmlns="http://www.w3.org/XQueryTest/ididrefs" xmlns:i="http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><e/><f/><e/><f/></out> | <?xml version="1.0" encoding="UTF-8"?><out xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:i="http://www.w3.org/XQueryTest/ididrefs" xmlns="http://www.w3.org/XQueryTest/ididrefs"><e><id>omicron</id></e><f><Element-with-ID-union-child><id>omicron</id><data>Derived from Phoenician Ayin</data></Element-with-ID-union-child></f><e/><f/></out> |
Testname | Description | Got | Expected |
---|---|---|---|
extexpr-1 | Simple extension expression that should not be recognized by any implementation and thus ignored. Query, XML-Input | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> |
extexpr-3 | A pragma content containing the "#" symbol, which is ignored in an extension expression. Query, XML-Input | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> |
extexpr-5 | A extension expression that contains more than one pragma, both of wihc are ignored. Query, XML-Input | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> |
extexpr-6 | A FLOWR expression that uses the same pragma twice and both times should be ignored. Query, XML-Input | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> | <overtime> <day>Monday</day> <day>Tuesday</day> </overtime> |
Testname | Description | Got | Expected |
---|---|---|---|
externalcontextitem-22 | Evaluation of external context item expression where context item used as argument to "max" function. Query, XML-Input | <employee name="Jane Doe 1" gender="female"> <empnum>E1</empnum> <pnum>P1</pnum> <hours>40</hours> </employee> | <employee name="Jane Doe 1" gender="female"> <empnum>E1</empnum> <pnum>P1</pnum> <hours>40</hours> </employee> |
externalcontextitem-24 | Evaluation of external context item expression where context item used as argument to "max" function. Query, XML-Input | <employee name="Jane Doe 1" gender="female"> <empnum>E1</empnum> <pnum>P1</pnum> <hours>40</hours> </employee> | <employee name="Jane Doe 1" gender="female"> <empnum>E1</empnum> <pnum>P1</pnum> <hours>40</hours> </employee> |
Testname | Description | Got | Expected |
---|---|---|---|
extvardeclwithtype-6 | External Variable with type (xs:float)definition. Query, XML-Input | 1267432366800896 | 1.2674323E15 |
extvardeclwithtype-23 | Execute a moderately complex query. Query, XML-Input | Error:Invalid variable type, expected: type element got value | <?xml version="1.0" encoding="UTF-8"?><html xmlns="http://www.w3.org/1999/xhtml/" xml:lang="en" lang="en"><head><title>Global variables report for Globals.cpp</title></head><style type="text/css"> .details { text-align: center; font-size: 80%; color: gray } .variableName { font-family: courier } </style><body><p>The following global, complex variables were found:</p><ol><li><span class="variableName">constComplex2</span> in globals.cpp at line 17</li><li><span class="variableName">constComplex1</span> in globals.cpp at line 16</li><li><span class="variableName">mutableComplex2</span> in globals.cpp at line 15</li><li><span class="variableName">mutableComplex1</span> in globals.cpp at line 14</li></ol><p>The following mutable primitives were found:</p><ol><li><span class="variableName">mutablePrimitive2</span> in globals.cpp at line 2</li><li><span class="variableName">mutablePrimitive1</span> in globals.cpp at line 1</li></ol><p class="details">This report was generated on</p></body></html> |
Testname | Description | Got | Expected |
---|---|---|---|
filterexpressionhc1 | Simple filter using data query from xml source and the "gt" operator. Query, XML-Input | <employee> <empnum>E1</empnum> <pnum>P1</pnum> <hours>40</hours> </employee><employee> <empnum>E1</empnum> <pnum>P3</pnum> <hours>80</hours> </employee><employee> <empnum>E2</empnum> <pnum>P1</pnum> <hours>40</hours> </employee><employee> <empnum>E2</empnum> <pnum>P2</pnum> <hours>80</hours> </employee><employee> <empnum>E4</empnum> <pnum>P4</pnum> <hours>40</hours> </employee><employee> <empnum>E4</empnum> <pnum>P5</pnum> <hours>80</hours> </employee> | <employee> <empnum>E1</empnum> <pnum>P1</pnum> <hours>40</hours> </employee><employee> <empnum>E1</empnum> <pnum>P3</pnum> <hours>80</hours> </employee><employee> <empnum>E2</empnum> <pnum>P1</pnum> <hours>40</hours> </employee><employee> <empnum>E2</empnum> <pnum>P2</pnum> <hours>80</hours> </employee><employee> <empnum>E4</empnum> <pnum>P4</pnum> <hours>40</hours> </employee><employee> <empnum>E4</empnum> <pnum>P5</pnum> <hours>80</hours> </employee> |
filterexpressionhc4 | Simple filter expression that queris xml source and uses a "|" operator. Query, XML-Input | <employee> <empnum>E1</empnum> <pnum>P1</pnum> <hours>40</hours> </employee><employee> <empnum>E1</empnum> <pnum>P3</pnum> <hours>80</hours> </employee><employee> <empnum>E2</empnum> <pnum>P1</pnum> <hours>40</hours> </employee><employee> <empnum>E2</empnum> <pnum>P2</pnum> <hours>80</hours> </employee><employee> <empnum>E4</empnum> <pnum>P4</pnum> <hours>40</hours> </employee><employee> <empnum>E4</empnum> <pnum>P5</pnum> <hours>80</hours> </employee> | <employee> <empnum>E1</empnum> <pnum>P1</pnum> <hours>40</hours> </employee><employee> <empnum>E1</empnum> <pnum>P3</pnum> <hours>80</hours> </employee><employee> <empnum>E2</empnum> <pnum>P1</pnum> <hours>40</hours> </employee><employee> <empnum>E2</empnum> <pnum>P2</pnum> <hours>80</hours> </employee><employee> <empnum>E4</empnum> <pnum>P4</pnum> <hours>40</hours> </employee><employee> <empnum>E4</empnum> <pnum>P5</pnum> <hours>80</hours> </employee> |
K2-FilterExpr-7 | Use self::processing-instruction() in a filter predicate. Query, XML-Input | <?y ?> | <?y?> |
Testname | Description | Got | Expected |
---|---|---|---|
fn-floordbl1args-1 | Evaluates the "floor" function with the arguments set as follows: $arg = xs:double(lower bound). Query, XML-Input | -1.79769313486232E308 | -1.7976931348623157E308 |
fn-floordbl1args-3 | Evaluates the "floor" function with the arguments set as follows: $arg = xs:double(upper bound). Query, XML-Input | 1.79769313486232E308 | 1.7976931348623157E308 |
Testname | Description | Got | Expected |
---|---|---|---|
ForExprType025 | FLWOR expressions with type declaration (attribute type). Interleave type integer|decimal -> decimal. Query, XML-Input | 10 20 | |
ForExprType026 | FLWOR expressions with type declaration (attribute type). Match user defined simple type on attribute. Query, XML-Input | Error:Unknown type: Enumeration in: (: Name: ForExprType026 :) (: Description: FLWOR expressions with type declaration (attribute type). Match user defined simple type on attribute :) (: insert-start :) import schema default element namespace "http://www.example.com/typedecl"; declare variable $input-context external; (: insert-end :) for $test as attribute( att,Enumeration [<- error occurs before here] ) in $input-context/root/UserDefinedSimpleTypeAttribute/@att return data( $test ) | ok |
ForExprType027 | FLWOR expressions with type declaration (attribute type). Wildcard match on user defined simple type on attribute. Query, XML-Input | Error:Unknown type: Enumeration in: (: Name: ForExprType027 :) (: Description: FLWOR expressions with type declaration (attribute type). Wildcard match on user defined simple type on attribute :) (: insert-start :) import schema default element namespace "http://www.example.com/typedecl"; declare variable $input-context external; (: insert-end :) for $test as attribute( *,Enumeration [<- error occurs before here] ) in $input-context/root/UserDefinedSimpleTypeAttribute/@att return data( $test ) | ok |
ForExprType037 | FLWOR expressions with type declaration (element type). Simple element name test (no type). Query, XML-Input | <decimal xmlns="http://www.example.com/typedecl">20</decimal> | |
ForExprType038 | FLWOR expressions with type declaration (element type). Match complex, user defined type. Query, XML-Input | Error:Unknown type: InterleaveType in: (: Name: ForExprType038 :) (: Description: FLWOR expressions with type declaration (element type). Match complex, user defined type :) (: insert-start :) import schema default element namespace "http://www.example.com/typedecl"; declare variable $input-context external; (: insert-end :) for $test as element(InterleaveType,InterleaveType [<- error occurs before here] ) in $input-context/root/InterleaveType return $test | <InterleaveType xmlns="http://www.example.com/typedecl"><integer>10</integer><decimal>20</decimal></InterleaveType> |
ForExprType039 | FLWOR expressions with type declaration (element type). Wildcard for name on matching complex, user defined type. Query, XML-Input | Error:Unknown type: InterleaveType in: (: Name: ForExprType039 :) (: Description: FLWOR expressions with type declaration (element type). Wildcard for name on matching complex, user defined type :) (: insert-start :) import schema default element namespace "http://www.example.com/typedecl"; declare variable $input-context external; (: insert-end :) for $test as element(*,InterleaveType [<- error occurs before here] ) in $input-context/root/InterleaveType return $test | <InterleaveType xmlns="http://www.example.com/typedecl"><integer>10</integer><decimal>20</decimal></InterleaveType> |
ForExprType040 | FLWOR expressions with type declaration (element type). Match user defined simple type on element. Query, XML-Input | Error:Unknown type: Enumeration in: (: Name: ForExprType040 :) (: Description: FLWOR expressions with type declaration (element type). Match user defined simple type on element :) (: insert-start :) import schema default element namespace "http://www.example.com/typedecl"; declare variable $input-context external; (: insert-end :) for $test as element( UserDefinedSimpleType, Enumeration [<- error occurs before here] ) in $input-context/root/UserDefinedSimpleType return $test | <UserDefinedSimpleType xmlns="http://www.example.com/typedecl">ok</UserDefinedSimpleType> |
ForExprType041 | FLWOR expressions with type declaration (element type). Wildcard match on user defined simple type on element. Query, XML-Input | Error:Unknown type: Enumeration in: (: Name: ForExprType041 :) (: Description: FLWOR expressions with type declaration (element type). Wildcard match on user defined simple type on element :) (: insert-start :) import schema default element namespace "http://www.example.com/typedecl"; declare variable $input-context external; (: insert-end :) for $test as element( *, Enumeration [<- error occurs before here] ) in $input-context/root/UserDefinedSimpleType return $test | <UserDefinedSimpleType xmlns="http://www.example.com/typedecl">ok</UserDefinedSimpleType> |
ForExprType042 | FLWOR expressions with type declaration (element type). Interleave value type integer|decimal -> decimal. Query, XML-Input | <integer xmlns="http://www.example.com/typedecl">10</integer><decimal xmlns="http://www.example.com/typedecl">20</decimal> | |
ForExprType043 | FLWOR expressions with type declaration (element type). Union type integer|decimal -> decimal. Query, XML-Input | <decimal xmlns="http://www.example.com/typedecl">20</decimal> | |
ForExprType044 | FLWOR expressions with type declaration (element type). List type. Query, XML-Input | <ListType xmlns="http://www.example.com/typedecl">entity1 entity2 entity3</ListType> | |
ForExprType048 | FLWOR expressions with type declaration. Non-trivial value type promotion: anyAtomicType value type -> anyAtomicType. Query, XML-Input | 10 | |
ForExprType049 | FLWOR expressions with type declaration. Non-trivial value type promotion: Interleave value type integer|decimal -> decimal. Query, XML-Input | 10 20 | |
ForExprType050 | FLWOR expressions with type declaration. Non-trivial value type promotion: Union type integer|decimal -> decimal. Query, XML-Input | Error:Sequence contains not one element | 20 |
ForExprType051 | FLWOR expressions with type declaration. Non-trivial value type promotion: List type. Query, XML-Input | Error:Sequence contains not one element | entity1 entity2 entity3 |
ForExprType052 | FLWOR expressions with type declaration. Non-trivial value type promotion: User defined simple type. Query, XML-Input | Error:Unknown type: Enumeration in: (: Name: ForExprType052 :) (: Description: FLWOR expressions with type declaration. Non-trivial value type promotion: User defined simple type :) (: insert-start :) import schema default element namespace "http://www.example.com/typedecl"; declare variable $input-context external; (: insert-end :) for $test as Enumeration [<- error occurs before here] in exactly-one(data( $input-context/root/UserDefinedSimpleType )) return $test | ok |
ForExprType053 | FLWOR expressions with type declaration. Non-trivial value type promotion: User defined simple type on attribute. Query, XML-Input | Error:Unknown type: Enumeration in: (: Name: ForExprType053 :) (: Description: FLWOR expressions with type declaration. Non-trivial value type promotion: User defined simple type on attribute :) (: insert-start :) import schema default element namespace "http://www.example.com/typedecl"; declare variable $input-context external; (: insert-end :) for $test as Enumeration [<- error occurs before here] in exactly-one(data( $input-context/root/UserDefinedSimpleTypeAttribute/@att )) return $test | ok |
Testname | Description | Got | Expected |
---|---|---|---|
unabbreviatedSyntax-24 | Evaluates unabbreviated syntax. Evaluate "following-sibling::employee[fn:position() = 1]". Selects the next employee sibling of the context node. Query, XML-Input | <employee name="Jane Doe 3" gender="female"> <empnum>E1</empnum> <pnum>P3</pnum> <hours>80</hours> </employee> | <employee name="Jane Doe 3" gender="female"> <empnum>E1</empnum> <pnum>P3</pnum> <hours>80</hours> </employee> |
Testname | Description | Got | Expected |
---|---|---|---|
ForExprType010 | FLWOR with type expression matching a type from the schema. Query, XML-Input | -100000000000000000 -10000000000000000 -1000000000000000 -100000000000000 -10000000000000 -1000000000000 -100000000000 -10000000000 -1000000000 -100000000 -10000000 -1000000 -100000 -10000 -1000 -100 -10 -1 0 |
Testname | Description | Got | Expected |
---|---|---|---|
ForExpr004 | For+Return - use more than one predicates in 'IN' Expr. Query, XML-Input | <file creator="Mani" creation_date="08/06/00"/> | <file creator="Mani" creation_date="08/06/00" /> |
ForExpr005 | For+Return - use sequence(security/right) as the predicate. Query, XML-Input | <Deny> <security> <right>Read</right> </security> <user>system\Toshiko</user> </Deny> | <Deny> <security> <right>Read</right> </security> <user>system\Toshiko</user> </Deny> |
ForExpr029 | Embedded FLOWR expression that binds same variable on both expressions (two for clauses). Query, XML-Input | Error:This language feature is not available in the selected language. XQuery is required in: ((: Name: ForExpr029 :) (: Description: Embedded FLOWR expression that binds same variable on boths expressions (two for clauses) :) for $var in (1,2) for [<- error occurs before here] $var in (2,2) return $var * $var) | 4 4 4 4 |
Testname | Description | Got | Expected |
---|---|---|---|
ForExprType009 | FLWOR with type expression matching a user defined type. Query, XML-Input | <NegativeNumbers xmlns="http://www.w3.org/XQueryTestOrderBy"> <orderData>-100000000000000000</orderData> <orderData>-10000000000000000</orderData> <orderData>-1000000000000000</orderData> <orderData>-100000000000000</orderData> <orderData>-10000000000000</orderData> <orderData>-1000000000000</orderData> <orderData>-100000000000</orderData> <orderData>-10000000000</orderData> <orderData>-1000000000</orderData> <orderData>-100000000</orderData> <orderData>-10000000</orderData> <orderData>-1000000</orderData> <orderData>-100000</orderData> <orderData>-10000</orderData> <orderData>-1000</orderData> <orderData>-100</orderData> <orderData>-10</orderData> <orderData>-1</orderData> <orderData>-0</orderData> </NegativeNumbers> | <NegativeNumbers xmlns="http://www.w3.org/XQueryTestOrderBy"><orderData>-100000000000000000</orderData><orderData>-10000000000000000</orderData><orderData>-1000000000000000</orderData><orderData>-100000000000000</orderData><orderData>-10000000000000</orderData><orderData>-1000000000000</orderData><orderData>-100000000000</orderData><orderData>-10000000000</orderData><orderData>-1000000000</orderData><orderData>-100000000</orderData><orderData>-10000000</orderData><orderData>-1000000</orderData><orderData>-100000</orderData><orderData>-10000</orderData><orderData>-1000</orderData><orderData>-100</orderData><orderData>-10</orderData><orderData>-1</orderData><orderData>0</orderData></NegativeNumbers> |
ForExprType032 | FLWOR expressions with type declaration. Value based subtype promotion: 2nd level derived types. Query, XML-Input | true abcd 1234 5.6999998 7.5 http://foo | true abcd 1234 5.7 7.5 http://foo |
Testname | Description | Got | Expected |
---|---|---|---|
functx-fn-avg-4 | Simple evaluation of sequence type matching involving instance of and a sequence of integers. Query, XML-Input | 1.16666666666667 | 1.1666666666666667 |
functx-fn-avg-all | Simple evaluation of sequence type matching involving instance of and a sequence of integers. Query, XML-Input | 3 3 P5M 1.16666666666667 | 3 3 P5M 1.1666666666666667 |
Testname | Description | Got | Expected |
---|---|---|---|
functx-fn-data-5 | Simple evaluation of sequence type matching involving instance of and a sequence of integers. Query, XML-Input | 557 Fleece Pullover navy black | 557 Fleece Pullover navy black |
functx-fn-data-all | Simple evaluation of sequence type matching involving instance of and a sequence of integers. Query, XML-Input | 557 557 563 443 784 WMN navy black 557 Fleece Pullover navy black Our favorite shirt! | 557 557 563 443 784 WMN navy black 557 Fleece Pullover navy black Our favorite shirt! |
Testname | Description | Got | Expected |
---|---|---|---|
functx-fn-last-1 | Simple evaluation of sequence type matching involving instance of and a sequence of integers. Query, XML-Input | <product dept="MEN"> <number>784</number> <name language="en">Cotton Dress Shirt</name> <colorChoices>white gray</colorChoices> <desc>Our <i>favorite</i> shirt!</desc> </product> | <product dept="MEN"> <number>784</number> <name language="en">Cotton Dress Shirt</name> <colorChoices>white gray</colorChoices> <desc>Our <i>favorite</i> shirt!</desc> </product> |
Testname | Description | Got | Expected |
---|---|---|---|
functx-fn-namespace-uri-for-prefix-all | Simple evaluation of sequence type matching involving instance of and a sequence of integers. Query, XML-Input | http://datypic.com/pre http://datypic.com/unpre http://datypic.com/pre | http://datypic.com/pre http://datypic.com/unpre http://datypic.com/pre |
Testname | Description | Got | Expected |
---|---|---|---|
functx-fn-root-1 | Simple evaluation of sequence type matching involving instance of and a sequence of integers. Query, XML-Input | <order num="00299432" date="2006-09-15" cust="0221A"> <item dept="WMN" num="557" quantity="1" color="beige"/> <item dept="ACC" num="563" quantity="1"/> <item dept="ACC" num="443" quantity="2"/> <item dept="MEN" num="784" quantity="1" color="blue/white"/> <item dept="MEN" num="784" quantity="1" color="blue/red"/> <item dept="WMN" num="557" quantity="1" color="sage"/> </order> | <order num="00299432" date="2006-09-15" cust="0221A"> <item dept="WMN" num="557" quantity="1" color="beige"/> <item dept="ACC" num="563" quantity="1"/> <item dept="ACC" num="443" quantity="2"/> <item dept="MEN" num="784" quantity="1" color="blue/white"/> <item dept="MEN" num="784" quantity="1" color="blue/red"/> <item dept="WMN" num="557" quantity="1" color="sage"/> </order> |
functx-fn-root-all | Simple evaluation of sequence type matching involving instance of and a sequence of integers. Query, XML-Input | <order num="00299432" date="2006-09-15" cust="0221A"> <item dept="WMN" num="557" quantity="1" color="beige"/> <item dept="ACC" num="563" quantity="1"/> <item dept="ACC" num="443" quantity="2"/> <item dept="MEN" num="784" quantity="1" color="blue/white"/> <item dept="MEN" num="784" quantity="1" color="blue/red"/> <item dept="WMN" num="557" quantity="1" color="sage"/> </order><a><x>123</x></a> | <order num="00299432" date="2006-09-15" cust="0221A"> <item dept="WMN" num="557" quantity="1" color="beige"/> <item dept="ACC" num="563" quantity="1"/> <item dept="ACC" num="443" quantity="2"/> <item dept="MEN" num="784" quantity="1" color="blue/white"/> <item dept="MEN" num="784" quantity="1" color="blue/red"/> <item dept="WMN" num="557" quantity="1" color="sage"/> </order><a><x>123</x></a> |
Testname | Description | Got | Expected |
---|---|---|---|
functx-functx-camel-case-to-words-1 | Simple evaluation of sequence type matching involving instance of and a sequence of integers. Query, XML-Input | thisIsACamelCaseTerm | this Is A Camel Case Term |
functx-functx-camel-case-to-words-2 | Simple evaluation of sequence type matching involving instance of and a sequence of integers. Query, XML-Input | thisIsACamelCaseTerm | this,Is,A,Camel,Case,Term |
functx-functx-camel-case-to-words-all | Simple evaluation of sequence type matching involving instance of and a sequence of integers. Query, XML-Input | thisIsACamelCaseTerm thisIsACamelCaseTerm | this Is A Camel Case Term this,Is,A,Camel,Case,Term |
Testname | Description | Got | Expected |
---|---|---|---|
functx-functx-copy-attributes-1 | Simple evaluation of sequence type matching involving instance of and a sequence of integers. Query, XML-Input | <a x="1" y="2">123</a> | <a y="2" x="1">123</a> |
functx-functx-copy-attributes-all | Simple evaluation of sequence type matching involving instance of and a sequence of integers. Query, XML-Input | <a x="1" y="2">123</a><b y="2" x="9">456</b><d z="5" x="9">123</d> | <a y="2" x="1">123</a><b y="2" x="9">456</b><d z="5" x="9">123</d> |
Testname | Description | Got | Expected |
---|---|---|---|
functx-functx-id-from-element-1 | Simple evaluation of sequence type matching involving instance of and a sequence of integers. Query, XML-Input | preface |
Testname | Description | Got | Expected |
---|---|---|---|
K2-InScopePrefixesFunc-18 | Ensure prefix namespace declarations are counted as in-scope bindings. Query, XML-Input | <e xmlns:p="http://example.com/" xmlns="http://example.com/">3 3</e> | <e xmlns="http://example.com/" xmlns:p="http://example.com/">3 3</e> |
Testname | Description | Got | Expected |
---|---|---|---|
VarDecl009 | Variable with no type definition. Query, XML-Input | <bold>A sample element.</bold> | <bold>A sample element.</bold> |
VarDecl037 | Variable with no type definition. Query, XML-Input | -1.79769313486232E308 | -1.7976931348623157E308 |
VarDecl038 | Variable with no type definition. Query, XML-Input | -1.79769313486232E308 | -1.7976931348623157E308 |
Testname | Description | Got | Expected |
---|---|---|---|
vardeclwithtype-6 | Evaluates declare variable feature with type. Use xs:float. Query, XML-Input | 124999999488 | 1.25E11 |
vardeclwithtype-7 | Evaluates declare variable feature with type. Use xs:double. Query, XML-Input | 1267432330000000 | 1.26743233E15 |
Testname | Description | Got | Expected |
---|---|---|---|
fn-iri-to-uri-18 | Examines that iri-to-uri does not escape the ampersand symbol. Query, XML-Input | example&example | example&example |
K2-IRIToURIfunc-5 | Passing xs:anyURI causes type promotion. Query, XML-Input | Error:Invalid value: a string for type anyURI | a%20string |
K2-IRIToURIfunc-9 | Pass the range of 0x20 to 0x126(hexa decimals). Query, XML-Input | <result>%20!%22#$%&'()*+,-./0123456789:;%3C=%3E?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[%5C]%5E_%60abcdefghijklmnopqrstuvwxyz%7B%7C%7D~%7F%C2%80%C2%81%C2%82%C2%83%C2%84%C2%85%C2%86%C2%87%C2%88%C2%89%C2%8A%C2%8B%C2%8C%C2%8D%C2%8E%C2%8F%C2%90%C2%91%C2%92%C2%93%C2%94%C2%95%C2%96%C2%97%C2%98%C2%99%C2%9A%C2%9B%C2%9C%C2%9D%C2%9E%C2%9F%C2%A0%C2%A1%C2%A2%C2%A3%C2%A4%C2%A5%C2%A6%C2%A7%C2%A8%C2%A9%C2%AA%C2%AB%C2%AC%C2%AD%C2%AE%C2%AF%C2%B0%C2%B1%C2%B2%C2%B3%C2%B4%C2%B5%C2%B6%C2%B7%C2%B8%C2%B9%C2%BA%C2%BB%C2%BC%C2%BD%C2%BE%C2%BF%C3%80%C3%81%C3%82%C3%83%C3%84%C3%85%C3%86%C3%87%C3%88%C3%89%C3%8A%C3%8B%C3%8C%C3%8D%C3%8E%C3%8F%C3%90%C3%91%C3%92%C3%93%C3%94%C3%95%C3%96%C3%97%C3%98%C3%99%C3%9A%C3%9B%C3%9C%C3%9D%C3%9E%C3%9F%C3%A0%C3%A1%C3%A2%C3%A3%C3%A4%C3%A5%C3%A6%C3%A7%C3%A8%C3%A9%C3%AA%C3%AB%C3%AC%C3%AD%C3%AE%C3%AF%C3%B0%C3%B1%C3%B2%C3%B3%C3%B4%C3%B5%C3%B6%C3%B7%C3%B8%C3%B9%C3%BA%C3%BB%C3%BC%C3%BD%C3%BE%C3%BF%C4%80%C4%81%C4%82%C4%83%C4%84%C4%85%C4%86%C4%87%C4%88%C4%89%C4%8A%C4%8B%C4%8C%C4%8D%C4%8E%C4%8F%C4%90%C4%91%C4%92%C4%93%C4%94%C4%95%C4%96%C4%97%C4%98%C4%99%C4%9A%C4%9B%C4%9C%C4%9D%C4%9E%C4%9F%C4%A0%C4%A1%C4%A2%C4%A3%C4%A4%C4%A5%C4%A6</result> | <result>%20!%22#$%&'()*+,-./0123456789:;%3C=%3E?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[%5C]%5E_%60abcdefghijklmnopqrstuvwxyz%7B%7C%7D~%7F%C2%80%C2%81%C2%82%C2%83%C2%84%C2%85%C2%86%C2%87%C2%88%C2%89%C2%8A%C2%8B%C2%8C%C2%8D%C2%8E%C2%8F%C2%90%C2%91%C2%92%C2%93%C2%94%C2%95%C2%96%C2%97%C2%98%C2%99%C2%9A%C2%9B%C2%9C%C2%9D%C2%9E%C2%9F%C2%A0%C2%A1%C2%A2%C2%A3%C2%A4%C2%A5%C2%A6%C2%A7%C2%A8%C2%A9%C2%AA%C2%AB%C2%AC%C2%AD%C2%AE%C2%AF%C2%B0%C2%B1%C2%B2%C2%B3%C2%B4%C2%B5%C2%B6%C2%B7%C2%B8%C2%B9%C2%BA%C2%BB%C2%BC%C2%BD%C2%BE%C2%BF%C3%80%C3%81%C3%82%C3%83%C3%84%C3%85%C3%86%C3%87%C3%88%C3%89%C3%8A%C3%8B%C3%8C%C3%8D%C3%8E%C3%8F%C3%90%C3%91%C3%92%C3%93%C3%94%C3%95%C3%96%C3%97%C3%98%C3%99%C3%9A%C3%9B%C3%9C%C3%9D%C3%9E%C3%9F%C3%A0%C3%A1%C3%A2%C3%A3%C3%A4%C3%A5%C3%A6%C3%A7%C3%A8%C3%A9%C3%AA%C3%AB%C3%AC%C3%AD%C3%AE%C3%AF%C3%B0%C3%B1%C3%B2%C3%B3%C3%B4%C3%B5%C3%B6%C3%B7%C3%B8%C3%B9%C3%BA%C3%BB%C3%BC%C3%BD%C3%BE%C3%BF%C4%80%C4%81%C4%82%C4%83%C4%84%C4%85%C4%86%C4%87%C4%88%C4%89%C4%8A%C4%8B%C4%8C%C4%8D%C4%8E%C4%8F%C4%90%C4%91%C4%92%C4%93%C4%94%C4%95%C4%96%C4%97%C4%98%C4%99%C4%9A%C4%9B%C4%9C%C4%9D%C4%9E%C4%9F%C4%A0%C4%A1%C4%A2%C4%A3%C4%A4%C4%A5%C4%A6</result> |
Testname | Description | Got | Expected |
---|---|---|---|
LetExpr006 | Use xs:double(upper bound). Query, XML-Input | 1.79769313486232E308 | 1.7976931348623157E308 |
Testname | Description | Got | Expected |
---|---|---|---|
Literals003 | Test case where string literal contains a new line. Query, XML-Input | line1 line2 | line1 line2 |
Literals004 | Test case where string literal contains a new line. Query, XML-Input | line1 line2 | line1 line2 |
Literals016 | Test for valid double literal. Query, XML-Input | 6553503200 | 6.5535032E9 |
Literals017 | Test for valid double literal. Query, XML-Input | 6553503.2 | 6.5535032E6 |
Literals025 | Test for valid double literal. Query, XML-Input | -6553503.2 | -6.5535032E6 |
Literals027 | Test for valid double literal. Query, XML-Input | 6553503200 | 6.5535032E9 |
Literals028 | Test for valid double literal. Query, XML-Input | 6553503.2 | 6.5535032E6 |
Literals056 | Test for string literal containing the predefined entity reference '&'. Query, XML-Input | & | & |
Literals057 | Test for string literal containing the predefined entity reference '"'. Query, XML-Input | " | " |
Literals058 | Test for string literal containing the predefined entity reference '''. Query, XML-Input | ' | ' |
Literals059 | Test for string literal containing the predefined entity reference '<'. Query, XML-Input | < | < |
Literals060 | Test for string literal containing the predefined entity reference '>'. Query, XML-Input | > | > |
Literals062 | Test the escaping of the " (quotation) character in XQuery. Query, XML-Input | " | " |
Literals063 | Test the escaping of the ' (apostrophe) character in XQuery. Query, XML-Input | ' | ' |
Literals064 | Test the escaping of the ' (apostrophe) and " (quotation) characters in XQuery. Query, XML-Input | He said, "I don't like it." | He said, "I don't like it." |
Literals065 | Test the escaping of the ' (apostrophe) and " (quotation) characters in XQuery. Query, XML-Input | He said, "I don't like it." | He said, "I don't like it." |
Literals066 | Test the escaping of the ' (apostrophe) and " (quotation) characters as part of an XML element constructor. Query, XML-Input | <test>He said, "I don't like it."</test> | <test>He said, "I don't like it."</test> |
Literals067 | Test the escaping of the ' (apostrophe) and " (quotation) characters as part of an XML attribute constructor. Notice that the " (quote) characters need to be entitized in the attribute content for XML validity. Query, XML-Input | <test check="He said, "I don't like it.""/> | <test check="He said, "I don't like it.""/> |
K2-Literals-11 | Negative zero, as a double. Query, XML-Input | 0 | -0 |
K2-Literals-28 | Ensure that EOLs are normalized in string literals. Query, XML-Input | a string literal | a string literal |
K2-Literals-39 | Ensure that EOLs are normalized in string literals, using single quotes. Query, XML-Input | a string literal | a string literal |
Testname | Description | Got | Expected |
---|---|---|---|
fn-matches-30 | Two digits treated as back-reference Query, XML-Input | true | false |
fn-matches-36 | Test for bug fix of 5348 in Errata for FO Query, XML-Input | false | true |
caselessmatch06 | Call of matches() with "i" flag and Kelvin sign. Query, XML-Input | false | true |
caselessmatch07 | Call of matches() with "i" flag and Kelvin sign. Query, XML-Input | false | true |
caselessmatch08 | Call of matches() with "i" flag and range subtraction. Query, XML-Input | false | true |
caselessmatch09 | Call of matches() with "i" flag and range subtraction. Query, XML-Input | false | true |
caselessmatch15 | Call of matches() with "i" flag and upper-case category. Query, XML-Input | false | true |
K2-MatchesFunc-1 | Whitespace in the regexp is collapsed. Query, XML-Input | false | true |
K2-MatchesFunc-5 | whitespace in the regexp is collapsed, and should therefore compile. Query, XML-Input | false | true |
K2-MatchesFunc-6 | whitespace in the regexp is collapsed completely, and should therefore compile and match. Query, XML-Input | false | true |
Testname | Description | Got | Expected |
---|---|---|---|
fn-id-5 | Evaluation of fn:id with given IDREF matching a single element. Query, XML-Input | Error:Invalid types for function call: id | <elementwithid-1 xmlns = "http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" anId="id1"/> |
fn-id-6 | Evaluation of fn:id with given IDREF does not match any element. Query, XML-Input | Error:Invalid types for function call: id | 0 |
fn-id-7 | Evaluation of fn:id with given IDREF matches same element (Eliminates duplicates). Query, XML-Input | Error:Invalid types for function call: id | <elementwithid-2 xmlns = "http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" anId="id2"/> |
fn-id-8 | Evaluation of fn:id with multiple IDREF matching more than one element (Eliminates duplicates). Query, XML-Input | Error:Invalid types for function call: id | <elementwithid-1 xmlns = "http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" anId="id1"/><elementwithid-2 xmlns = "http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" anId="id2"/> |
fn-id-9 | Evaluation of fn:id with multiple IDREF, but only one matching element. Query, XML-Input | Error:Invalid types for function call: id | <elementwithid-1 xmlns = "http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" anId="id1"/> |
fn-id-10 | Evaluation of fn:id with multiple IDREF, and none matching an element. Query, XML-Input | Error:Invalid types for function call: id | 0 |
fn-id-11 | Evaluation of fn:id with multiple IDREF set to empty string. Query, XML-Input | Error:Invalid types for function call: id | 0 |
fn-id-12 | Evaluation of fn:id function, where first argument is given as part of fn:substring function. Query, XML-Input | Error:Invalid types for function call: id | <elementwithid-3 xmlns = "http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" anId="id3"/> |
fn-id-13 | Evaluation of fn:id, where the same IDREF makes reference to the same element. Query, XML-Input | Error:Invalid types for function call: id | <elementwithid-4 xmlns = "http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" anId="id4"/> |
fn-id-14 | Evaluation of fn:id for for which the given the given IDREF contains a prefix. Query, XML-Input | Error:Invalid types for function call: id | 0 |
fn-id-15 | Evaluation of fn:id for which all members of the IDREF list having the same value. Query, XML-Input | Error:Invalid types for function call: id | <elementwithid-1 xmlns = "http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" anId="id1"/> |
fn-id-16 | Evaluation of fn:id for which all members of the IDREF list having the same value (but different cases). Query, XML-Input | Error:Invalid types for function call: id | <elementwithid-1 xmlns = "http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" anId="id1"/> |
fn-id-17 | Evaluation of fn:id for which the give IDREF uses the lower-case function. Query, XML-Input | Error:Invalid types for function call: id | <elementwithid-1 xmlns = "http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" anId="id1"/> |
fn-id-18 | Evaluation of fn:id for which the give IDREF uses the upper-case function. Query, XML-Input | Error:Invalid types for function call: id | <elementwithid-6 xmlns = "http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" anId="ID5"/> |
fn-id-19 | Evaluation of fn:id for which the give IDREF uses the fn:concat function. Query, XML-Input | Error:Invalid types for function call: id | <elementwithid-1 xmlns = "http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" anId="id1"/> |
fn-id-20 | Evaluation of fn:id for which the give IDREF uses the xs:string function. Query, XML-Input | Error:Invalid types for function call: id | <elementwithid-1 xmlns = "http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" anId="id1"/> |
fn-id-21 | Evaluation of fn:id for which the give IDREF uses the fn:string-join function. Query, XML-Input | Error:Invalid types for function call: id | <elementwithid-1 xmlns = "http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" anId="id1"/> |
fn-id-23 | Evaluation of fn:id together with declare ordering. Query, XML-Input | Error:Invalid types for function call: id | <elementwithid-1 xmlns = "http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" anId="id1"/><elementwithid-2 xmlns = "http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" anId="id2"/> |
fn-idref-5 | Evaluation of fn:idref with given ID matching a single element. Query, XML-Input | Error:Invalid types for function call: idref | <elementwithidref-1 xmlns = "http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance">id1</elementwithidref-1> |
fn-idref-6 | Evaluation of fn:idref with given ID not matching a single element. Query, XML-Input | Error:Invalid types for function call: idref | 0 |
fn-idref-7 | Evaluation of fn:idref with given ID matching multiple elements. Query, XML-Input | Error:Invalid types for function call: idref | <elementwithidref-4 xmlns = "http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance">id4</elementwithidref-4><elementwithidref-6 xmlns = "http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance">id4</elementwithidref-6> |
fn-idref-8 | Evaluation of fn:idref with multiple ID matching multiple elements. Query, XML-Input | Error:Invalid types for function call: idref | <elementwithidref-1 xmlns = "http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance">id1</elementwithidref-1><elementwithidref-2 xmlns = "http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance">id2</elementwithidref-2> |
fn-idref-9 | Evaluation of fn:idref with multiple ID, but only one matching one element. Query, XML-Input | Error:Invalid types for function call: idref | <elementwithidref-1 xmlns = "http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance">id1</elementwithidref-1> |
fn-idref-10 | Evaluation of fn:idref with multiple ID, but none matching one element. Query, XML-Input | Error:Invalid types for function call: idref | 0 |
fn-idref-11 | Evaluation of fn:idref with ID set to empty string. Query, XML-Input | Error:Invalid types for function call: idref | 0 |
fn-idref-12 | Evaluation of fn:idref used as ar argument to function fn:node-name(). Query, XML-Input | Error:Invalid types for function call: idref | elementwithidref-2 |
fn-idref-13 | Evaluation of fn:idref used as part of a node expression ("is" operand). Compare same elements. Query, XML-Input | Error:Invalid types for function call: idref | true |
fn-idref-14 | Evaluation of fn:idref used as part of a node expression ("is" operand). Compare different elements. Query, XML-Input | Error:Invalid types for function call: idref | false |
fn-idref-15 | Evaluation of fn:idref for which ID list have the same value for all its members. Query, XML-Input | Error:Invalid types for function call: idref | <elementwithidref-1 xmlns = "http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance">id1</elementwithidref-1> |
fn-idref-16 | Evaluation of fn:idref for which ID list have the same value for all its members but different case. Query, XML-Input | Error:Invalid types for function call: idref | <elementwithidref-1 xmlns = "http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance">id1</elementwithidref-1> |
fn-idref-17 | Evaluation of fn:idref for which ID uses the fn lower-case function. Query, XML-Input | Error:Invalid types for function call: idref | <elementwithidref-1 xmlns = "http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance">id1</elementwithidref-1> |
fn-idref-18 | Evaluation of fn:idref for which ID uses the fn:upper-case function. Query, XML-Input | Error:Invalid types for function call: idref | <elementwithidref-5 xmlns = "http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance">ID5</elementwithidref-5> |
fn-idref-19 | Evaluation of fn:idref for which $arg uses the fn:concat function. Query, XML-Input | Error:Invalid types for function call: idref | <elementwithidref-1 xmlns = "http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance">id1</elementwithidref-1> |
fn-idref-20 | Evaluation of fn:idref for which $arg uses the xs:string function. Query, XML-Input | Error:Invalid types for function call: idref | <elementwithidref-1 xmlns = "http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance">id1</elementwithidref-1> |
fn-idref-21 | Evaluation of fn:idref for which $arg uses the fn:string-join function. Query, XML-Input | Error:Invalid types for function call: idref | <elementwithidref-1 xmlns = "http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance">id1</elementwithidref-1> |
fn-idref-23 | Evaluation of fn:idref together with declare ordering (ordered). Query, XML-Input | Error:Invalid types for function call: idref | <elementwithidref-4 xmlns = "http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance">id4</elementwithidref-4><elementwithidref-6 xmlns = "http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance">id4</elementwithidref-6> |
fn-idref-30 | Evaluation of fn:idref using IDREF values derived from xs:IDREF by restriction, union, and list. Query, XML-Input | Error:Invalid axis for attribute test | <?xml version="1.0" encoding="UTF-8"?><out xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:i="http://www.w3.org/XQueryTest/ididrefs" xmlns="http://www.w3.org/XQueryTest/ididrefs"><alpha i:IDREF-Union="gamma 976 delta alpha"><IDREF-List>epsilon mu alpha</IDREF-List><IDREF-List-content>epsilon mu alpha</IDREF-List-content></alpha><beta i:Restricted-IDREF="beta"><List-of-Restricted-IDREF>lambda beta iota</List-of-Restricted-IDREF><List-of-Restricted-IDREF-content>lambda beta iota</List-of-Restricted-IDREF-content></beta><gamma i:IDREF-Union="gamma 976 delta alpha"><IDREFS>gamma kappa</IDREFS><IDREFS-content>gamma kappa</IDREFS-content></gamma><delta i:IDREFS="delta eta" i:IDREF-Union="gamma 976 delta alpha"><IDREF-Union>eta 234 delta</IDREF-Union><IDREF-Union-content>eta 234 delta</IDREF-Union-content></delta><epsilon i:IDREF="epsilon"><IDREF-List>epsilon mu alpha</IDREF-List><IDREF-List-content>epsilon mu alpha</IDREF-List-content></epsilon><zeta i:IDREF-List="zeta iota"><IDREF>zeta</IDREF><IDREF-content>zeta</IDREF-content></zeta><eta i:IDREFS="delta eta"><IDREF-Union>eta 234 delta</IDREF-Union><IDREF-Union-content>eta 234 delta</IDREF-Union-content></eta><theta/><iota i:IDREF-List="zeta iota"><Restricted-IDREF>iota</Restricted-IDREF><List-of-Restricted-IDREF>lambda beta iota</List-of-Restricted-IDREF><Restricted-IDREF-content>iota</Restricted-IDREF-content><List-of-Restricted-IDREF-content>lambda beta iota</List-of-Restricted-IDREF-content></iota><kappa i:List-of-Restricted-IDREF="lambda kappa"><IDREFS>gamma kappa</IDREFS><IDREFS-content>gamma kappa</IDREFS-content></kappa><lambda i:List-of-Restricted-IDREF="lambda kappa"><List-of-Restricted-IDREF>lambda beta iota</List-of-Restricted-IDREF><List-of-Restricted-IDREF-content>lambda beta iota</List-of-Restricted-IDREF-content></lambda><mu><IDREF-List>epsilon mu alpha</IDREF-List><IDREF-List-content>epsilon mu alpha</IDREF-List-content></mu></out> |
fn-idref-31 | Evaluation of fn:idref using IDREF values derived from xs:IDREF by restriction, union, and list. Query, XML-Input | Error:Invalid axis for attribute test | <?xml version="1.0" encoding="UTF-8"?><out xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:i="http://www.w3.org/XQueryTest/ididrefs" xmlns="http://www.w3.org/XQueryTest/ididrefs"><e val="alpha" i:IDREF-Union="gamma 976 delta alpha"><IDREF-List>epsilon mu alpha</IDREF-List><IDREF-List-content>epsilon mu alpha</IDREF-List-content></e><e val="beta" i:Restricted-IDREF="beta"><List-of-Restricted-IDREF>lambda beta iota</List-of-Restricted-IDREF><List-of-Restricted-IDREF-content>lambda beta iota</List-of-Restricted-IDREF-content></e><e val="epsilon" i:IDREF="epsilon"><IDREF-List>epsilon mu alpha</IDREF-List><IDREF-List-content>epsilon mu alpha</IDREF-List-content></e><e val="gamma" i:IDREF-Union="gamma 976 delta alpha"><IDREFS>gamma kappa</IDREFS><IDREFS-content>gamma kappa</IDREFS-content></e><e val="kappa" i:List-of-Restricted-IDREF="lambda kappa"><IDREFS>gamma kappa</IDREFS><IDREFS-content>gamma kappa</IDREFS-content></e><e val="mu"><IDREF-List>epsilon mu alpha</IDREF-List><IDREF-List-content>epsilon mu alpha</IDREF-List-content></e></out> |
Testname | Description | Got | Expected |
---|---|---|---|
errata6-003 | Test XQST0036 for known simple type in imported function return type Query, XML-Input | Error:Unknown type: hatsize in: (:*******************************************************:) (: Test: errata6-module2.xq :) (: Written By: John Snelson :) (: Date: 2009/10/01 :) (: Purpose: Module that imports a schema and uses types :) (: from it :) (:*******************************************************:) module namespace errata6_2="http://www.w3.org/TestModules/errata6-2"; import schema namespace a = "http://www.w3.org/XQueryTest/userDefinedTypes"; declare function errata6_2:hatsize-add($a, $b) as a:hatsize [<- error occurs before here] { a:hatsize($a + $b) }; | 8 |
Testname | Description | Got | Expected |
---|---|---|---|
NodeTest003 | Simple test for * node test. Query, XML-Input | <Root> <Customers CustomerID="ALFKI"> <CompanyName>Alfreds Futterkiste</CompanyName> <ContactName>Maria Anders</ContactName> <ContactTitle>Sales Representative</ContactTitle> <Phone>030-0074321</Phone> <Fax>030-0076545</Fax> <FullAddress> <Address>Obere Str. 57</Address> <City>Berlin</City> <PostalCode>12209</PostalCode> <Country>Germany</Country> </FullAddress> </Customers> <Customers CustomerID="ANATR"> <CompanyName>Ana Trujillo Emparedados y helados</CompanyName> <ContactName>Ana Trujillo</ContactName> <ContactTitle>Owner</ContactTitle> <Phone>(5) 555-4729</Phone> <Fax>(5) 555-3745</Fax> <FullAddress> <Address>Avda. de la Constitución 2222</Address> <City>México D.F.</City> <PostalCode>05021</PostalCode> <Country>Mexico</Country> </FullAddress> </Customers> <Customers CustomerID="ANTON"> <CompanyName>Antonio Moreno TaquerÃa</CompanyName> <ContactName>Antonio Moreno</ContactName> <ContactTitle>Owner</ContactTitle> <Phone>(5) 555-3932</Phone> <FullAddress> <Address>Mataderos 2312</Address> <City>México D.F.</City> <PostalCode>05023</PostalCode> <Country>Mexico</Country> </FullAddress> </Customers> <Customers CustomerID="AROUT"> <CompanyName>Around the Horn</CompanyName> <ContactName>Thomas Hardy</ContactName> <ContactTitle>Sales Representative</ContactTitle> <Phone>(171) 555-7788</Phone> <Fax>(171) 555-6750</Fax> <FullAddress> <Address>120 Hanover Sq.</Address> <City>London</City> <PostalCode>WA1 1DP</PostalCode> <Country>UK</Country> </FullAddress> </Customers> <Customers CustomerID="BERGS"> <CompanyName>Berglunds snabbköp</CompanyName> <ContactName>Christina Berglund</ContactName> <ContactTitle>Order Administrator</ContactTitle> <Phone>0921-12 34 65</Phone> <Fax>0921-12 34 67</Fax> <FullAddress> <Address>Berguvsvägen 8</Address> <City>LuleÃ¥</City> <PostalCode>S-958 22</PostalCode> <Country>Sweden</Country> </FullAddress> </Customers> <Customers CustomerID="BLAUS"> ...skipped 37174 characters... | <Root> <Customers CustomerID="ALFKI"> <CompanyName>Alfreds Futterkiste</CompanyName> <ContactName>Maria Anders</ContactName> <ContactTitle>Sales Representative</ContactTitle> <Phone>030-0074321</Phone> <Fax>030-0076545</Fax> <FullAddress> <Address>Obere Str. 57</Address> <City>Berlin</City> <PostalCode>12209</PostalCode> <Country>Germany</Country> </FullAddress> </Customers> <Customers CustomerID="ANATR"> <CompanyName>Ana Trujillo Emparedados y helados</CompanyName> <ContactName>Ana Trujillo</ContactName> <ContactTitle>Owner</ContactTitle> <Phone>(5) 555-4729</Phone> <Fax>(5) 555-3745</Fax> <FullAddress> <Address>Avda. de la Constitución 2222</Address> <City>México D.F.</City> <PostalCode>05021</PostalCode> <Country>Mexico</Country> </FullAddress> </Customers> <Customers CustomerID="ANTON"> <CompanyName>Antonio Moreno TaquerÃa</CompanyName> <ContactName>Antonio Moreno</ContactName> <ContactTitle>Owner</ContactTitle> <Phone>(5) 555-3932</Phone> <FullAddress> <Address>Mataderos 2312</Address> <City>México D.F.</City> <PostalCode>05023</PostalCode> <Country>Mexico</Country> </FullAddress> </Customers> <Customers CustomerID="AROUT"> <CompanyName>Around the Horn</CompanyName> <ContactName>Thomas Hardy</ContactName> <ContactTitle>Sales Representative</ContactTitle> <Phone>(171) 555-7788</Phone> <Fax>(171) 555-6750</Fax> <FullAddress> <Address>120 Hanover Sq.</Address> <City>London</City> <PostalCode>WA1 1DP</PostalCode> <Country>UK</Country> </FullAddress> </Customers> <Customers CustomerID="BERGS"> <CompanyName>Berglunds snabbköp</CompanyName> <ContactName>Christina Berglund</ContactName> <ContactTitle>Order Administrator</ContactTitle> <Phone>0921-12 34 65</Phone> <Fax>0921-12 34 67</Fax> <FullAddress> <Address>Berguvsvägen 8</Address> <City>LuleÃ¥</City> <PostalCode>S-958 22</PostalCode> <Country>Sweden</Country> ...skipped 38326 characters... |
NodeTest004 | Simple test for . node test. Query, XML-Input | <Root> <Customers CustomerID="ALFKI"> <CompanyName>Alfreds Futterkiste</CompanyName> <ContactName>Maria Anders</ContactName> <ContactTitle>Sales Representative</ContactTitle> <Phone>030-0074321</Phone> <Fax>030-0076545</Fax> <FullAddress> <Address>Obere Str. 57</Address> <City>Berlin</City> <PostalCode>12209</PostalCode> <Country>Germany</Country> </FullAddress> </Customers> <Customers CustomerID="ANATR"> <CompanyName>Ana Trujillo Emparedados y helados</CompanyName> <ContactName>Ana Trujillo</ContactName> <ContactTitle>Owner</ContactTitle> <Phone>(5) 555-4729</Phone> <Fax>(5) 555-3745</Fax> <FullAddress> <Address>Avda. de la Constitución 2222</Address> <City>México D.F.</City> <PostalCode>05021</PostalCode> <Country>Mexico</Country> </FullAddress> </Customers> <Customers CustomerID="ANTON"> <CompanyName>Antonio Moreno TaquerÃa</CompanyName> <ContactName>Antonio Moreno</ContactName> <ContactTitle>Owner</ContactTitle> <Phone>(5) 555-3932</Phone> <FullAddress> <Address>Mataderos 2312</Address> <City>México D.F.</City> <PostalCode>05023</PostalCode> <Country>Mexico</Country> </FullAddress> </Customers> <Customers CustomerID="AROUT"> <CompanyName>Around the Horn</CompanyName> <ContactName>Thomas Hardy</ContactName> <ContactTitle>Sales Representative</ContactTitle> <Phone>(171) 555-7788</Phone> <Fax>(171) 555-6750</Fax> <FullAddress> <Address>120 Hanover Sq.</Address> <City>London</City> <PostalCode>WA1 1DP</PostalCode> <Country>UK</Country> </FullAddress> </Customers> <Customers CustomerID="BERGS"> <CompanyName>Berglunds snabbköp</CompanyName> <ContactName>Christina Berglund</ContactName> <ContactTitle>Order Administrator</ContactTitle> <Phone>0921-12 34 65</Phone> <Fax>0921-12 34 67</Fax> <FullAddress> <Address>Berguvsvägen 8</Address> <City>LuleÃ¥</City> <PostalCode>S-958 22</PostalCode> <Country>Sweden</Country> </FullAddress> </Customers> <Customers CustomerID="BLAUS"> ...skipped 37174 characters... | <Root> <Customers CustomerID="ALFKI"> <CompanyName>Alfreds Futterkiste</CompanyName> <ContactName>Maria Anders</ContactName> <ContactTitle>Sales Representative</ContactTitle> <Phone>030-0074321</Phone> <Fax>030-0076545</Fax> <FullAddress> <Address>Obere Str. 57</Address> <City>Berlin</City> <PostalCode>12209</PostalCode> <Country>Germany</Country> </FullAddress> </Customers> <Customers CustomerID="ANATR"> <CompanyName>Ana Trujillo Emparedados y helados</CompanyName> <ContactName>Ana Trujillo</ContactName> <ContactTitle>Owner</ContactTitle> <Phone>(5) 555-4729</Phone> <Fax>(5) 555-3745</Fax> <FullAddress> <Address>Avda. de la Constitución 2222</Address> <City>México D.F.</City> <PostalCode>05021</PostalCode> <Country>Mexico</Country> </FullAddress> </Customers> <Customers CustomerID="ANTON"> <CompanyName>Antonio Moreno TaquerÃa</CompanyName> <ContactName>Antonio Moreno</ContactName> <ContactTitle>Owner</ContactTitle> <Phone>(5) 555-3932</Phone> <FullAddress> <Address>Mataderos 2312</Address> <City>México D.F.</City> <PostalCode>05023</PostalCode> <Country>Mexico</Country> </FullAddress> </Customers> <Customers CustomerID="AROUT"> <CompanyName>Around the Horn</CompanyName> <ContactName>Thomas Hardy</ContactName> <ContactTitle>Sales Representative</ContactTitle> <Phone>(171) 555-7788</Phone> <Fax>(171) 555-6750</Fax> <FullAddress> <Address>120 Hanover Sq.</Address> <City>London</City> <PostalCode>WA1 1DP</PostalCode> <Country>UK</Country> </FullAddress> </Customers> <Customers CustomerID="BERGS"> <CompanyName>Berglunds snabbköp</CompanyName> <ContactName>Christina Berglund</ContactName> <ContactTitle>Order Administrator</ContactTitle> <Phone>0921-12 34 65</Phone> <Fax>0921-12 34 67</Fax> <FullAddress> <Address>Berguvsvägen 8</Address> <City>LuleÃ¥</City> <PostalCode>S-958 22</PostalCode> <Country>Sweden</Country> ...skipped 38326 characters... |
NodeTest005 | Simple test for . and * node test. Query, XML-Input | <Root> <Customers CustomerID="ALFKI"> <CompanyName>Alfreds Futterkiste</CompanyName> <ContactName>Maria Anders</ContactName> <ContactTitle>Sales Representative</ContactTitle> <Phone>030-0074321</Phone> <Fax>030-0076545</Fax> <FullAddress> <Address>Obere Str. 57</Address> <City>Berlin</City> <PostalCode>12209</PostalCode> <Country>Germany</Country> </FullAddress> </Customers> <Customers CustomerID="ANATR"> <CompanyName>Ana Trujillo Emparedados y helados</CompanyName> <ContactName>Ana Trujillo</ContactName> <ContactTitle>Owner</ContactTitle> <Phone>(5) 555-4729</Phone> <Fax>(5) 555-3745</Fax> <FullAddress> <Address>Avda. de la Constitución 2222</Address> <City>México D.F.</City> <PostalCode>05021</PostalCode> <Country>Mexico</Country> </FullAddress> </Customers> <Customers CustomerID="ANTON"> <CompanyName>Antonio Moreno TaquerÃa</CompanyName> <ContactName>Antonio Moreno</ContactName> <ContactTitle>Owner</ContactTitle> <Phone>(5) 555-3932</Phone> <FullAddress> <Address>Mataderos 2312</Address> <City>México D.F.</City> <PostalCode>05023</PostalCode> <Country>Mexico</Country> </FullAddress> </Customers> <Customers CustomerID="AROUT"> <CompanyName>Around the Horn</CompanyName> <ContactName>Thomas Hardy</ContactName> <ContactTitle>Sales Representative</ContactTitle> <Phone>(171) 555-7788</Phone> <Fax>(171) 555-6750</Fax> <FullAddress> <Address>120 Hanover Sq.</Address> <City>London</City> <PostalCode>WA1 1DP</PostalCode> <Country>UK</Country> </FullAddress> </Customers> <Customers CustomerID="BERGS"> <CompanyName>Berglunds snabbköp</CompanyName> <ContactName>Christina Berglund</ContactName> <ContactTitle>Order Administrator</ContactTitle> <Phone>0921-12 34 65</Phone> <Fax>0921-12 34 67</Fax> <FullAddress> <Address>Berguvsvägen 8</Address> <City>LuleÃ¥</City> <PostalCode>S-958 22</PostalCode> <Country>Sweden</Country> </FullAddress> </Customers> <Customers CustomerID="BLAUS"> ...skipped 37174 characters... | <Root> <Customers CustomerID="ALFKI"> <CompanyName>Alfreds Futterkiste</CompanyName> <ContactName>Maria Anders</ContactName> <ContactTitle>Sales Representative</ContactTitle> <Phone>030-0074321</Phone> <Fax>030-0076545</Fax> <FullAddress> <Address>Obere Str. 57</Address> <City>Berlin</City> <PostalCode>12209</PostalCode> <Country>Germany</Country> </FullAddress> </Customers> <Customers CustomerID="ANATR"> <CompanyName>Ana Trujillo Emparedados y helados</CompanyName> <ContactName>Ana Trujillo</ContactName> <ContactTitle>Owner</ContactTitle> <Phone>(5) 555-4729</Phone> <Fax>(5) 555-3745</Fax> <FullAddress> <Address>Avda. de la Constitución 2222</Address> <City>México D.F.</City> <PostalCode>05021</PostalCode> <Country>Mexico</Country> </FullAddress> </Customers> <Customers CustomerID="ANTON"> <CompanyName>Antonio Moreno TaquerÃa</CompanyName> <ContactName>Antonio Moreno</ContactName> <ContactTitle>Owner</ContactTitle> <Phone>(5) 555-3932</Phone> <FullAddress> <Address>Mataderos 2312</Address> <City>México D.F.</City> <PostalCode>05023</PostalCode> <Country>Mexico</Country> </FullAddress> </Customers> <Customers CustomerID="AROUT"> <CompanyName>Around the Horn</CompanyName> <ContactName>Thomas Hardy</ContactName> <ContactTitle>Sales Representative</ContactTitle> <Phone>(171) 555-7788</Phone> <Fax>(171) 555-6750</Fax> <FullAddress> <Address>120 Hanover Sq.</Address> <City>London</City> <PostalCode>WA1 1DP</PostalCode> <Country>UK</Country> </FullAddress> </Customers> <Customers CustomerID="BERGS"> <CompanyName>Berglunds snabbköp</CompanyName> <ContactName>Christina Berglund</ContactName> <ContactTitle>Order Administrator</ContactTitle> <Phone>0921-12 34 65</Phone> <Fax>0921-12 34 67</Fax> <FullAddress> <Address>Berguvsvägen 8</Address> <City>LuleÃ¥</City> <PostalCode>S-958 22</PostalCode> <Country>Sweden</Country> ...skipped 38326 characters... |
K2-NameTest-30 | A element name cannot be a string literal, inside element(). Query, XML-Input | <a:n1 xmlns:a="http://example.com/1" xmlns:b="http://example.com/2"/><b:n1 xmlns:b="http://example.com/2" xmlns:a="http://example.com/1"/><n1 xmlns:a="http://example.com/1" xmlns:b="http://example.com/2"/> | <a:n1 xmlns:b="http://example.com/2" xmlns:a="http://example.com/1"/><b:n1 xmlns:b="http://example.com/2" xmlns:a="http://example.com/1"/><n1 xmlns:b="http://example.com/2" xmlns:a="http://example.com/1"/> |
K2-NameTest-31 | A element name cannot be a string literal, inside element(). Query, XML-Input | <a:n1 xmlns:a="http://example.com/1" xmlns:b="http://example.com/2"/> | <a:n1 xmlns:b="http://example.com/2" xmlns:a="http://example.com/1"/> |
Testname | Description | Got | Expected |
---|---|---|---|
nodeexpression38 | Evaluation of a Node expression With the operands/operator set with the following format: Single Element Constructor ">>" Single Element Constructor. Query, XML-Input | true | false |
nodeexpression42 | Evaluation of a Node expression With the operands/operator set with the following format: Single Node Element ">>" Single Element Constructor. Query, XML-Input | true | false |
nodeexpression46 | Evaluation of a Node expression With the operands/operator set with the following format: Sequence of single Element Node ">>" Single Element Constructor. Query, XML-Input | true | false |
Testname | Description | Got | Expected |
---|---|---|---|
nodeexpression26 | Evaluation of a Node expression With the operands/operator set with the following format: Single Node Element "<<" Single Element Constructor. Query, XML-Input | false | true |
nodeexpression30 | Evaluation of a Node expression With the operands/operator set with the following format: Sequence of single Element Node "<<" Single Element Constructor. Query, XML-Input | false | true |
Testname | Description | Got | Expected |
---|---|---|---|
fn-numberint1args-1 | Evaluates the "number" function with the arguments set as follows: $arg = xs:int(lower bound). Query, XML-Input | -2147483648 | -2.147483648E9 |
fn-numberint1args-2 | Evaluates the "number" function with the arguments set as follows: $arg = xs:int(mid range). Query, XML-Input | -1873914410 | -1.87391441E9 |
fn-numberint1args-3 | Evaluates the "number" function with the arguments set as follows: $arg = xs:int(upper bound). Query, XML-Input | 2147483647 | 2.147483647E9 |
fn-numberintg1args-1 | Evaluates the "number" function with the arguments set as follows: $arg = xs:integer(lower bound). Query, XML-Input | -1000000000000000000 | -1.0E18 |
fn-numberintg1args-3 | Evaluates the "number" function with the arguments set as follows: $arg = xs:integer(upper bound). Query, XML-Input | 1000000000000000000 | 1.0E18 |
fn-numberdec1args-1 | Evaluates the "number" function with the arguments set as follows: $arg = xs:decimal(lower bound). Query, XML-Input | -1000000000000000000 | -1.0E18 |
fn-numberdec1args-3 | Evaluates the "number" function with the arguments set as follows: $arg = xs:decimal(upper bound). Query, XML-Input | 1000000000000000000 | 1.0E18 |
fn-numberdbl1args-1 | Evaluates the "number" function with the arguments set as follows: $arg = xs:double(lower bound). Query, XML-Input | -1.79769313486232E308 | -1.7976931348623157E308 |
fn-numberdbl1args-3 | Evaluates the "number" function with the arguments set as follows: $arg = xs:double(upper bound). Query, XML-Input | 1.79769313486232E308 | 1.7976931348623157E308 |
fn-numberflt1args-3 | Evaluates the "number" function with the arguments set as follows: $arg = xs:float(upper bound). Query, XML-Input | 3.40282346638529E38 | 3.4028234663852885E38 |
fn-numberlng1args-1 | Evaluates the "number" function with the arguments set as follows: $arg = xs:long(lower bound). Query, XML-Input | -92233720368547760 | -9.223372036854776E16 |
fn-numberlng1args-3 | Evaluates the "number" function with the arguments set as follows: $arg = xs:long(upper bound). Query, XML-Input | 92233720368547760 | 9.223372036854776E16 |
fn-numbernint1args-1 | Evaluates the "number" function with the arguments set as follows: $arg = xs:negativeInteger(lower bound). Query, XML-Input | -1000000000000000000 | -1.0E18 |
fn-numberpint1args-3 | Evaluates the "number" function with the arguments set as follows: $arg = xs:positiveInteger(upper bound). Query, XML-Input | 1000000000000000000 | 1.0E18 |
fn-numberulng1args-2 | Evaluates the "number" function with the arguments set as follows: $arg = xs:unsignedLong(mid range). Query, XML-Input | 130747108607674656 | 1.3074710860767466E17 |
fn-numbernpi1args-1 | Evaluates the "number" function with the arguments set as follows: $arg = xs:nonPositiveInteger(lower bound). Query, XML-Input | -1000000000000000000 | -1.0E18 |
fn-numbernpi1args-2 | Evaluates the "number" function with the arguments set as follows: $arg = xs:nonPositiveInteger(mid range). Query, XML-Input | -475688437271870464 | -4.7568843727187049E17 |
fn-numbernni1args-3 | Evaluates the "number" function with the arguments set as follows: $arg = xs:nonNegativeInteger(upper bound). Query, XML-Input | 1000000000000000000 | 1.0E18 |
K-NodeNumberFunc-13 | A test whose essence is: `string(number(xs:anyURI("1"))) eq "NaN"`. Query, XML-Input | false | true |
Testname | Description | Got | Expected |
---|---|---|---|
fn-root-14 | Evaluates the "fn:root" function with argument set to an element node, which is query from an xml file. Query, XML-Input | <langs> <para xml:lang="en"/> <div xml:lang="en"><para>And now, and forever!</para></div> <para xml:lang="EN"/> <para xml:lang="en-us"/> </langs> | <langs> <para xml:lang="en"/> <div xml:lang="en"><para>And now, and forever!</para></div> <para xml:lang="EN"/> <para xml:lang="en-us"/> </langs> |
fn-root-15 | Evaluates the "fn:root" function with argument set to an attribute node, which is query from an xml file. Query, XML-Input | <langs> <para xml:lang="en"/> <div xml:lang="en"><para>And now, and forever!</para></div> <para xml:lang="EN"/> <para xml:lang="en-us"/> </langs> | <langs> <para xml:lang="en"/> <div xml:lang="en"><para>And now, and forever!</para></div> <para xml:lang="EN"/> <para xml:lang="en-us"/> </langs> |
Testname | Description | Got | Expected |
---|---|---|---|
fn-normalize-unicode-8 | Evaluation of fn:normalize-unicode with noncharacter argument. Query, XML-Input | 64976 | |
fn-normalize-unicode-9 | Evaluation of fn:normalize-unicode with noncharacters in argument Query, XML-Input | 234 64976 234 64976 234 | |
fn-normalize-unicode-10 | Evaluation of fn:normalize-unicode with noncharacters in argument Query, XML-Input | 101 64976 770 | |
fn-normalize-unicode-11 | Evaluation of fn:normalize-unicode with noncharacters in argument Query, XML-Input | <out><norm char="64976" nfc="" nfd=""/><norm char="64977" nfc="" nfd=""/><norm char="64978" nfc="" nfd=""/><norm char="64979" nfc="" nfd=""/><norm char="64980" nfc="" nfd=""/><norm char="64981" nfc="" nfd=""/><norm char="64982" nfc="" nfd=""/><norm char="64983" nfc="" nfd=""/><norm char="64984" nfc="" nfd=""/><norm char="64985" nfc="" nfd=""/><norm char="64986" nfc="" nfd=""/><norm char="64987" nfc="" nfd=""/><norm char="64988" nfc="" nfd=""/><norm char="64989" nfc="" nfd=""/><norm char="64990" nfc="" nfd=""/><norm char="64991" nfc="" nfd=""/><norm char="64992" nfc="" nfd=""/><norm char="64993" nfc="" nfd=""/><norm char="64994" nfc="" nfd=""/><norm char="64995" nfc="" nfd=""/><norm char="64996" nfc="" nfd=""/><norm char="64997" nfc="" nfd=""/><norm char="64998" nfc="" nfd=""/><norm char="64999" nfc="" nfd=""/><norm char="65000" nfc="" nfd=""/><norm char="65001" nfc="" nfd=""/><norm char="65002" nfc="" nfd=""/><norm char="65003" nfc="" nfd=""/><norm char="65004" nfc="" nfd=""/><norm char="65005" nfc="" nfd=""/><norm char="65006" nfc="" nfd=""/><norm char="65007" nfc="" nfd=""/><norm char="131070" nfc="" nfd=""/><norm char="131071" nfc="" nfd=""/><norm char="196606" nfc="" nfd=""/><norm char="196607" nfc="" nfd=""/><norm char="262142" nfc="" nfd=""/><norm char="262143" nfc="" nfd=""/><norm char="327678" nfc="" nfd=""/><norm char="327679" nfc="" nfd=""/><norm char="393214" nfc="" nfd=""/><norm char="393215" nfc="" nfd=""/><norm char="458750" nfc="" nfd=""/><norm char="458751" nfc="" nfd=""/><norm char="524286" nfc="" nfd=""/><norm char="524287" nfc="" nfd=""/><norm char="589822" nfc="" nfd=""/><norm char="589823" nfc="" nfd=""/><norm char="655358" nfc="" nfd=""/><norm char="655359" nfc="" nfd=""/><norm char="720894" nfc="" nfd=""/><norm char="720895" nfc="" nfd=""/><norm char="786430" nfc="" nfd=""/><norm char="786431" nfc="" nfd=""/><norm char="851966" nfc="" nfd=""/><norm char="851967" nfc="" nfd=""/><norm char="917502" nfc="" nfd=""/><norm char="917503" nfc="" nfd=""/><norm char="983038" nfc="" nfd=""/><norm char ...skipped 2151 characters... | <out/> |
Testname | Description | Got | Expected |
---|---|---|---|
Comp-notation-2 | Notation comparison. Query, XML-Input | false | true |
Comp-notation-5 | Notation comparison using "ne". Query, XML-Input | true | false |
Comp-notation-8 | Evaluation of notation comparison using "eq" and used with fn:not - returns true. Query, XML-Input | true | false |
Comp-notation-10 | Evaluation of notation comparison using "ne" and used with fn:not - returns false. Query, XML-Input | false | true |
Comp-notation-11 | Evaluation of notation comparison using "eq" and used with fn:boolean function. Query, XML-Input | false | true |
Comp-notation-12 | Evaluation of notation comparison using "ne" and used with fn:boolean function. Query, XML-Input | true | false |
Comp-notation-13 | Evaluation of notation comparison using "eq" used in boolean expression with "fn:true" and "and". Query, XML-Input | false | true |
Comp-notation-14 | Evaluation of notation comparison using "ne" used in boolean expression with "fn:true" and "and". Query, XML-Input | true | false |
Comp-notation-19 | Evaluation of notation comparison using "eq" used in boolean expression with "fn:false" and "or". Query, XML-Input | false | true |
Comp-notation-20 | Evaluation of notation comparison using "ne" used in boolean expression with "fn:false" and "or". Query, XML-Input | true | false |
Comp-notation-21 | Evaluation of expression for notation comparison using "eq" ar argument to "fn:false" function. Query, XML-Input | false | true |
Comp-notation-22 | Evaluation of expression for notation comparison using "ne" ar argument to "fn:false" function. Query, XML-Input | true | false |
Testname | Description | Got | Expected |
---|---|---|---|
op-numeric-adddbl2args-1 | Evaluates the "op:numeric-add" operator with the arguments set as follows: $arg1 = xs:double(mid range) $arg2 = xs:double(lower bound). Query, XML-Input | -1.79769313486232E308 | -1.7976931348623157E308 |
op-numeric-adddbl2args-3 | Evaluates the "op:numeric-add" operator with the arguments set as follows: $arg1 = xs:double(lower bound) $arg2 = xs:double(mid range). Query, XML-Input | -1.79769313486232E308 | -1.7976931348623157E308 |
Testname | Description | Got | Expected |
---|---|---|---|
op-numeric-divideintg2args-2 | Evaluates the "op:numeric-divide" operator with the arguments set as follows: $arg1 = xs:integer(mid range) $arg2 = xs:integer(lower bound). Query, XML-Input | -0.830993497117024 | -0.830993497117024305 |
op-numeric-divideintg2args-4 | Evaluates the "op:numeric-divide" operator with the arguments set as follows: $arg1 = xs:integer(lower bound) $arg2 = xs:integer(mid range). Query, XML-Input | -1.20337885130186 | -1.203378851301859738 |
op-numeric-dividedec2args-2 | Evaluates the "op:numeric-divide" operator with the arguments set as follows: $arg1 = xs:decimal(mid range) $arg2 = xs:decimal(lower bound). Query, XML-Input | -0.617375191608515 | -0.61737519160851484 |
op-numeric-dividedec2args-4 | Evaluates the "op:numeric-divide" operator with the arguments set as follows: $arg1 = xs:decimal(lower bound) $arg2 = xs:decimal(mid range). Query, XML-Input | -1.619760582531007 | -1.619760582531006901 |
op-numeric-dividedbl2args-2 | Evaluates the "op:numeric-divide" operator with the arguments set as follows: $arg1 = xs:double(mid range) $arg2 = xs:double(lower bound). Query, XML-Input | 0 | -0 |
op-numeric-divideflt2args-2 | Evaluates the "op:numeric-divide" operator with the arguments set as follows: $arg1 = xs:float(mid range) $arg2 = xs:float(lower bound). Query, XML-Input | 0 | -0 |
op-numeric-dividelng2args-2 | Evaluates the "op:numeric-divide" operator with the arguments set as follows: $arg1 = xs:long(mid range) $arg2 = xs:long(lower bound). Query, XML-Input | 0.511478470287702 | 0.51147847028770199 |
op-numeric-dividelng2args-4 | Evaluates the "op:numeric-divide" operator with the arguments set as follows: $arg1 = xs:long(lower bound) $arg2 = xs:long(mid range). Query, XML-Input | 1.955116506541339 | 1.95511650654133906 |
op-numeric-dividenint2args-2 | Evaluates the "op:numeric-divide" operator with the arguments set as follows: $arg1 = xs:negativeInteger(mid range) $arg2 = xs:negativeInteger(lower bound). Query, XML-Input | 0.297014075999097 | 0.297014075999096793 |
op-numeric-dividenint2args-3 | Evaluates the "op:numeric-divide" operator with the arguments set as follows: $arg1 = xs:negativeInteger(upper bound) $arg2 = xs:negativeInteger(lower bound). Query, XML-Input | 1E-18 | 0.000000000000000001 |
op-numeric-dividenint2args-4 | Evaluates the "op:numeric-divide" operator with the arguments set as follows: $arg1 = xs:negativeInteger(lower bound) $arg2 = xs:negativeInteger(mid range). Query, XML-Input | 3.366843799022646 | 3.366843799022646172 |
op-numeric-dividepint2args-4 | Evaluates the "op:numeric-divide" operator with the arguments set as follows: $arg1 = xs:positiveInteger(lower bound) $arg2 = xs:positiveInteger(mid range). Query, XML-Input | 2E-17 | 0.00000000000000002 |
op-numeric-dividepint2args-5 | Evaluates the "op:numeric-divide" operator with the arguments set as follows: $arg1 = xs:positiveInteger(lower bound) $arg2 = xs:positiveInteger(upper bound). Query, XML-Input | 1E-18 | 0.000000000000000001 |
op-numeric-dividenpi2args-2 | Evaluates the "op:numeric-divide" operator with the arguments set as follows: $arg1 = xs:nonPositiveInteger(mid range) $arg2 = xs:nonPositiveInteger(lower bound). Query, XML-Input | 0.47568843727187 | 0.47568843727187049 |
op-numeric-dividenpi2args-4 | Evaluates the "op:numeric-divide" operator with the arguments set as follows: $arg1 = xs:nonPositiveInteger(lower bound) $arg2 = xs:nonPositiveInteger(mid range). Query, XML-Input | 2.102216328265447 | 2.102216328265447024 |
op-numeric-dividesht2args-5 | Evaluates the "op:numeric-divide" operator with the arguments set as follows: $arg1 = xs:short(lower bound) $arg2 = xs:short(upper bound). Query, XML-Input | -1.000030518509476 | -1.000030518509475997 |
K2-NumericDivide-15 | Divide +3 with -0e0. Query, XML-Input | INF | -INF |
K2-NumericDivide-16 | Divide -3 with -0e0. Query, XML-Input | -INF | INF |
Testname | Description | Got | Expected |
---|---|---|---|
op-numeric-moddbl2args-1 | Evaluates the "op:numeric-mod" operator with the arguments set as follows: $arg1 = xs:double(lower bound) $arg2 = xs:double(upper bound). Query, XML-Input | 0 | -0 |
op-numeric-modflt2args-1 | Evaluates the "op:numeric-mod" operator with the arguments set as follows: $arg1 = xs:float(lower bound) $arg2 = xs:float(upper bound). Query, XML-Input | 0 | -0 |
K2-NumericMod-3 | Divisor is small negative xs:double. Query, XML-Input | 0 | -0 |
K2-NumericMod-4 | Divisor is small negative xs:float. Query, XML-Input | 0 | -0 |
K2-NumericMod-24 | Left op is xs:double/-0. Query, XML-Input | 0 | -0 |
K2-NumericMod-36 | Left op is xs:float/-0. Query, XML-Input | 0 | -0 |
K2-NumericMod-39 | Left op is xs:float/-0. Query, XML-Input | 0 | -0 |
K2-NumericMod-41 | Left op is xs:double/-0. Query, XML-Input | 0 | -0 |
K2-NumericMod-43 | Left op is xs:float/-0 with INF as divisor. Query, XML-Input | 0 | -0 |
K2-NumericMod-45 | Left op is xs:double/-0 with INF as divisor. Query, XML-Input | 0 | -0 |
K2-NumericMod-47 | Left op is xs:float/-0 with -INF as divisor. Query, XML-Input | 0 | -0 |
K2-NumericMod-49 | Left op is xs:double/-0 with -INF as divisor. Query, XML-Input | 0 | -0 |
K2-NumericMod-52 | Trival mod with xs:double(#2). Query, XML-Input | 0 | -0 |
K2-NumericMod-54 | Trival mod with xs:double(#4). Query, XML-Input | 0 | -0 |
K2-NumericMod-56 | Trival mod with xs:float(#2). Query, XML-Input | 0 | -0 |
K2-NumericMod-58 | Trival mod with xs:float(#4). Query, XML-Input | 0 | -0 |
Testname | Description | Got | Expected |
---|---|---|---|
op-numeric-multiplydbl2args-1 | Evaluates the "op:numeric-multiply" operator with the arguments set as follows: $arg1 = xs:double(lower bound) $arg2 = xs:double(lower bound). Query, XML-Input | 1.79769313486232E308 | 1.7976931348623157E308 |
op-numeric-multiplydbl2args-2 | Evaluates the "op:numeric-multiply" operator with the arguments set as follows: $arg1 = xs:double(mid range) $arg2 = xs:double(lower bound). Query, XML-Input | 0 | -0 |
op-numeric-multiplydbl2args-3 | Evaluates the "op:numeric-multiply" operator with the arguments set as follows: $arg1 = xs:double(upper bound) $arg2 = xs:double(lower bound). Query, XML-Input | -1.79769313486232E308 | -1.7976931348623157E308 |
op-numeric-multiplydbl2args-4 | Evaluates the "op:numeric-multiply" operator with the arguments set as follows: $arg1 = xs:double(lower bound) $arg2 = xs:double(mid range). Query, XML-Input | 0 | -0 |
op-numeric-multiplydbl2args-5 | Evaluates the "op:numeric-multiply" operator with the arguments set as follows: $arg1 = xs:double(lower bound) $arg2 = xs:double(upper bound). Query, XML-Input | -1.79769313486232E308 | -1.7976931348623157E308 |
op-numeric-multiplyflt2args-2 | Evaluates the "op:numeric-multiply" operator with the arguments set as follows: $arg1 = xs:float(mid range) $arg2 = xs:float(lower bound). Query, XML-Input | 0 | -0 |
op-numeric-multiplyflt2args-4 | Evaluates the "op:numeric-multiply" operator with the arguments set as follows: $arg1 = xs:float(lower bound) $arg2 = xs:float(mid range). Query, XML-Input | 0 | -0 |
Testname | Description | Got | Expected |
---|---|---|---|
op-numeric-subtractdbl2args-2 | Evaluates the "op:numeric-subtract" operator with the arguments set as follows: $arg1 = xs:double(mid range) $arg2 = xs:double(lower bound). Query, XML-Input | 1.79769313486232E308 | 1.7976931348623157E308 |
op-numeric-subtractdbl2args-3 | Evaluates the "op:numeric-subtract" operator with the arguments set as follows: $arg1 = xs:double(upper bound) $arg2 = xs:double(lower bound). Query, XML-Input | 1.79769313486232E308 | 1.7976931348623157E308 |
op-numeric-subtractdbl2args-4 | Evaluates the "op:numeric-subtract" operator with the arguments set as follows: $arg1 = xs:double(lower bound) $arg2 = xs:double(mid range). Query, XML-Input | -1.79769313486232E308 | -1.7976931348623157E308 |
op-numeric-subtractdbl2args-5 | Evaluates the "op:numeric-subtract" operator with the arguments set as follows: $arg1 = xs:double(lower bound) $arg2 = xs:double(upper bound). Query, XML-Input | -1.79769313486232E308 | -1.7976931348623157E308 |
Testname | Description | Got | Expected |
---|---|---|---|
op-numeric-unary-minusdbl1args-1 | Evaluates the "op:numeric-unary-minus" operator with the arguments set as follows: $arg = xs:double(lower bound). Query, XML-Input | 1.79769313486232E308 | 1.7976931348623157E308 |
op-numeric-unary-minusdbl1args-2 | Evaluates the "op:numeric-unary-minus" operator with the arguments set as follows: $arg = xs:double(mid range). Query, XML-Input | 0 | -0 |
op-numeric-unary-minusdbl1args-3 | Evaluates the "op:numeric-unary-minus" operator with the arguments set as follows: $arg = xs:double(upper bound). Query, XML-Input | -1.79769313486232E308 | -1.7976931348623157E308 |
op-numeric-unary-minusflt1args-2 | Evaluates the "op:numeric-unary-minus" operator with the arguments set as follows: $arg = xs:float(mid range). Query, XML-Input | 0 | -0 |
K2-NumericUnaryMinus-1 | Operand is constructor function for xs:double. Query, XML-Input | 0 | -0 |
K2-NumericUnaryMinus-2 | Operand is constructor function for xs:float. Query, XML-Input | 0 | -0 |
Testname | Description | Got | Expected |
---|---|---|---|
op-numeric-unary-plusdbl1args-1 | Evaluates the "op:numeric-unary-plus" operator with the arguments set as follows: $arg = xs:double(lower bound). Query, XML-Input | -1.79769313486232E308 | -1.7976931348623157E308 |
op-numeric-unary-plusdbl1args-3 | Evaluates the "op:numeric-unary-plus" operator with the arguments set as follows: $arg = xs:double(upper bound). Query, XML-Input | 1.79769313486232E308 | 1.7976931348623157E308 |
Testname | Description | Got | Expected |
---|---|---|---|
orderbywithout-14 | Evaluation of "order by" clause with the "order by" clause of a FLWOR expression set to "xs:float($x) ", where $x is a set of negative numbers. Query, XML-Input | <results>-99999998430674944 -10000000272564224 -999999986991104 -100000000376832 -9999999827968 -999999995904 -99999997952 -10000000000 -1000000000 -100000000 -10000000 -1000000 -100000 -10000 -1000 -100 -10 -1 0</results> | <results>-1.0E17 -1.0E16 -1.0E15 -1.0E14 -1.0E13 -1.0E12 -1.0E11 -1.0E10 -1.0E9 -1.0E8 -1.0E7 -1.0E6 -100000 -10000 -1000 -100 -10 -1 0</results> |
orderbywithout-15 | Evaluation of "order by" clause with the "order by" clause of a FLWOR expression set to "xs:double($x) ", where $x is a set of negative numbers. Query, XML-Input | <results>-100000000000000000 -10000000000000000 -1000000000000000 -100000000000000 -10000000000000 -1000000000000 -100000000000 -10000000000 -1000000000 -100000000 -10000000 -1000000 -100000 -10000 -1000 -100 -10 -1 0</results> | <results>-1.0E17 -1.0E16 -1.0E15 -1.0E14 -1.0E13 -1.0E12 -1.0E11 -1.0E10 -1.0E9 -1.0E8 -1.0E7 -1.0E6 -100000 -10000 -1000 -100 -10 -1 0</results> |
orderbywithout-21 | Evaluation of "order by" clause with the "order by" clause of a FLWOR expression set to "xs:float($x) ", where $x is a set of positive numbers. Query, XML-Input | <results>0 1 10 100 1000 10000 100000 1000000 10000000 100000000 1000000000 10000000000 99999997952 999999995904 9999999827968 100000000376832 999999986991104 10000000272564224 99999998430674944</results> | <results>0 1 10 100 1000 10000 100000 1.0E6 1.0E7 1.0E8 1.0E9 1.0E10 1.0E11 1.0E12 1.0E13 1.0E14 1.0E15 1.0E16 1.0E17</results> |
orderbywithout-23 | Evaluation of "order by" clause with the "order by" clause of a FLWOR expression set to "xs:double($x)", where $x is a set of positive numbers. Query, XML-Input | <results>0 1 10 100 1000 10000 100000 1000000 10000000 100000000 1000000000 10000000000 100000000000 1000000000000 10000000000000 100000000000000 1000000000000000 10000000000000000 100000000000000000</results> | <results>0 1 10 100 1000 10000 100000 1.0E6 1.0E7 1.0E8 1.0E9 1.0E10 1.0E11 1.0E12 1.0E13 1.0E14 1.0E15 1.0E16 1.0E17</results> |
orderbywithout-26 | Evaluation of "order by" clause with the "order by" clause of a FLWOR expression set to "$x", where $x is a set of small positive numbers. Query, XML-Input | <results>1E-18 1E-17 0 1E-16 1E-15 1E-14 1E-13 1E-12 1E-11 1E-10 1E-9 1E-8 1E-7 1E-6 0.00001 0.0001 0.001 0.01 0.1</results> | <results>0 0.000000000000000001 0.00000000000000001 0.0000000000000001 0.000000000000001 0.00000000000001 0.0000000000001 0.000000000001 0.00000000001 0.0000000001 0.000000001 0.00000001 0.0000001 0.000001 0.00001 0.0001 0.001 0.01 0.1</results> |
orderbywithout-27 | Evaluation of "order by" clause with the "order by" clause of a FLWOR expression set to "$x", where $x is a set of small positive numbers casted as decimals. Query, XML-Input | <results>1E-18 1E-17 0 1E-16 1E-15 1E-14 1E-13 1E-12 1E-11 1E-10 1E-9 1E-8 1E-7 1E-6 0.00001 0.0001 0.001 0.01 0.1</results> | <results>0 0.000000000000000001 0.00000000000000001 0.0000000000000001 0.000000000000001 0.00000000000001 0.0000000000001 0.000000000001 0.00000000001 0.0000000001 0.000000001 0.00000001 0.0000001 0.000001 0.00001 0.0001 0.001 0.01 0.1</results> |
orderbywithout-28 | Evaluation of "order by" clause with the "order by" clause of a FLWOR expression set to "($x + $x) ", where $x is a set of small positive numbers casted as decimals. Query, XML-Input | <results>2E-18 0 2E-17 2E-16 2E-15 2E-14 2E-13 2E-12 2E-11 2E-10 2E-9 2E-8 2E-7 2E-6 0.00002 0.0002 0.002 0.02 0.2</results> | <results>0 0.000000000000000002 0.00000000000000002 0.0000000000000002 0.000000000000002 0.00000000000002 0.0000000000002 0.000000000002 0.00000000002 0.0000000002 0.000000002 0.00000002 0.0000002 0.000002 0.00002 0.0002 0.002 0.02 0.2</results> |
orderbywithout-30 | Evaluation of "order by" clause with the "order by" clause of a FLWOR expression set to "xs:float($x) ", where $x is a set of small positive numbers. Query, XML-Input | <results>1E-18 1E-17 0 1E-16 1E-15 1E-14 1E-13 1E-12 1E-11 1E-10 1E-9 1E-8 1E-7 1E-6 1E-5 0.0001 0.001 0.01 0.1</results> | <results>0 1.0E-18 1.0E-17 1.0E-16 1.0E-15 1.0E-14 1.0E-13 1.0E-12 1.0E-11 1.0E-10 1.0E-9 1.0E-8 1.0E-7 0.000001 0.00001 0.0001 0.001 0.01 0.1</results> |
orderbywithout-31 | Evaluation of "order by" clause with the "order by" clause of a FLWOR expression set to "xs:decimal($x) ", where $x is a set of small positive numbers. Query, XML-Input | <results>1E-18 1E-17 0 1E-16 1E-15 1E-14 1E-13 1E-12 1E-11 1E-10 1E-9 1E-8 1E-7 1E-6 0.00001 0.0001 0.001 0.01 0.1</results> | <results>0 0.000000000000000001 0.00000000000000001 0.0000000000000001 0.000000000000001 0.00000000000001 0.0000000000001 0.000000000001 0.00000000001 0.0000000001 0.000000001 0.00000001 0.0000001 0.000001 0.00001 0.0001 0.001 0.01 0.1</results> |
orderbywithout-32 | Evaluation of "order by" clause with the "order by" clause of a FLWOR expression set to "xs:double($x) ", where $x is a set of small positive numbers. Query, XML-Input | <results>1E-18 0 1E-17 1E-16 1E-15 1E-14 1E-13 1E-12 1E-11 1E-10 1E-9 1E-8 1E-7 1E-6 0.00001 0.0001 0.001 0.01 0.1</results> | <results>0 1.0E-18 1.0E-17 1.0E-16 1.0E-15 1.0E-14 1.0E-13 1.0E-12 1.0E-11 1.0E-10 1.0E-9 1.0E-8 1.0E-7 0.000001 0.00001 0.0001 0.001 0.01 0.1</results> |
orderbywithout-33 | Evaluation of "order by" clause with the "order by" clause of a FLWOR expression set to "string($x) ", where $x is a set of small positive numbers. Query, XML-Input | <results>0 0.00001 0.0001 0.001 0.01 0.1 1E-10 1E-11 1E-12 1E-13 1E-14 1E-15 1E-16 1E-17 1E-18 1E-6 1E-7 1E-8 1E-9</results> | <results>0 0.000000000000000001 0.00000000000000001 0.0000000000000001 0.000000000000001 0.00000000000001 0.0000000000001 0.000000000001 0.00000000001 0.0000000001 0.000000001 0.00000001 0.0000001 0.000001 0.00001 0.0001 0.001 0.01 0.1</results> |
orderbywithout-34 | Evaluation of "order by" clause with the "order by" clause of a FLWOR expression set to "$x ", where $x is a set of small negative numbers casted as decimals. Query, XML-Input | <results>-0.1 -0.01 -0.001 -0.0001 -0.00001 -1E-6 -1E-7 -1E-8 -1E-9 -1E-10 -1E-11 -1E-12 -1E-13 -1E-14 -1E-15 -1E-16 -1E-18 -1E-17 0</results> | <results>-0.1 -0.01 -0.001 -0.0001 -0.00001 -0.000001 -0.0000001 -0.00000001 -0.000000001 -0.0000000001 -0.00000000001 -0.000000000001 -0.0000000000001 -0.00000000000001 -0.000000000000001 -0.0000000000000001 -0.00000000000000001 -0.000000000000000001 0</results> |
orderbywithout-35 | Evaluation of "order by" clause with the "order by" clause of a FLWOR expression set to "($x + $x) ", where $x is a set of small negative numbers casted as decimals. Query, XML-Input | <results>-0.2 -0.02 -0.002 -0.0002 -0.00002 -2E-6 -2E-7 -2E-8 -2E-9 -2E-10 -2E-11 -2E-12 -2E-13 -2E-14 -2E-15 -2E-16 -2E-17 -2E-18 0</results> | <results>-0.2 -0.02 -0.002 -0.0002 -0.00002 -0.000002 -0.0000002 -0.00000002 -0.000000002 -0.0000000002 -0.00000000002 -0.000000000002 -0.0000000000002 -0.00000000000002 -0.000000000000002 -0.0000000000000002 -0.00000000000000002 -0.000000000000000002 0</results> |
orderbywithout-37 | Evaluation of "order by" clause with the "order by" clause of a FLWOR expression set to "xs:float($x) ", where $x is a set of small negative numbers. Query, XML-Input | <results>-0.1 -0.01 -0.001 -0.0001 -1E-5 -1E-6 -1E-7 -1E-8 -1E-9 -1E-10 -1E-11 -1E-12 -1E-13 -1E-14 -1E-15 -1E-16 -1E-18 -1E-17 0</results> | <results>-0.1 -0.01 -0.001 -0.0001 -0.00001 -0.000001 -1.0E-7 -1.0E-8 -1.0E-9 -1.0E-10 -1.0E-11 -1.0E-12 -1.0E-13 -1.0E-14 -1.0E-15 -1.0E-16 -1.0E-17 -1.0E-18 0</results> |
orderbywithout-38 | Evaluation of "order by" clause with the "order by" clause of a FLWOR expression set to "xs:decimal($x) ", where $x is a set of small negative numbers. Query, XML-Input | <results>-0.1 -0.01 -0.001 -0.0001 -0.00001 -1E-6 -1E-7 -1E-8 -1E-9 -1E-10 -1E-11 -1E-12 -1E-13 -1E-14 -1E-15 -1E-16 -1E-18 -1E-17 0</results> | <results>-0.1 -0.01 -0.001 -0.0001 -0.00001 -0.000001 -0.0000001 -0.00000001 -0.000000001 -0.0000000001 -0.00000000001 -0.000000000001 -0.0000000000001 -0.00000000000001 -0.000000000000001 -0.0000000000000001 -0.00000000000000001 -0.000000000000000001 0</results> |
orderbywithout-39 | Evaluation of "order by" clause with the "order by" clause of a FLWOR expression set to "xs:double($x) ", where $x is a set of small negative numbers. Query, XML-Input | <results>-0.1 -0.01 -0.001 -0.0001 -0.00001 -1E-6 -1E-7 -1E-8 -1E-9 -1E-10 -1E-11 -1E-12 -1E-13 -1E-14 -1E-15 -1E-16 -1E-18 -1E-17 0</results> | <results>-0.1 -0.01 -0.001 -0.0001 -0.00001 -0.000001 -1.0E-7 -1.0E-8 -1.0E-9 -1.0E-10 -1.0E-11 -1.0E-12 -1.0E-13 -1.0E-14 -1.0E-15 -1.0E-16 -1.0E-17 -1.0E-18 0</results> |
orderbywithout-40 | Evaluation of "order by" clause with the "order by" clause of a FLWOR expression set to "string($x) ", where $x is a set of small negative numbers. Query, XML-Input | <results>-0.00001 -0.0001 -0.001 -0.01 -0.1 -1E-10 -1E-11 -1E-12 -1E-13 -1E-14 -1E-15 -1E-16 -1E-17 -1E-18 -1E-6 -1E-7 -1E-8 -1E-9 0</results> | <results>-0.000000000000000001 -0.00000000000000001 -0.0000000000000001 -0.000000000000001 -0.00000000000001 -0.0000000000001 -0.000000000001 -0.00000000001 -0.0000000001 -0.000000001 -0.00000001 -0.0000001 -0.000001 -0.00001 -0.0001 -0.001 -0.01 -0.1 0</results> |
K2-OrderbyExprWithout-42 | Apply fn:string() on a for clause that only produces on item, and that cannot easily constant propagate. Query, XML-Input | 2005-12-05-05:00 | IGNORED OUTPUT (counted as correct) |
K2-OrderbyExprWithout-48 | Sort special floating point values. Query, XML-Input | NaN NaN NaN NaN NaN NaN NaN NaN 3 INF SEP 3 INF NaN NaN NaN NaN NaN NaN NaN NaN | NaN NaN NaN NaN 3 INF SEP 3 INF NaN NaN NaN NaN |
K2-OrderbyExprWithout-49 | Sort special floating point values(stable sort). Query, XML-Input | NaN NaN NaN NaN NaN NaN NaN NaN 3 INF SEP 3 INF NaN NaN NaN NaN NaN NaN NaN NaN | NaN NaN NaN NaN 3 INF SEP 3 INF NaN NaN NaN NaN |
Testname | Description | Got | Expected |
---|---|---|---|
orderBy20 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "$x ", where $x is a set of negative numbers and the ordering mode set to ascending. Query, XML-Input | <results xmlns="http://www.w3.org/XQueryTestOrderBy"><orderData>-0</orderData><orderData>-1</orderData><orderData>-10</orderData><orderData>-100</orderData><orderData>-1000</orderData><orderData>-10000</orderData><orderData>-100000</orderData><orderData>-1000000</orderData><orderData>-10000000</orderData><orderData>-100000000</orderData><orderData>-1000000000</orderData><orderData>-10000000000</orderData><orderData>-100000000000</orderData><orderData>-1000000000000</orderData><orderData>-10000000000000</orderData><orderData>-100000000000000</orderData><orderData>-1000000000000000</orderData><orderData>-10000000000000000</orderData><orderData>-100000000000000000</orderData></results> | <results xmlns="http://www.w3.org/XQueryTestOrderBy"><orderData>-100000000000000000</orderData><orderData>-10000000000000000</orderData><orderData>-1000000000000000</orderData><orderData>-100000000000000</orderData><orderData>-10000000000000</orderData><orderData>-1000000000000</orderData><orderData>-100000000000</orderData><orderData>-10000000000</orderData><orderData>-1000000000</orderData><orderData>-100000000</orderData><orderData>-10000000</orderData><orderData>-1000000</orderData><orderData>-100000</orderData><orderData>-10000</orderData><orderData>-1000</orderData><orderData>-100</orderData><orderData>-10</orderData><orderData>-1</orderData><orderData>-0</orderData></results> |
orderBy21 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "$x ", where $x is a set of negative numbers and the ordering mode set to descending. Query, XML-Input | <results xmlns="http://www.w3.org/XQueryTestOrderBy"><orderData>-100000000000000000</orderData><orderData>-10000000000000000</orderData><orderData>-1000000000000000</orderData><orderData>-100000000000000</orderData><orderData>-10000000000000</orderData><orderData>-1000000000000</orderData><orderData>-100000000000</orderData><orderData>-10000000000</orderData><orderData>-1000000000</orderData><orderData>-100000000</orderData><orderData>-10000000</orderData><orderData>-1000000</orderData><orderData>-100000</orderData><orderData>-10000</orderData><orderData>-1000</orderData><orderData>-100</orderData><orderData>-10</orderData><orderData>-1</orderData><orderData>-0</orderData></results> | <results xmlns="http://www.w3.org/XQueryTestOrderBy"><orderData>-0</orderData><orderData>-1</orderData><orderData>-10</orderData><orderData>-100</orderData><orderData>-1000</orderData><orderData>-10000</orderData><orderData>-100000</orderData><orderData>-1000000</orderData><orderData>-10000000</orderData><orderData>-100000000</orderData><orderData>-1000000000</orderData><orderData>-10000000000</orderData><orderData>-100000000000</orderData><orderData>-1000000000000</orderData><orderData>-10000000000000</orderData><orderData>-100000000000000</orderData><orderData>-1000000000000000</orderData><orderData>-10000000000000000</orderData><orderData>-100000000000000000</orderData></results> |
orderBy25 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "xs:float($x) ", where $x is a set of negative numbers and the ordering mode set to descending. Query, XML-Input | <results xmlns="http://www.w3.org/XQueryTestOrderBy">0 -1 -10 -100 -1000 -10000 -100000 -1000000 -10000000 -100000000 -1000000000 -10000000000 -99999997952 -999999995904 -9999999827968 -100000000376832 -999999986991104 -10000000272564224 -99999998430674944</results> | <results xmlns="http://www.w3.org/XQueryTestOrderBy">0 -1 -10 -100 -1000 -10000 -100000 -1.0E6 -1.0E7 -1.0E8 -1.0E9 -1.0E10 -1.0E11 -1.0E12 -1.0E13 -1.0E14 -1.0E15 -1.0E16 -1.0E17</results> |
orderBy27 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "xs:double($x) ", where $x is a set of negative numbers and the ordering mode set to descending. Query, XML-Input | <results xmlns="http://www.w3.org/XQueryTestOrderBy">0 -1 -10 -100 -1000 -10000 -100000 -1000000 -10000000 -100000000 -1000000000 -10000000000 -100000000000 -1000000000000 -10000000000000 -100000000000000 -1000000000000000 -10000000000000000 -100000000000000000</results> | <results xmlns="http://www.w3.org/XQueryTestOrderBy">0 -1 -10 -100 -1000 -10000 -100000 -1.0E6 -1.0E7 -1.0E8 -1.0E9 -1.0E10 -1.0E11 -1.0E12 -1.0E13 -1.0E14 -1.0E15 -1.0E16 -1.0E17</results> |
orderBy35 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "xs:float($x) ", where $x is a set of positive numbers and the ordering mode set to descending. Query, XML-Input | <results xmlns="http://www.w3.org/XQueryTestOrderBy">99999998430674944 10000000272564224 999999986991104 100000000376832 9999999827968 999999995904 99999997952 10000000000 1000000000 100000000 10000000 1000000 100000 10000 1000 100 10 1 0</results> | <results xmlns="http://www.w3.org/XQueryTestOrderBy">1.0E17 1.0E16 1.0E15 1.0E14 1.0E13 1.0E12 1.0E11 1.0E10 1.0E9 1.0E8 1.0E7 1.0E6 100000 10000 1000 100 10 1 0</results> |
orderBy37 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "xs:double($x) ", where $x is a set of positive numbers and the ordering mode set to descending. Query, XML-Input | <results xmlns="http://www.w3.org/XQueryTestOrderBy">100000000000000000 10000000000000000 1000000000000000 100000000000000 10000000000000 1000000000000 100000000000 10000000000 1000000000 100000000 10000000 1000000 100000 10000 1000 100 10 1 0</results> | <results xmlns="http://www.w3.org/XQueryTestOrderBy">1.0E17 1.0E16 1.0E15 1.0E14 1.0E13 1.0E12 1.0E11 1.0E10 1.0E9 1.0E8 1.0E7 1.0E6 100000 10000 1000 100 10 1 0</results> |
orderBy42 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "($x + $x) ", where $x is a set of small positive numbers and the ordering mode set to descending. Query, XML-Input | <results xmlns="http://www.w3.org/XQueryTestOrderBy">0.2 0.02 0.002 0.0002 0.00002 2E-6 2E-7 2E-8 2E-9 2E-10 2E-11 2E-12 2E-13 2E-14 2E-15 2E-16 2E-17 2E-18 0</results> | <results xmlns="http://www.w3.org/XQueryTestOrderBy">0.2 0.02 0.002 0.0002 0.00002 0.000002 0.0000002 0.00000002 0.000000002 0.0000000002 0.00000000002 0.000000000002 0.0000000000002 0.00000000000002 0.000000000000002 0.0000000000000002 0.00000000000000002 0.000000000000000002 0</results> |
orderBy45 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "xs:float($x) ", where $x is a set of small positive numbers and the ordering mode set to descending. Query, XML-Input | <results xmlns="http://www.w3.org/XQueryTestOrderBy">0.1 0.01 0.001 0.0001 1E-5 1E-6 1E-7 1E-8 1E-9 1E-10 1E-11 1E-12 1E-13 1E-14 1E-15 1E-16 1E-18 1E-17 0</results> | <results xmlns="http://www.w3.org/XQueryTestOrderBy">0.1 0.01 0.001 0.0001 0.00001 0.000001 1.0E-7 1.0E-8 1.0E-9 1.0E-10 1.0E-11 1.0E-12 1.0E-13 1.0E-14 1.0E-15 1.0E-16 1.0E-17 1.0E-18 0</results> |
orderBy46 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "xs:decimal($x) ", where $x is a set of small positive numbers and the ordering mode set to descending. Query, XML-Input | <results xmlns="http://www.w3.org/XQueryTestOrderBy">0.1 0.01 0.001 0.0001 0.00001 1E-6 1E-7 1E-8 1E-9 1E-10 1E-11 1E-12 1E-13 1E-14 1E-15 1E-16 1E-18 1E-17 0</results> | <results xmlns="http://www.w3.org/XQueryTestOrderBy">0.1 0.01 0.001 0.0001 0.00001 0.000001 0.0000001 0.00000001 0.000000001 0.0000000001 0.00000000001 0.000000000001 0.0000000000001 0.00000000000001 0.000000000000001 0.0000000000000001 0.00000000000000001 0.000000000000000001 0</results> |
orderBy47 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "xs:double($x) ", where $x is a set of small positive numbers and the ordering mode set to descending. Query, XML-Input | <results xmlns="http://www.w3.org/XQueryTestOrderBy">0.1 0.01 0.001 0.0001 0.00001 1E-6 1E-7 1E-8 1E-9 1E-10 1E-11 1E-12 1E-13 1E-14 1E-15 1E-16 1E-18 1E-17 0</results> | <results xmlns="http://www.w3.org/XQueryTestOrderBy">0.1 0.01 0.001 0.0001 0.00001 0.000001 1.0E-7 1.0E-8 1.0E-9 1.0E-10 1.0E-11 1.0E-12 1.0E-13 1.0E-14 1.0E-15 1.0E-16 1.0E-17 1.0E-18 0</results> |
orderBy50 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "$x ", where $x is a set of small negative numbers and the ordering mode set to ascending. Query, XML-Input | <results xmlns="http://www.w3.org/XQueryTestOrderBy"><orderData>-0.0</orderData><orderData>-0.000000000000000001</orderData><orderData>-0.00000000000000001</orderData><orderData>-0.0000000000000001</orderData><orderData>-0.000000000000001</orderData><orderData>-0.00000000000001</orderData><orderData>-0.0000000000001</orderData><orderData>-0.000000000001</orderData><orderData>-0.00000000001</orderData><orderData>-0.0000000001</orderData><orderData>-0.000000001</orderData><orderData>-0.00000001</orderData><orderData>-0.0000001</orderData><orderData>-0.000001</orderData><orderData>-0.00001</orderData><orderData>-0.0001</orderData><orderData>-0.001</orderData><orderData>-0.01</orderData><orderData>-0.1</orderData></results> | <results xmlns="http://www.w3.org/XQueryTestOrderBy"><orderData>-0.1</orderData><orderData>-0.01</orderData><orderData>-0.001</orderData><orderData>-0.0001</orderData><orderData>-0.00001</orderData><orderData>-0.000001</orderData><orderData>-0.0000001</orderData><orderData>-0.00000001</orderData><orderData>-0.000000001</orderData><orderData>-0.0000000001</orderData><orderData>-0.00000000001</orderData><orderData>-0.000000000001</orderData><orderData>-0.0000000000001</orderData><orderData>-0.00000000000001</orderData><orderData>-0.000000000000001</orderData><orderData>-0.0000000000000001</orderData><orderData>-0.00000000000000001</orderData><orderData>-0.000000000000000001</orderData><orderData>-0.0</orderData></results> |
orderBy51 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "$x ", where $x is a set of small negative numbers and the ordering mode set to descending. Query, XML-Input | <results xmlns="http://www.w3.org/XQueryTestOrderBy"><orderData>-0.1</orderData><orderData>-0.01</orderData><orderData>-0.001</orderData><orderData>-0.0001</orderData><orderData>-0.00001</orderData><orderData>-0.000001</orderData><orderData>-0.0000001</orderData><orderData>-0.00000001</orderData><orderData>-0.000000001</orderData><orderData>-0.0000000001</orderData><orderData>-0.00000000001</orderData><orderData>-0.000000000001</orderData><orderData>-0.0000000000001</orderData><orderData>-0.00000000000001</orderData><orderData>-0.000000000000001</orderData><orderData>-0.0000000000000001</orderData><orderData>-0.00000000000000001</orderData><orderData>-0.000000000000000001</orderData><orderData>-0.0</orderData></results> | <results xmlns="http://www.w3.org/XQueryTestOrderBy"><orderData>-0.0</orderData><orderData>-0.000000000000000001</orderData><orderData>-0.00000000000000001</orderData><orderData>-0.0000000000000001</orderData><orderData>-0.000000000000001</orderData><orderData>-0.00000000000001</orderData><orderData>-0.0000000000001</orderData><orderData>-0.000000000001</orderData><orderData>-0.00000000001</orderData><orderData>-0.0000000001</orderData><orderData>-0.000000001</orderData><orderData>-0.00000001</orderData><orderData>-0.0000001</orderData><orderData>-0.000001</orderData><orderData>-0.00001</orderData><orderData>-0.0001</orderData><orderData>-0.001</orderData><orderData>-0.01</orderData><orderData>-0.1</orderData></results> |
orderBy52 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "($x + $x) ", where $x is a set of small negative numbers and the ordering mode set to descending. Query, XML-Input | <results xmlns="http://www.w3.org/XQueryTestOrderBy">-2E-18 0 -2E-17 -2E-16 -2E-15 -2E-14 -2E-13 -2E-12 -2E-11 -2E-10 -2E-9 -2E-8 -2E-7 -2E-6 -0.00002 -0.0002 -0.002 -0.02 -0.2</results> | <results xmlns="http://www.w3.org/XQueryTestOrderBy">0 -0.000000000000000002 -0.00000000000000002 -0.0000000000000002 -0.000000000000002 -0.00000000000002 -0.0000000000002 -0.000000000002 -0.00000000002 -0.0000000002 -0.000000002 -0.00000002 -0.0000002 -0.000002 -0.00002 -0.0002 -0.002 -0.02 -0.2</results> |
orderBy55 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "xs:float($x) ", where $x is a set of small negative numbers and the ordering mode set to descending. Query, XML-Input | <results xmlns="http://www.w3.org/XQueryTestOrderBy">-1E-18 -1E-17 0 -1E-16 -1E-15 -1E-14 -1E-13 -1E-12 -1E-11 -1E-10 -1E-9 -1E-8 -1E-7 -1E-6 -1E-5 -0.0001 -0.001 -0.01 -0.1</results> | <results xmlns="http://www.w3.org/XQueryTestOrderBy">0 -1.0E-18 -1.0E-17 -1.0E-16 -1.0E-15 -1.0E-14 -1.0E-13 -1.0E-12 -1.0E-11 -1.0E-10 -1.0E-9 -1.0E-8 -1.0E-7 -0.000001 -0.00001 -0.0001 -0.001 -0.01 -0.1</results> |
orderBy56 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "xs:decimal($x) ", where $x is a set of small negative numbers and the ordering mode set to descending. Query, XML-Input | <results xmlns="http://www.w3.org/XQueryTestOrderBy">-1E-18 -1E-17 0 -1E-16 -1E-15 -1E-14 -1E-13 -1E-12 -1E-11 -1E-10 -1E-9 -1E-8 -1E-7 -1E-6 -0.00001 -0.0001 -0.001 -0.01 -0.1</results> | <results xmlns="http://www.w3.org/XQueryTestOrderBy">0 -0.000000000000000001 -0.00000000000000001 -0.0000000000000001 -0.000000000000001 -0.00000000000001 -0.0000000000001 -0.000000000001 -0.00000000001 -0.0000000001 -0.000000001 -0.00000001 -0.0000001 -0.000001 -0.00001 -0.0001 -0.001 -0.01 -0.1</results> |
orderBy57 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "xs:double($x) ", where $x is a set of small negative numbers and the ordering mode set to descending. Query, XML-Input | <results xmlns="http://www.w3.org/XQueryTestOrderBy">-1E-18 0 -1E-17 -1E-16 -1E-15 -1E-14 -1E-13 -1E-12 -1E-11 -1E-10 -1E-9 -1E-8 -1E-7 -1E-6 -0.00001 -0.0001 -0.001 -0.01 -0.1</results> | <results xmlns="http://www.w3.org/XQueryTestOrderBy">0 -1.0E-18 -1.0E-17 -1.0E-16 -1.0E-15 -1.0E-14 -1.0E-13 -1.0E-12 -1.0E-11 -1.0E-10 -1.0E-9 -1.0E-8 -1.0E-7 -0.000001 -0.00001 -0.0001 -0.001 -0.01 -0.1</results> |
orderbylocal-25 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "xs:float($x) ", where $x is a set of negative numbers and the ordering mode set to descending. Use a locally defined sequence. Query, XML-Input | <results>0 -1 -10 -100 -1000 -10000 -100000 -1000000 -10000000 -100000000 -1000000000 -10000000000 -99999997952 -999999995904 -9999999827968 -100000000376832 -999999986991104 -10000000272564224 -99999998430674944</results> | <results>0 -1 -10 -100 -1000 -10000 -100000 -1.0E6 -1.0E7 -1.0E8 -1.0E9 -1.0E10 -1.0E11 -1.0E12 -1.0E13 -1.0E14 -1.0E15 -1.0E16 -1.0E17</results> |
orderbylocal-27 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "xs:double($x) ", where $x is a set of negative numbers and the ordering mode set to descending. Use a locally defined sequence. Query, XML-Input | <results>0 -1 -10 -100 -1000 -10000 -100000 -1000000 -10000000 -100000000 -1000000000 -10000000000 -100000000000 -1000000000000 -10000000000000 -100000000000000 -1000000000000000 -10000000000000000 -100000000000000000</results> | <results>0 -1 -10 -100 -1000 -10000 -100000 -1.0E6 -1.0E7 -1.0E8 -1.0E9 -1.0E10 -1.0E11 -1.0E12 -1.0E13 -1.0E14 -1.0E15 -1.0E16 -1.0E17</results> |
orderbylocal-35 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "xs:float($x) ", where $x is a set of positive numbers and the ordering mode set to descending. Use a locally defined sequence. Query, XML-Input | <results>99999998430674944 10000000272564224 999999986991104 100000000376832 9999999827968 999999995904 99999997952 10000000000 1000000000 100000000 10000000 1000000 100000 10000 1000 100 10 1 0</results> | <results>1.0E17 1.0E16 1.0E15 1.0E14 1.0E13 1.0E12 1.0E11 1.0E10 1.0E9 1.0E8 1.0E7 1.0E6 100000 10000 1000 100 10 1 0</results> |
orderbylocal-37 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "xs:double($x) ", where $x is a set of positive numbers and the ordering mode set to descending. Use a locally defined sequence. Query, XML-Input | <results>100000000000000000 10000000000000000 1000000000000000 100000000000000 10000000000000 1000000000000 100000000000 10000000000 1000000000 100000000 10000000 1000000 100000 10000 1000 100 10 1 0</results> | <results>1.0E17 1.0E16 1.0E15 1.0E14 1.0E13 1.0E12 1.0E11 1.0E10 1.0E9 1.0E8 1.0E7 1.0E6 100000 10000 1000 100 10 1 0</results> |
orderbylocal-40 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "$x ", where $x is a set of small positive numbers and the ordering mode set to ascending. Use a locally defined sequence. Query, XML-Input | <results>1E-18 1E-17 0 1E-16 1E-15 1E-14 1E-13 1E-12 1E-11 1E-10 1E-9 1E-8 1E-7 1E-6 0.00001 0.0001 0.001 0.01 0.1</results> | <results>0 0.000000000000000001 0.00000000000000001 0.0000000000000001 0.000000000000001 0.00000000000001 0.0000000000001 0.000000000001 0.00000000001 0.0000000001 0.000000001 0.00000001 0.0000001 0.000001 0.00001 0.0001 0.001 0.01 0.1</results> |
orderbylocal-41 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "$x ", where $x is a set of small positive numbers and the ordering mode set to descending. Use a locally defined sequence. Query, XML-Input | <results>0.1 0.01 0.001 0.0001 0.00001 1E-6 1E-7 1E-8 1E-9 1E-10 1E-11 1E-12 1E-13 1E-14 1E-15 1E-16 1E-18 1E-17 0</results> | <results>0.1 0.01 0.001 0.0001 0.00001 0.000001 0.0000001 0.00000001 0.000000001 0.0000000001 0.00000000001 0.000000000001 0.0000000000001 0.00000000000001 0.000000000000001 0.0000000000000001 0.00000000000000001 0.000000000000000001 0</results> |
orderbylocal-42 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "($x + $x) ", where $x is a set of small positive numbers and the ordering mode set to descending. Use a locally defined sequence. Query, XML-Input | <results>0.2 0.02 0.002 0.0002 0.00002 2E-6 2E-7 2E-8 2E-9 2E-10 2E-11 2E-12 2E-13 2E-14 2E-15 2E-16 2E-17 2E-18 0</results> | <results>0.2 0.02 0.002 0.0002 0.00002 0.000002 0.0000002 0.00000002 0.000000002 0.0000000002 0.00000000002 0.000000000002 0.0000000000002 0.00000000000002 0.000000000000002 0.0000000000000002 0.00000000000000002 0.000000000000000002 0</results> |
orderbylocal-45 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "xs:float($x) ", where $x is a set of small positive numbers and the ordering mode set to descending. Use a locally defined sequence. Query, XML-Input | <results>0.1 0.01 0.001 0.0001 1E-5 1E-6 1E-7 1E-8 1E-9 1E-10 1E-11 1E-12 1E-13 1E-14 1E-15 1E-16 1E-18 1E-17 0</results> | <results>0.1 0.01 0.001 0.0001 0.00001 0.000001 1.0E-7 1.0E-8 1.0E-9 1.0E-10 1.0E-11 1.0E-12 1.0E-13 1.0E-14 1.0E-15 1.0E-16 1.0E-17 1.0E-18 0</results> |
orderbylocal-46 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "xs:decimal($x) ", where $x is a set of small positive numbers and the ordering mode set to descending. Use a locally defined sequence. Query, XML-Input | <results>0.1 0.01 0.001 0.0001 0.00001 1E-6 1E-7 1E-8 1E-9 1E-10 1E-11 1E-12 1E-13 1E-14 1E-15 1E-16 1E-18 1E-17 0</results> | <results>0.1 0.01 0.001 0.0001 0.00001 0.000001 0.0000001 0.00000001 0.000000001 0.0000000001 0.00000000001 0.000000000001 0.0000000000001 0.00000000000001 0.000000000000001 0.0000000000000001 0.00000000000000001 0.000000000000000001 0</results> |
orderbylocal-47 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "xs:double($x) ", where $x is a set of small positive numbers and the ordering mode set to descending. Use a locally defined sequence. Query, XML-Input | <results>0.1 0.01 0.001 0.0001 0.00001 1E-6 1E-7 1E-8 1E-9 1E-10 1E-11 1E-12 1E-13 1E-14 1E-15 1E-16 1E-18 1E-17 0</results> | <results>0.1 0.01 0.001 0.0001 0.00001 0.000001 1.0E-7 1.0E-8 1.0E-9 1.0E-10 1.0E-11 1.0E-12 1.0E-13 1.0E-14 1.0E-15 1.0E-16 1.0E-17 1.0E-18 0</results> |
orderbylocal-49 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "string($x) ", where $x is a set of small positive numbers and the ordering mode set to ascending. Use a locally defined sequence. Query, XML-Input | <results>0 0.00001 0.0001 0.001 0.01 0.1 1E-10 1E-11 1E-12 1E-13 1E-14 1E-15 1E-16 1E-17 1E-18 1E-6 1E-7 1E-8 1E-9</results> | <results>0 0.000000000000000001 0.00000000000000001 0.0000000000000001 0.000000000000001 0.00000000000001 0.0000000000001 0.000000000001 0.00000000001 0.0000000001 0.000000001 0.00000001 0.0000001 0.000001 0.00001 0.0001 0.001 0.01 0.1</results> |
orderbylocal-50 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "$x ", where $x is a set of small negative numbers and the ordering mode set to ascending. Use a locally defined sequence. Query, XML-Input | <results>-0.1 -0.01 -0.001 -0.0001 -0.00001 -1E-6 -1E-7 -1E-8 -1E-9 -1E-10 -1E-11 -1E-12 -1E-13 -1E-14 -1E-15 -1E-16 -1E-18 -1E-17 0</results> | <results>-0.1 -0.01 -0.001 -0.0001 -0.00001 -0.000001 -0.0000001 -0.00000001 -0.000000001 -0.0000000001 -0.00000000001 -0.000000000001 -0.0000000000001 -0.00000000000001 -0.000000000000001 -0.0000000000000001 -0.00000000000000001 -0.000000000000000001 0</results> |
orderbylocal-51 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "$x ", where $x is a set of small negative numbers and the ordering mode set to descending. Use a locally defined sequence. Query, XML-Input | <results>-1E-18 -1E-17 0 -1E-16 -1E-15 -1E-14 -1E-13 -1E-12 -1E-11 -1E-10 -1E-9 -1E-8 -1E-7 -1E-6 -0.00001 -0.0001 -0.001 -0.01 -0.1</results> | <results>0 -0.000000000000000001 -0.00000000000000001 -0.0000000000000001 -0.000000000000001 -0.00000000000001 -0.0000000000001 -0.000000000001 -0.00000000001 -0.0000000001 -0.000000001 -0.00000001 -0.0000001 -0.000001 -0.00001 -0.0001 -0.001 -0.01 -0.1</results> |
orderbylocal-52 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "($x + $x) ", where $x is a set of small negative numbers and the ordering mode set to descending. Use a locally defined sequence. Query, XML-Input | <results>-2E-18 0 -2E-17 -2E-16 -2E-15 -2E-14 -2E-13 -2E-12 -2E-11 -2E-10 -2E-9 -2E-8 -2E-7 -2E-6 -0.00002 -0.0002 -0.002 -0.02 -0.2</results> | <results>0 -0.000000000000000002 -0.00000000000000002 -0.0000000000000002 -0.000000000000002 -0.00000000000002 -0.0000000000002 -0.000000000002 -0.00000000002 -0.0000000002 -0.000000002 -0.00000002 -0.0000002 -0.000002 -0.00002 -0.0002 -0.002 -0.02 -0.2</results> |
orderbylocal-55 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "xs:float($x) ", where $x is a set of small negative numbers and the ordering mode set to descending. Use a locally defined sequence. Query, XML-Input | <results>-1E-18 -1E-17 0 -1E-16 -1E-15 -1E-14 -1E-13 -1E-12 -1E-11 -1E-10 -1E-9 -1E-8 -1E-7 -1E-6 -1E-5 -0.0001 -0.001 -0.01 -0.1</results> | <results>0 -1.0E-18 -1.0E-17 -1.0E-16 -1.0E-15 -1.0E-14 -1.0E-13 -1.0E-12 -1.0E-11 -1.0E-10 -1.0E-9 -1.0E-8 -1.0E-7 -0.000001 -0.00001 -0.0001 -0.001 -0.01 -0.1</results> |
orderbylocal-56 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "xs:decimal($x) ", where $x is a set of small negative numbers and the ordering mode set to descending. Use a locally defined sequence. Query, XML-Input | <results>-1E-18 -1E-17 0 -1E-16 -1E-15 -1E-14 -1E-13 -1E-12 -1E-11 -1E-10 -1E-9 -1E-8 -1E-7 -1E-6 -0.00001 -0.0001 -0.001 -0.01 -0.1</results> | <results>0 -0.000000000000000001 -0.00000000000000001 -0.0000000000000001 -0.000000000000001 -0.00000000000001 -0.0000000000001 -0.000000000001 -0.00000000001 -0.0000000001 -0.000000001 -0.00000001 -0.0000001 -0.000001 -0.00001 -0.0001 -0.001 -0.01 -0.1</results> |
orderbylocal-57 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "xs:double($x) ", where $x is a set of small negative numbers and the ordering mode set to descending. Use a locally defined sequence. Query, XML-Input | <results>-1E-18 0 -1E-17 -1E-16 -1E-15 -1E-14 -1E-13 -1E-12 -1E-11 -1E-10 -1E-9 -1E-8 -1E-7 -1E-6 -0.00001 -0.0001 -0.001 -0.01 -0.1</results> | <results>0 -1.0E-18 -1.0E-17 -1.0E-16 -1.0E-15 -1.0E-14 -1.0E-13 -1.0E-12 -1.0E-11 -1.0E-10 -1.0E-9 -1.0E-8 -1.0E-7 -0.000001 -0.00001 -0.0001 -0.001 -0.01 -0.1</results> |
orderbylocal-59 | Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "string($x) ", where $x is a set of small negative numbers and the ordering mode set to ascending. Use a locally defined sequence. Query, XML-Input | <results>-0.00001 -0.0001 -0.001 -0.01 -0.1 -1E-10 -1E-11 -1E-12 -1E-13 -1E-14 -1E-15 -1E-16 -1E-17 -1E-18 -1E-6 -1E-7 -1E-8 -1E-9 0</results> | <results>-0.000000000000000001 -0.00000000000000001 -0.0000000000000001 -0.000000000000001 -0.00000000000001 -0.0000000000001 -0.000000000001 -0.00000000001 -0.0000000001 -0.000000001 -0.00000001 -0.0000001 -0.000001 -0.00001 -0.0001 -0.001 -0.01 -0.1 0</results> |
Testname | Description | Got | Expected |
---|---|---|---|
Orderexpr-18 | fn:reverse unordered. Query, XML-Input | 3 2 | 2 3 |
Testname | Description | Got | Expected |
---|---|---|---|
step-expr-si-2 | Ensure that static type of the child axis on a restricted schema type is computed correctly. Query, XML-Input | Error:Unknown type: restrictedType in: (: Name: step-expr-si-2 :) (: Author: Oliver Hallam :) (: Date: 2010-03-17 :) (: Description: Ensure that static type of the child axis on a restricted schema type is computed correctly. :) import schema default element namespace "http://www.example.com/XQueryTest/extendedTypes"; (: insert-begin :) declare variable $input-context external; (: insert-end :) for $extended as element(*, restrictedType [<- error occurs before here] ) in $input-context//element(*, restrictedType) let $baseElement as element()+ := $extended/node() return $baseElement | <baseElement xmlns = "http://www.example.com/XQueryTest/extendedTypes" /> |
step-expr-si-3 | Ensure that static type of the child axis on a restricted schema type is computed correctly. Query, XML-Input | Error:Unknown type: anotherBaseType in: (: Name: step-expr-si-3 :) (: Author: Oliver Hallam :) (: Date: 2010-03-17 :) (: Description: Ensure that the child axis on a restricted schema type is computed correctly :) import schema default element namespace "http://www.example.com/XQueryTest/extendedTypes"; (: insert-begin :) declare variable $input-context external; (: insert-end :) for $extended as element(*, anotherBaseType [<- error occurs before here] ) in $input-context//element(restrictedAttribute, anotherBaseType) let $baseElement as element(baseElement) := $extended/baseElement return $baseElement | <baseElement xmlns = "http://www.example.com/XQueryTest/extendedTypes" /> |
Testname | Description | Got | Expected |
---|---|---|---|
preceding-22 | Walk from the node from the last node in the document. Query, XML-Input | <result> <section1 noValue=""> text1 <?target1 data1?> <?target2 data2?> <?target3 data3?> </section1> text1 <?target1 data1?> <?target2 data2?> <?target3 data3?> <section2 attr1="1" attr2="2"/> <!-- comment1 --> <section3/> <!-- comment2 --> <!-- comment3 --> <noChildren/> <oneTextChild>theTextChild2</oneTextChild>theTextChild2</result> | <?xml version="1.0" encoding="UTF-8"?><result> <section1 noValue=""> text1 <?target1 data1?> <?target2 data2?> <?target3 data3?> </section1> text1 <?target1 data1?> <?target2 data2?> <?target3 data3?> <section2 attr1="1" attr2="2"/> <!-- comment1 --> <section3/> <!-- comment2 --> <!-- comment3 --> <noChildren/> <oneTextChild>theTextChild2</oneTextChild>theTextChild2</result> |
Testname | Description | Got | Expected |
---|---|---|---|
unabbreviatedSyntax-25 | Evaluates unabbreviated syntax. Evaluate "preceding-sibling::employee[fn:position() = 1]". Selects the previous employee sibling of the context node. Query, XML-Input | <employee name="Jane Doe 1" gender="female"> <empnum>E1</empnum> <pnum>P1</pnum> <hours>40</hours> </employee> | <employee name="Jane Doe 1" gender="female"> <empnum>E1</empnum> <pnum>P1</pnum> <hours>40</hours> </employee> |
Testname | Description | Got | Expected |
---|---|---|---|
predicates-17 | Evaluation of a simple predicate that uses the "eq" operator. Query, XML-Input | <employee name="Jane Doe 11" gender="female"> <empnum>E4</empnum> <pnum>P2</pnum> <hours>20</hours> </employee> | <employee name="Jane Doe 11" gender="female"> <empnum>E4</empnum> <pnum>P2</pnum> <hours>20</hours> </employee> |
predicates-24 | Evaluation of a simple predicate that uses the "!=" operator. Query, XML-Input | <employee name="Jane Doe 7" gender="female"> <empnum>E2</empnum> <pnum>P1</pnum> <hours>40</hours> </employee><employee name="John Doe 8" gender="male"> <empnum>E2</empnum> <pnum>P2</pnum> <hours>80</hours> </employee><employee name="Jane Doe 9" gender="female"> <empnum>E3</empnum> <pnum>P2</pnum> <hours>20</hours> </employee><employee name="John Doe 10" gender="male"> <empnum>E3</empnum> <pnum>P2</pnum> <hours>20</hours> </employee> | <employee name="Jane Doe 7" gender="female"> <empnum>E2</empnum> <pnum>P1</pnum> <hours>40</hours> </employee><employee name="John Doe 8" gender="male"> <empnum>E2</empnum> <pnum>P2</pnum> <hours>80</hours> </employee><employee name="Jane Doe 9" gender="female"> <empnum>E3</empnum> <pnum>P2</pnum> <hours>20</hours> </employee><employee name="John Doe 10" gender="male"> <empnum>E3</empnum> <pnum>P2</pnum> <hours>20</hours> </employee> |
Testname | Description | Got | Expected |
---|---|---|---|
ReturnExpr004 | For+Where+Return - filters in 'Where' expr and in 'Return' expr using predicate. Query, XML-Input | <Deny> <security> <right>Read</right> </security> <user>system\Toshiko</user> </Deny> | <Deny> <security> <right>Read</right> </security> <user>system\Toshiko</user> </Deny> |
ReturnExpr016 | Return value of positional variable. Query, XML-Input | <File name="File00000000000" offset="1"/><File name="File00000000001" offset="2"/><File name="File00000000002" offset="3"/><File name="File00000000003" offset="4"/><File name="File00000000004" offset="5"/><File name="File00000000005" offset="6"/><File name="File00000000006" offset="7"/><File name="File00000000007" offset="8"/><File name="File00000000008" offset="9"/><File name="File00000000009" offset="10"/><File name="File00000000010" offset="11"/><File name="File00000000011" offset="12"/><File name="File00000000012" offset="13"/><File name="File00000000013" offset="14"/><File name="File00000000014" offset="15"/><File name="File00000000015" offset="16"/><File name="File00000000016" offset="17"/><File name="File00000000017" offset="18"/><File name="File00000000018" offset="19"/><File name="File00000000019" offset="20"/><File name="File00000000020" offset="21"/><File name="File00000000021" offset="22"/><File name="File00000000022" offset="23"/><File name="File00000000023" offset="24"/><File name="File00000000024" offset="25"/><File name="File00000000025" offset="26"/><File name="File00000000026" offset="27"/><File name="File00000000027" offset="28"/><File name="File00000000028" offset="29"/><File name="File00000000029" offset="30"/><File name="File00000000030" offset="31"/> | <File name="File00000000000" offset="1" /><File name="File00000000001" offset="2" /><File name="File00000000002" offset="3" /><File name="File00000000003" offset="4" /><File name="File00000000004" offset="5" /><File name="File00000000005" offset="6" /><File name="File00000000006" offset="7" /><File name="File00000000007" offset="8" /><File name="File00000000008" offset="9" /><File name="File00000000009" offset="10" /><File name="File00000000010" offset="11" /><File name="File00000000011" offset="12" /><File name="File00000000012" offset="13" /><File name="File00000000013" offset="14" /><File name="File00000000014" offset="15" /><File name="File00000000015" offset="16" /><File name="File00000000016" offset="17" /><File name="File00000000017" offset="18" /><File name="File00000000018" offset="19" /><File name="File00000000019" offset="20" /><File name="File00000000020" offset="21" /><File name="File00000000021" offset="22" /><File name="File00000000022" offset="23" /><File name="File00000000023" offset="24" /><File name="File00000000024" offset="25" /><File name="File00000000025" offset="26" /><File name="File00000000026" offset="27" /><File name="File00000000027" offset="28" /><File name="File00000000028" offset="29" /><File name="File00000000029" offset="30" /><File name="File00000000030" offset="31" /> |
Testname | Description | Got | Expected |
---|---|---|---|
K2-RoundEvenFunc-9 | Invoked fn:round-half-to-even() on xs:double -0. Query, XML-Input | 0 | -0 |
K2-RoundEvenFunc-10 | Invoked fn:round-half-to-even() on xs:float -0. Query, XML-Input | 0 | -0 |
Testname | Description | Got | Expected |
---|---|---|---|
fn-rounddbl1args-1 | Evaluates the "round" function with the arguments set as follows: $arg = xs:double(lower bound). Query, XML-Input | -1.79769313486232E308 | -1.7976931348623157E308 |
fn-rounddbl1args-3 | Evaluates the "round" function with the arguments set as follows: $arg = xs:double(upper bound). Query, XML-Input | 1.79769313486232E308 | 1.7976931348623157E308 |
K2-RoundFunc-16 | Invoke on xs:double -0. Query, XML-Input | 0 | -0 |
K2-RoundFunc-20 | Invoke on xs:float -0. Query, XML-Input | 0 | -0 |
K2-RoundFunc-25 | Invoke on -0.01, type xs:float. Query, XML-Input | 0 | -0 |
K2-RoundFunc-26 | Invoke on -0.01, type xs:double. Query, XML-Input | 0 | -0 |
K2-RoundFunc-29 | Invoke on -0.04, type xs:float. Query, XML-Input | 0 | -0 |
K2-RoundFunc-30 | Invoke on -0.04, type xs:double. Query, XML-Input | 0 | -0 |
K2-RoundFunc-33 | Invoke on -0.05, type xs:float. Query, XML-Input | 0 | -0 |
K2-RoundFunc-34 | Invoke on -0.05, type xs:double. Query, XML-Input | 0 | -0 |
K2-RoundFunc-37 | Invoke on -0.06, type xs:float. Query, XML-Input | 0 | -0 |
K2-RoundFunc-38 | Invoke on -0.06, type xs:double. Query, XML-Input | 0 | -0 |
K2-RoundFunc-41 | Invoke on -0.09, type xs:float. Query, XML-Input | 0 | -0 |
K2-RoundFunc-42 | Invoke on -0.09, type xs:double. Query, XML-Input | 0 | -0 |
K2-RoundFunc-45 | Invoke on -0.00, type xs:float. Query, XML-Input | 0 | -0 |
K2-RoundFunc-46 | Invoke on -0.00, type xs:double. Query, XML-Input | 0 | -0 |
K2-RoundFunc-49 | Invoke on -0.11, type xs:float. Query, XML-Input | 0 | -0 |
K2-RoundFunc-50 | Invoke on -0.11, type xs:double. Query, XML-Input | 0 | -0 |
K2-RoundFunc-53 | Invoke on -0.14, type xs:float. Query, XML-Input | 0 | -0 |
K2-RoundFunc-54 | Invoke on -0.14, type xs:double. Query, XML-Input | 0 | -0 |
K2-RoundFunc-57 | Invoke on -0.15, type xs:float. Query, XML-Input | 0 | -0 |
K2-RoundFunc-58 | Invoke on -0.15, type xs:double. Query, XML-Input | 0 | -0 |
K2-RoundFunc-61 | Invoke on -0.16, type xs:float. Query, XML-Input | 0 | -0 |
K2-RoundFunc-62 | Invoke on -0.16, type xs:double. Query, XML-Input | 0 | -0 |
K2-RoundFunc-65 | Invoke on -0.19, type xs:float. Query, XML-Input | 0 | -0 |
K2-RoundFunc-66 | Invoke on -0.19, type xs:double. Query, XML-Input | 0 | -0 |
K2-RoundFunc-69 | Invoke on -0.10, type xs:float. Query, XML-Input | 0 | -0 |
K2-RoundFunc-70 | Invoke on -0.10, type xs:double. Query, XML-Input | 0 | -0 |
K2-RoundFunc-73 | Invoke on -0.41, type xs:float. Query, XML-Input | 0 | -0 |
K2-RoundFunc-74 | Invoke on -0.41, type xs:double. Query, XML-Input | 0 | -0 |
K2-RoundFunc-77 | Invoke on -0.44, type xs:float. Query, XML-Input | 0 | -0 |
K2-RoundFunc-78 | Invoke on -0.44, type xs:double. Query, XML-Input | 0 | -0 |
K2-RoundFunc-81 | Invoke on -0.45, type xs:float. Query, XML-Input | 0 | -0 |
K2-RoundFunc-82 | Invoke on -0.45, type xs:double. Query, XML-Input | 0 | -0 |
K2-RoundFunc-85 | Invoke on -0.46, type xs:float. Query, XML-Input | 0 | -0 |
K2-RoundFunc-86 | Invoke on -0.46, type xs:double. Query, XML-Input | 0 | -0 |
K2-RoundFunc-89 | Invoke on -0.49, type xs:float. Query, XML-Input | 0 | -0 |
K2-RoundFunc-90 | Invoke on -0.49, type xs:double. Query, XML-Input | 0 | -0 |
K2-RoundFunc-93 | Invoke on -0.40, type xs:float. Query, XML-Input | 0 | -0 |
K2-RoundFunc-94 | Invoke on -0.40, type xs:double. Query, XML-Input | 0 | -0 |
K2-RoundFunc-117 | Invoke on -0.50, type xs:float. Query, XML-Input | 0 | -0 |
K2-RoundFunc-118 | Invoke on -0.50, type xs:double. Query, XML-Input | 0 | -0 |
K2-RoundFunc-169 | Invoke on -0.101, type xs:float. Query, XML-Input | 0 | -0 |
K2-RoundFunc-170 | Invoke on -0.101, type xs:double. Query, XML-Input | 0 | -0 |
K2-RoundFunc-173 | Invoke on -0.104, type xs:float. Query, XML-Input | 0 | -0 |
K2-RoundFunc-174 | Invoke on -0.104, type xs:double. Query, XML-Input | 0 | -0 |
K2-RoundFunc-177 | Invoke on -0.105, type xs:float. Query, XML-Input | 0 | -0 |
K2-RoundFunc-178 | Invoke on -0.105, type xs:double. Query, XML-Input | 0 | -0 |
K2-RoundFunc-181 | Invoke on -0.106, type xs:float. Query, XML-Input | 0 | -0 |
K2-RoundFunc-182 | Invoke on -0.106, type xs:double. Query, XML-Input | 0 | -0 |
K2-RoundFunc-185 | Invoke on -0.109, type xs:float. Query, XML-Input | 0 | -0 |
K2-RoundFunc-186 | Invoke on -0.109, type xs:double. Query, XML-Input | 0 | -0 |
K2-RoundFunc-189 | Invoke on -0.100, type xs:float. Query, XML-Input | 0 | -0 |
K2-RoundFunc-190 | Invoke on -0.100, type xs:double. Query, XML-Input | 0 | -0 |
Testname | Description | Got | Expected |
---|---|---|---|
schema-import-4 | Evaluation of usage of xs:boolean type as argument to fn:not(). Query, XML-Input | true | false |
schema-import-5 | Evaluation of usage of xs:float type as argument to fn:avg(). Query, XML-Input | true | |
schema-import-6 | Evaluation of usage of xs:integer type as argument to fn:avg(). Query, XML-Input | true | |
schema-import-7 | Evaluation of usage of xs:decimal type as argument to fn:avg(). Query, XML-Input | true | |
schema-import-8 | Evaluation of usage of xs:double type as argument to fn:avg(). Query, XML-Input | 1.26743233E15 | |
schema-import-9 | Evaluation of usage of xs:float type as argument to fn:abs(). Query, XML-Input | true | |
schema-import-10 | Evaluation of usage of xs:integer type as argument to fn:abs(). Query, XML-Input | true | |
schema-import-11 | Evaluation of usage of xs:decimal type as argument to fn:abs(). Query, XML-Input | true | |
schema-import-12 | Evaluation of usage of xs:double type as argument to fn:abs(). Query, XML-Input | 1.26743233E15 | |
schema-import-13 | Evaluation of usage of xs:float type as argument to fn:max(). Query, XML-Input | true | |
schema-import-14 | Evaluation of usage of xs:integer type as argument to fn:max(). Query, XML-Input | true | |
schema-import-15 | Evaluation of usage of xs:decimal type as argument to fn:max(). Query, XML-Input | true | |
schema-import-16 | Evaluation of usage of xs:double type as argument to fn:max(). Query, XML-Input | 1.26743233E15 | |
schema-import-17 | Evaluation of usage of xs:float type as argument to fn:min(). Query, XML-Input | true | |
schema-import-18 | Evaluation of usage of xs:integer type as argument to fn:min(). Query, XML-Input | true | |
schema-import-19 | Evaluation of usage of xs:decimal type as argument to fn:min(). Query, XML-Input | true | |
schema-import-20 | Evaluation of usage of xs:double type as argument to fn:min(). Query, XML-Input | 1.26743233E15 | |
schema-import-21 | Evaluation of usage of xs:dateTime type as argument to fn:hours-from-dateTime(). Query, XML-Input | 12 | |
schema-import-22 | Evaluation of usage of xs:dateTime type as argument to fn:minutes-from-dateTime(). Query, XML-Input | 0 | |
schema-import-23 | Evaluation of usage of xs:dateTime type as argument to fn:seconds-from-dateTime(). Query, XML-Input | 0 | |
schema-import-25 | Evaluation of schema import of numeric type (float) and used in addition expression. Query, XML-Input | true | |
schema-import-26 | Evaluation of schema import of numeric type (integer) and used in addition expression. Query, XML-Input | true | |
schema-import-27 | Evaluation of schema import of numeric type (decimal) and used in addition expression. Query, XML-Input | true | |
schema-import-28 | Evaluation of schema import of numeric type (double) and used in addition expression. Query, XML-Input | 2.53486466E15 | |
schema-import-29 | Evaluation of schema import of numeric type (integer) and used in division (idiv operator) expression. Query, XML-Input | 1 | |
schema-import-30 | Evaluation of schema import of numeric type (integer) and used in subtraction expression. Query, XML-Input | 0 | |
modules-schema-context | Evaluation of library module that imports a schema. Query, XML-Input | Error:Unknown type: myType in: (:*******************************************************:) (: Test: context-lib.xq :) (: Written By: Mary Holstege :) (: Date: 2005/12/05 14:47:00 :) (: Purpose: Library module with interesting context :) (:*******************************************************:) module namespace ctx="http://www.w3.org/TestModules/context"; (: insert-start :) import schema namespace simple="http://www.w3.org/XQueryTest/simple"; (: insert-end :) declare namespace unknown="http://www.w3.org/TestModules/unknown"; declare function ctx:use-schema () { "47" cast as simple:myType [<- error occurs before here] }; declare function ctx:use-namespace () { fn:data(<unknown:thing>47</unknown:thing>) }; | <result>true</result> |
Testname | Description | Got | Expected |
---|---|---|---|
fn-avgdbl1args-1 | Evaluates the "avg" function with the arguments set as follows: $arg = xs:double(lower bound). Query, XML-Input | -1.79769313486232E308 | -1.7976931348623157E308 |
fn-avgdbl1args-3 | Evaluates the "avg" function with the arguments set as follows: $arg = xs:double(upper bound). Query, XML-Input | 1.79769313486232E308 | 1.7976931348623157E308 |
fn-avgintg2args-2 | Evaluates the "avg" function with the arguments set as follows: $arg1 = xs:integer(mid range) $arg2 = xs:integer(lower bound). Query, XML-Input | -8.450325144148785E16 | -84503251441487847.5 |
fn-avgintg2args-4 | Evaluates the "avg" function with the arguments set as follows: $arg1 = xs:integer(lower bound) $arg2 = xs:integer(mid range). Query, XML-Input | -8.450325144148785E16 | -84503251441487847.5 |
fn-avgnpi2args-2 | Evaluates the "avg" function with the arguments set as follows: $arg1 = xs:nonPositiveInteger(mid range) $arg2 = xs:nonPositiveInteger(lower bound). Query, XML-Input | -7.378442186359352E17 | -737844218635935244.5 |
fn-avgnpi2args-3 | Evaluates the "avg" function with the arguments set as follows: $arg1 = xs:nonPositiveInteger(upper bound) $arg2 = xs:nonPositiveInteger(lower bound). Query, XML-Input | -5E17 | -499999999999999999.5 |
fn-avgnpi2args-4 | Evaluates the "avg" function with the arguments set as follows: $arg1 = xs:nonPositiveInteger(lower bound) $arg2 = xs:nonPositiveInteger(mid range). Query, XML-Input | -7.378442186359352E17 | -737844218635935244.5 |
fn-avgnpi2args-5 | Evaluates the "avg" function with the arguments set as follows: $arg1 = xs:nonPositiveInteger(lower bound) $arg2 = xs:nonPositiveInteger(upper bound). Query, XML-Input | -5E17 | -499999999999999999.5 |
fn-avgnni2args-2 | Evaluates the "avg" function with the arguments set as follows: $arg1 = xs:nonNegativeInteger(mid range) $arg2 = xs:nonNegativeInteger(lower bound). Query, XML-Input | 1.519422729957323E17 | 151942272995732263.5 |
fn-avgnni2args-3 | Evaluates the "avg" function with the arguments set as follows: $arg1 = xs:nonNegativeInteger(upper bound) $arg2 = xs:nonNegativeInteger(lower bound). Query, XML-Input | 5E17 | 499999999999999999.5 |
fn-avgnni2args-4 | Evaluates the "avg" function with the arguments set as follows: $arg1 = xs:nonNegativeInteger(lower bound) $arg2 = xs:nonNegativeInteger(mid range). Query, XML-Input | 1.519422729957323E17 | 151942272995732263.5 |
fn-avgnni2args-5 | Evaluates the "avg" function with the arguments set as follows: $arg1 = xs:nonNegativeInteger(lower bound) $arg2 = xs:nonNegativeInteger(upper bound). Query, XML-Input | 5E17 | 499999999999999999.5 |
fn-avg-mix-args-021 | Arg: seq of double,integer. Query, XML-Input | -500000000000000000 | -5.0E17 |
fn-avg-mix-args-023 | Arg: seq of double,integer. Query, XML-Input | -500000000000000000 | -5.0E17 |
fn-avg-4 | Test fn:avg on a sequence of xs:dayTimeDuration arguments. Query, XML-Input | PT5H30M0.000295S | PT5H30M |
Testname | Description | Got | Expected |
---|---|---|---|
fn-boolean-mixed-args-001 | Arg: empty sequence. Query, XML-Input | <return>false</return> | <return>false</return> |
fn-boolean-mixed-args-002 | Arg: string. Query, XML-Input | <return>false</return> | <return>false</return> |
fn-boolean-mixed-args-003 | Arg: boolean function. Query, XML-Input | <return>false</return> | <return>false</return> |
fn-boolean-mixed-args-004 | Arg: boolean function. Query, XML-Input | <return>true</return> | <return>true</return> |
fn-boolean-mixed-args-005 | Arg: string. Query, XML-Input | <return>false</return> | <return>false</return> |
fn-boolean-mixed-args-006 | Arg: string. Query, XML-Input | <return>true</return> | <return>true</return> |
fn-boolean-mixed-args-007 | Arg: string. Query, XML-Input | <return>true</return> | <return>true</return> |
fn-boolean-mixed-args-008 | Arg: integer. Query, XML-Input | <return>false</return> | <return>false</return> |
fn-boolean-mixed-args-009 | Arg: integer. Query, XML-Input | <return>true</return> | <return>true</return> |
fn-boolean-mixed-args-010 | Arg: integer. Query, XML-Input | <return>true</return> | <return>true</return> |
fn-boolean-mixed-args-011 | Arg: float. Query, XML-Input | <return>false</return> | <return>false</return> |
fn-boolean-mixed-args-012 | Arg: float. Query, XML-Input | <return>true</return> | <return>true</return> |
fn-boolean-mixed-args-013 | Arg: float. Query, XML-Input | <return>true</return> | <return>true</return> |
fn-boolean-mixed-args-014 | Arg: float. Query, XML-Input | <return>false</return> | <return>false</return> |
fn-boolean-mixed-args-015 | Arg: float. Query, XML-Input | <return>true</return> | <return>true</return> |
fn-boolean-mixed-args-016 | Arg: float. Query, XML-Input | <return>true</return> | <return>true</return> |
fn-boolean-mixed-args-017 | Arg: double. Query, XML-Input | <return>false</return> | <return>false</return> |
fn-boolean-mixed-args-018 | Arg: double. Query, XML-Input | <return>true</return> | <return>true</return> |
fn-boolean-mixed-args-019 | Arg: double. Query, XML-Input | <return>true</return> | <return>true</return> |
fn-boolean-mixed-args-020 | Arg: double. Query, XML-Input | <return>false</return> | <return>false</return> |
fn-boolean-mixed-args-021 | Arg: double. Query, XML-Input | <return>true</return> | <return>true</return> |
fn-boolean-mixed-args-022 | Arg: double. Query, XML-Input | <return>true</return> | <return>true</return> |
fn-boolean-mixed-args-023 | Arg: double. Query, XML-Input | <return>false</return> | <return>false</return> |
fn-boolean-mixed-args-024 | Arg: decimal. Query, XML-Input | <return>true</return> | <return>true</return> |
fn-boolean-mixed-args-025 | Arg: decimal. Query, XML-Input | <return>true</return> | <return>true</return> |
fn-boolean-mixed-args-026 | Arg: decimal. Query, XML-Input | <return>false</return> | <return>false</return> |
fn-boolean-mixed-args-027 | Arg: decimal. Query, XML-Input | <return>true</return> | <return>true</return> |
fn-boolean-mixed-args-028 | Arg: decimal. Query, XML-Input | <return>true</return> | <return>true</return> |
fn-boolean-mixed-args-029 | Arg: integer. Query, XML-Input | <return>false</return> | <return>false</return> |
fn-boolean-mixed-args-030 | Arg: integer. Query, XML-Input | <return>true</return> | <return>true</return> |
fn-boolean-mixed-args-031 | Arg: integer. Query, XML-Input | <return>true</return> | <return>true</return> |
fn-boolean-mixed-args-032 | Arg: nonPositiveInteger. Query, XML-Input | <return>true</return> | <return>true</return> |
fn-boolean-mixed-args-033 | Arg: nonPositiveInteger. Query, XML-Input | <return>false</return> | <return>false</return> |
fn-boolean-mixed-args-034 | Arg: nonPositiveInteger. Query, XML-Input | <return>true</return> | <return>true</return> |
fn-boolean-mixed-args-035 | Arg: negativeInteger. Query, XML-Input | <return>true</return> | <return>true</return> |
fn-boolean-mixed-args-036 | Arg: negativeInteger. Query, XML-Input | <return>true</return> | <return>true</return> |
fn-boolean-mixed-args-037 | Arg: positiveInteger. Query, XML-Input | <return>true</return> | <return>true</return> |
fn-boolean-mixed-args-038 | Arg: positiveInteger. Query, XML-Input | <return>true</return> | <return>true</return> |
fn-boolean-mixed-args-039 | Arg: long. Query, XML-Input | <return>true</return> | <return>true</return> |
fn-boolean-mixed-args-040 | Arg: long. Query, XML-Input | Error:Range check error | <return>true</return> |
fn-boolean-mixed-args-041 | Arg: long. Query, XML-Input | <return>false</return> | <return>false</return> |
fn-boolean-mixed-args-042 | Arg: long. Query, XML-Input | <return>true</return> | <return>true</return> |
fn-boolean-mixed-args-043 | Arg: long. Query, XML-Input | <return>true</return> | <return>true</return> |
fn-boolean-mixed-args-044 | Arg: int. Query, XML-Input | <return>true</return> | <return>true</return> |
fn-boolean-mixed-args-045 | Arg: int. Query, XML-Input | <return>true</return> | <return>true</return> |
fn-boolean-mixed-args-046 | Arg: int. Query, XML-Input | <return>false</return> | <return>false</return> |
fn-boolean-mixed-args-047 | Arg: int. Query, XML-Input | <return>true</return> | <return>true</return> |
fn-boolean-mixed-args-048 | Arg: int. Query, XML-Input | <return>true</return> | <return>true</return> |
Testname | Description | Got | Expected |
---|---|---|---|
fn-collection-4 | Count the number of nodes in the collection. Query, XML-Input | 0 | 2 |
fn-collection-4d | Count the number of nodes in the collection. Query, XML-Input | 0 | 2 |
fn-collection-5 | Count the number of nodes in the collection. Query, XML-Input | 0 | 3 |
fn-collection-5d | Count the number of nodes in the collection. Query, XML-Input | 0 | 3 |
fn-collection-6 | Return the titles in the collection ordered by the title. Query, XML-Input | <title>Advanced Programming in the Unix environment</title><title>Advanced Programming in the Unix environment</title><title>Basic Syntax</title><title>Data Model</title><title>Data on the Web</title><title>Data on the Web</title><title>Syntax For Data Model</title><title>TCP/IP Illustrated</title><title>TCP/IP Illustrated</title><title>The Economics of Technology and Content for Digital TV</title><title>XML</title><title>XML and Semistructured Data</title> | |
fn-collection-8 | Return the first title element in each document. Query, XML-Input | <title>TCP/IP Illustrated</title><title>Data on the Web</title> | |
fn-collection-9 | Count the title elements in each document. Query, XML-Input | 3 4 5 | |
fn-collection-10 | Test that two uses of fn:collection are stable. Query, XML-Input | true true true | |
fn-collection-10d | Test that two uses of fn:collection are stable. Query, XML-Input | true true true |
Testname | Description | Got | Expected |
---|---|---|---|
fn-distinct-valuesdbl1args-1 | Evaluates the "distinct-values" function with the arguments set as follows: $arg = xs:double(lower bound). Query, XML-Input | -1.79769313486232E308 | -1.7976931348623157E308 |
fn-distinct-valuesdbl1args-3 | Evaluates the "distinct-values" function with the arguments set as follows: $arg = xs:double(upper bound). Query, XML-Input | 1.79769313486232E308 | 1.7976931348623157E308 |
fn-distinct-values-mixed-args-001 | Arg: sequence of integer and decimal. Query, XML-Input | 1 2 | 2 1 |
fn-distinct-values-mixed-args-005 | Arg: sequence of integer and double. Query, XML-Input | 0 1 | 1 0 |
fn-distinct-values-mixed-args-010 | Arg: sequence of decimal. Query, XML-Input | 1.2 1.2 | 1.2000000000000001 1.2 |
fn-distinct-values-mixed-args-018 | Arg: sequence of float and float. Query, XML-Input | -INF INF | INF -INF |
fn-distinct-values-mixed-args-024 | Arg: sequence of double and double. Query, XML-Input | -INF INF | INF -INF |
fn-distinct-values-mixed-args-028 | Arg: sequence of string. Query, XML-Input | -INF INF | INF -INF |
Testname | Description | Got | Expected |
---|---|---|---|
fn-doc-available-3 | Open an XML document that has an xml:id attribute duplicated. Query, XML-Input | true | false |
Testname | Description | Got | Expected |
---|---|---|---|
fn-doc-25 | Open a file with corner case Unicode codepoints. Query, XML-Input | Error:Data not allowed at root level: ]> | <เจมส์></เจมส์> |
fn-doc-26 | Open a file with corner case Unicode codepoints. Query, XML-Input | Error:The tag <> was closed, but the latest opened was < |