|
Implementations | |||||||
Tests | BaseX 8.5 beta XQ31 (QT3 vCVS) |
Saxon-EE 9.7.0.11 XP31 (QT3 v0.6) |
Saxon-EE 9.7.0.11 XQ31 (QT3 v0.6) |
XmlPrime 4.0.0.16079 XP31 (QT3 vCVS) |
XmlPrime 4.0.0.26293 XQ31 (QT3 vCVS) |
XmlPrime 4.0.0.27704 XQX31 (QT3 vCVS) |
|
---|---|---|---|---|---|---|---|
fn-serialize | 66/116 | 75/75 | 116/116 | 75/75 | 116/116 | 116/0 | 0/6 |
serialize-xml-001[+]
X serialize-xml-001: Created on: 2010-10-05 Spec Dependencies: spec = XP30+ XQ30+ Test: serialize(.) |
pass | pass | pass | pass | pass | pass | |
serialize-xml-002[+]
X serialize-xml-002: Created on: 2010-10-05 Spec Dependencies: spec = XP30+ XQ30+ Test: serialize((.//@*)[1]) |
pass | pass | pass | pass | pass | pass | |
serialize-xml-003[+]
X serialize-xml-003: Created on: 2010-10-05 Spec Dependencies: spec = XQ30+ Test: let $params := <output:serialization-parameters xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization"> <output:method value="xml"/> <output:indent value="yes"/> </output:serialization-parameters> return serialize(., $params) |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-004[+]
X serialize-xml-004: Created on: 2010-10-05 Spec Dependencies: spec = XQ30+ Test: let $params := <output:serialization-parameters xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization"> <output:indent value="yes"/> </output:serialization-parameters> return serialize(., $params) |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-005[+]
X serialize-xml-005: Created on: 2010-10-05 Spec Dependencies: spec = XQ30+ Test: let $params := <output:serialization-parameters xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization"> <output:use-character-maps value="yes"/> <output:indent value="yes"/> </output:serialization-parameters> return serialize(., $params) |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-006[+]
X serialize-xml-006: Created on: 2010-10-06 Spec Dependencies: spec = XQ30+ Test: let $params := <output:serialization-parameters xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization" xmlns:p="http://www.saxonica.com"> <output:method value="xml"/> <output:indent value="yes"/> <output:cdata-section-elements value="p:a p:b c"/> </output:serialization-parameters> return serialize(., $params) |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-007[+]
X serialize-xml-007: Created on: 2010-10-06 Spec Dependencies: spec = XQ30+ Test: let $params := <output:serialization-parameters xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization"> <output:method value="xml"/> <output:indent value="yes"/> <output:xindent value="yes"/> </output:serialization-parameters> return serialize(., $params) |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-007a[+]
X serialize-xml-007a: Created on: 2010-10-06 Spec Dependencies: spec = XQ30+ Test: let $params := <output:serialization-parameters xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization"> <output:method value="xml"/> <output:indent value="yes"/> <vendor:xindent value="yes" xmlns:vendor="http://vendor.example.com/"/> </output:serialization-parameters> return serialize(., $params) |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-008[+]
X serialize-xml-008: Created on: 2010-10-07 Spec Dependencies: spec = XQ30+ Test: let $params := <output:serialization-parameters xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization"> <output:method value="xml"/> <output:indent value="yes"/> <output:suppress-indentation value="p"/> </output:serialization-parameters> return serialize(., $params) |
pass | n/a
environment dependencies not satisfied |
pass | n/a | pass | pass | |
serialize-xml-009[+]
X serialize-xml-009: Created on: 2010-10-05 Spec Dependencies: spec = XQ30+ Test: let $params := <output:serialization-parameters xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization"> <output:method value="xml"/> <output:indent value="maybe"/> <output:suppress-indentation value="p"/> </output:serialization-parameters> return serialize(., $params) |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-010[+]
X serialize-xml-010: Created on: 2013-04-23 Spec Dependencies: spec = XP30+ XQ30+ feature = higherOrderFunctions Test: serialize(name#1) |
pass | pass | pass | pass | pass | pass | |
serialize-xml-011[+]
X serialize-xml-011: Created on: 2013-04-23 Spec Dependencies: spec = XP30+ XQ30+ Test: serialize((//@*:attr)[1]) |
pass | pass | pass | pass | pass | pass | |
serialize-xml-012[+]
X serialize-xml-012: Created on: 2013-04-23 Spec Dependencies: spec = XP30+ Test: serialize((//namespace::*)[1]) |
no result | pass | n/a
notXQ31 |
pass | n/a | n/a | |
serialize-xml-013[+]
X serialize-xml-013: Created on: 2013-04-23 Spec Dependencies: spec = XQ30+ Test: serialize(namespace a {"http://www.example.com"}) |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-014[+]
X serialize-xml-014: Created on: 2015-04-16 Spec Dependencies: spec = XQ30+ Test: let $params := <output:serialization-parameters xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization"> <output:indent value="yes" value2="no"/> </output:serialization-parameters> return serialize(., $params) |
fail | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-015[+]
X serialize-xml-015: Created on: 2015-04-16 Spec Dependencies: spec = XQ30+ Test: let $params := <output:serialization-parameters xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization" value2="no"> <output:indent value="yes"/> </output:serialization-parameters> return serialize(., $params) |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-016[+]
X serialize-xml-016: Created on: 2015-04-16 Spec Dependencies: spec = XQ30+ Test: let $params := <output:serialization-parameters xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization"> <output:indent value="yes"/> <output:outdent value="yes"/> </output:serialization-parameters> return serialize(., $params) |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-017[+]
X serialize-xml-017: Created on: 2015-04-16 Spec Dependencies: spec = XQ30+ Test: let $params := <output:serialization-parameters xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization/wrong"> <output:indent value="yes"/> </output:serialization-parameters> return serialize(., $params) |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-018[+]
X serialize-xml-018: Created on: 2015-04-16 Spec Dependencies: spec = XQ30+ Test: let $params := <output:serialization-parameters-wrong xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization"> <output:indent value="yes"/> </output:serialization-parameters-wrong> return serialize(., $params) |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-019[+]
X serialize-xml-019: Created on: 2015-04-16 Spec Dependencies: spec = XQ30+ Test: let $params := <output:serialization-parameters xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization"> <output:indent value="yes"/> <output:indent value="yes"/> </output:serialization-parameters> return serialize(., $params) |
fail | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-020[+]
X serialize-xml-020: Created on: 2015-04-16 Spec Dependencies: spec = XQ30+ Test: let $params := <output:serialization-parameters xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization"> <indent value="yes"/> </output:serialization-parameters> return serialize(., $params) |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-021[+]
X serialize-xml-021: Created on: 2015-04-16 Spec Dependencies: spec = XQ30+ Test: let $params := <output:serialization-parameters xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization"> <output:use-character-maps> <output:character-map character="$" map-string="£" exchange-rate="1.80"/> </output:use-character-maps> </output:serialization-parameters> return serialize(., $params) |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-022[+]
X serialize-xml-022: Created on: 2015-04-16 Spec Dependencies: spec = XQ30+ Test: let $params := <output:serialization-parameters xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization"> <output:use-character-maps> <output:character-map character="$" map-string="£" /> <output:character-mapping character="%" map-string="£"/> </output:use-character-maps> </output:serialization-parameters> return serialize(., $params) |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-023[+]
X serialize-xml-023: Created on: 2015-04-16 Spec Dependencies: spec = XQ30+ Test: let $params := <output:serialization-parameters xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization"> <output:use-character-maps> <output:character-map character="$$" map-string="£" /> </output:use-character-maps> </output:serialization-parameters> return serialize(., $params) |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-024[+]
X serialize-xml-024: Created on: 2015-04-16 Spec Dependencies: spec = XQ30+ Test: let $params := <output:serialization-parameters xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization"> <output:use-character-maps> <output:character-map character="$" map-string="£" /> <output:character-map character="$" map-string="€" /> </output:use-character-maps> </output:serialization-parameters> return serialize(., $params) |
fail | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-025[+]
X serialize-xml-025: Created on: 2015-04-16 Spec Dependencies: spec = XQ30+ Test: let $params := <output:serialization-parameters xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization" xmlns:my-output="http://example.com/xslt-xquery-serialization"> <my-output:indent-spaces value="3"/> <my-output:indent-spaces value="2"/> </output:serialization-parameters> return serialize(., $params) |
fail | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-026[+]
X serialize-xml-026: Created on: 2015-04-16 Spec Dependencies: spec = XQ30+ Test: let $params := <output:serialization-parameters xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization" xmlns:my-output="http://example.com/xslt-xquery-serialization"> <output:indent value="yes"/> <my-output:indent-spaces value="2"/> </output:serialization-parameters> return serialize(., $params) |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-027[+]
X serialize-xml-027: Created on: 2015-04-16 Spec Dependencies: spec = XQ30+ Test: let $params := <output:serialization-parameters xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization"> <output:omit-xml-declaration value="yes"/> </output:serialization-parameters> return serialize(., $params) |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-028[+]
X serialize-xml-028: Created on: 2015-04-16 Spec Dependencies: spec = XQ30+ Test: let $params := <output:serialization-parameters xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization"> <output:omit-xml-declaration value="no"/> </output:serialization-parameters> return serialize(., $params) |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-029[+]
X serialize-xml-029: Created on: 2015-04-16 Spec Dependencies: spec = XQ30+ Test: let $params := <output:serialization-parameters xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization"> <output:omit-xml-declaration value="no"/> <output:standalone value=" no "/> </output:serialization-parameters> return serialize(., $params) |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-030[+]
X serialize-xml-030: Created on: 2015-04-16 Spec Dependencies: spec = XQ30+ Test: let $params := <output:serialization-parameters xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization"> <output:omit-xml-declaration value="no"/> <output:standalone value=" yes "/> </output:serialization-parameters> return serialize(., $params) |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-031[+]
X serialize-xml-031: Created on: 2015-04-16 Spec Dependencies: spec = XQ30+ Test: let $params := <output:serialization-parameters xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization"> <output:omit-xml-declaration value="no"/> <output:standalone value=" omit "/> </output:serialization-parameters> return serialize(., $params) |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-032[+]
X serialize-xml-032: Created on: 2015-05-22 Spec Dependencies: spec = XQ30+ Test: let $params := <output:serialization-parameters xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization"> <output:use-character-maps> <output:character-map character="$" map-string="£" /> </output:use-character-maps> </output:serialization-parameters> return serialize(., $params) |
fail | n/a
environment dependencies not satisfied |
pass | n/a | pass | pass | |
serialize-xml-033[+]
X serialize-xml-033: Created on: 2015-05-26 Spec Dependencies: spec = XQ30+ Test: let $params := <output:serialization-parameters xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization"> <output:method value="xml"/> <output:item-separator value="|"/> </output:serialization-parameters> return serialize(1 to 10, $params) |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-034[+]
X serialize-xml-034: Created on: 2015-05-26 Spec Dependencies: spec = XQ30+ Test: let $params := <output:serialization-parameters xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization"> <output:method value="xml"/> <output:omit-xml-declaration value="yes"/> <output:item-separator value="=="/> </output:serialization-parameters> return serialize((1 to 4)!text{.}, $params) |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-035[+]
X serialize-xml-035: Created on: 2015-05-26 Spec Dependencies: spec = XQ30+ feature = serialization xml-version = 1.1 Test: let $params := <output:serialization-parameters xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization"> <output:method value="xml"/> <output:version value="1.1"/> <output:undeclare-prefixes value="yes"/> </output:serialization-parameters> return serialize(., $params) |
no result | n/a
environment dependencies not satisfied |
pass | n/a | pass | pass | |
serialize-xml-036[+]
X serialize-xml-036: Created on: 2015-05-26 Spec Dependencies: spec = XQ30+ feature = serialization xml-version = 1.1 Test: let $params := <output:serialization-parameters xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization"> <output:method value="xml"/> <output:omit-xml-declaration value="no"/> <output:version value="1.1"/> <output:undeclare-prefixes value="no"/> </output:serialization-parameters> return serialize(., $params) |
no result | n/a
environment dependencies not satisfied |
pass | n/a | pass | pass | |
serialize-xml-101[+]
X serialize-xml-101: Created on: 2015-05-19 Spec Dependencies: spec = XP31+ XQ31+ Test: serialize(., map{}) |
pass | pass | pass | pass | pass | pass | |
serialize-xml-102[+]
X serialize-xml-102: Created on: 2015-05-19 Spec Dependencies: spec = XP31+ XQ31+ Test: let $params := map { "method" : "xml", "indent" : "yes" } return serialize(., $params) |
fail | pass | pass | pass | pass | pass | |
serialize-xml-103[+]
X serialize-xml-103: Created on: 2015-05-19 Spec Dependencies: spec = XP31+ XQ31+ Test: let $params := map { "method" : "xml", "indent" : true() } return serialize(., $params) |
fail | pass | pass | pass | pass | pass | |
serialize-xml-104[+]
X serialize-xml-104: Created on: 2015-05-19 Spec Dependencies: spec = XP31+ XQ31+ Test: let $params := map { "indent" : true() } return serialize(., $params) |
fail | pass | pass | pass | pass | pass | |
serialize-xml-105[+]
X serialize-xml-105: Created on: 2015-05-19 Spec Dependencies: spec = XP31+ XQ31+ Test: let $params := map { "use-character-maps" : true(), "indent" : true() } return serialize(., $params) |
fail | pass | pass | pass | pass | pass | |
serialize-xml-106[+]
X serialize-xml-106: Created on: 2015-05-19 Spec Dependencies: spec = XP31+ XQ31+ Test: let $params := map { "method" : "xml", "indent" : true(), "cdata-section-elements" : (QName("http://www.saxonica.com", "a"), QName("http://www.saxonica.com", "b"), QName("", "c")) } return serialize(., $params) |
fail | pass | pass | pass | pass | pass | |
serialize-xml-106a[+]
X serialize-xml-106a: Created on: 2015-05-19 Spec Dependencies: spec = XP31+ XQ31+ Test: let $params := map { "method" : "xml", "indent" : true(), "cdata-section-elements" : [QName("http://www.saxonica.com", "a"), QName("http://www.saxonica.com", "b"), QName("", "c")] } return serialize(., $params) |
fail | pass | pass | pass | pass | pass | |
serialize-xml-107[+]
X serialize-xml-107: Created on: 2015-05-19 Spec Dependencies: spec = XP31+ XQ31+ Test: let $params := map { "method" : "xml", "indent" : true(), "xindent" : true() } return serialize(., $params) |
fail | pass | pass | pass | pass | pass | |
serialize-xml-107a[+]
X serialize-xml-107a: Created on: 2015-05-19 Spec Dependencies: spec = XP31+ XQ31+ Test: let $params := map { "method" : "xml", "indent" : true(), QName("http://vendor.example.com/","xindent") : true() } return serialize(., $params) |
fail | pass | pass | pass | pass | pass | |
serialize-xml-108[+]
X serialize-xml-108: Created on: 2015-05-19 Spec Dependencies: spec = XP31+ XQ31+ Test: let $params := map { "method" : "xml", "indent" : true(), "suppress-indentation" : QName("","p") } return serialize(., $params) |
fail | pass | pass | pass | pass | pass | |
serialize-xml-109[+]
X serialize-xml-109: Created on: 2015-05-19 Spec Dependencies: spec = XP31+ XQ31+ Test: let $params := map { "method" : "xml", "indent" : "maybe", "suppress-indentation" : "p" } return serialize(., $params) |
fail | pass | pass | pass | pass | pass | |
serialize-xml-110[+]
X serialize-xml-110: Created on: 2015-05-26 Spec Dependencies: spec = XP31+ XQ31+ Test: let $params := map { "method" : "xml", "cdata-section-elements" : (QName("", "b"), QName("http://www.example.org/ns/p", "b")), "suppress-indentation" : QName("", "para") } return serialize(., $params) |
fail | pass | pass | pass | pass | pass | |
serialize-xml-119[+]
X serialize-xml-119: Created on: 2015-05-19 Spec Dependencies: spec = XP31+ XQ31+ Test: let $params := map { "indent" : true(), "indent" : true() } return serialize(., $params) |
pass | pass | pass | pass | pass | pass | |
serialize-xml-120[+]
X serialize-xml-120: Created on: 2015-05-19 Spec Dependencies: spec = XQ31+ Test: let $params := map { QName("","indent") : true() } return contains(serialize(<e><f/></e>, $params), " ") |
fail | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-123[+]
X serialize-xml-123: Created on: 2015-05-19 Spec Dependencies: spec = XP31+ XQ31+ Test: let $params := map { "use-character-maps" : map { "$$":"£" } } return serialize(., $params) |
fail | wrongError
Expected error:SEPM0016, got err:XPTY0004 |
wrongError
Expected error:SEPM0016, got err:XPTY0004 |
pass | pass | pass | |
serialize-xml-124[+]
X serialize-xml-124: Created on: 2015-05-19 Spec Dependencies: spec = XP31+ XQ31+ Test: let $params := map { "use-character-maps" : map { "$":"£", "$":"€" } } return serialize(., $params) |
pass | pass | pass | pass | pass | pass | |
serialize-xml-125[+]
X serialize-xml-125: Created on: 2015-05-19 Spec Dependencies: spec = XP31+ XQ31+ Test: let $params := map { QName("http://example.com/xslt-xquery-serialization","indent-spaces") : "3", QName("http://example.com/xslt-xquery-serialization","indent-spaces") : "2" } return serialize(., $params) |
pass | pass | pass | pass | pass | pass | |
serialize-xml-126[+]
X serialize-xml-126: Created on: 2015-05-19 Spec Dependencies: spec = XP31+ XQ31+ Test: let $params := map { "indent" : true(), QName("http://example.com/xslt-xquery-serialization","indent-spaces") : "2" } return serialize(., $params) |
fail | pass | pass | pass | pass | pass | |
serialize-xml-127[+]
X serialize-xml-127: Created on: 2015-05-19 Spec Dependencies: spec = XP31+ XQ31+ Test: let $params := map { "omit-xml-declaration" : true() } return serialize(., $params) |
fail | pass | pass | pass | pass | pass | |
serialize-xml-128[+]
X serialize-xml-128: Created on: 2015-05-19 Spec Dependencies: spec = XP31+ XQ31+ Test: let $params := map { "omit-xml-declaration" : false() } return serialize(., $params) |
fail | pass | pass | pass | pass | pass | |
serialize-xml-129[+]
X serialize-xml-129: Created on: 2015-05-19 Spec Dependencies: spec = XP31+ XQ31+ Test: let $params := map { "omit-xml-declaration" : false(), "standalone" : false() } return serialize(., $params) |
fail | pass | pass | pass | pass | pass | |
serialize-xml-130[+]
X serialize-xml-130: Created on: 2015-05-19 Spec Dependencies: spec = XP31+ XQ31+ Test: let $params := map { "omit-xml-declaration" : false(), "standalone" : true() } return serialize(., $params) |
fail | pass | pass | pass | pass | pass | |
serialize-xml-131[+]
X serialize-xml-131: Created on: 2015-05-19 Spec Dependencies: spec = XP31+ XQ31+ Test: let $params := map { "omit-xml-declaration" : false(), "standalone" : () } return serialize(., $params) |
fail | pass | pass | pass | pass | pass | |
serialize-xml-131a[+]
X serialize-xml-131a: Created on: 2015-05-19 Spec Dependencies: spec = XP31+ XQ31+ Test: let $params := map { "omit-xml-declaration" : false(), "standalone" : " omit " } return serialize(., $params) |
fail | pass | pass | pass | pass | pass | |
serialize-xml-132[+]
X serialize-xml-132: Created on: 2015-05-22 Spec Dependencies: spec = XP31+ XQ31+ Test: let $params := map { "use-character-maps" : map { "$":"£" } } return serialize(., $params) |
fail | pass | pass | pass | pass | pass | |
serialize-xml-133[+]
X serialize-xml-133: Created on: 2015-05-26 Spec Dependencies: spec = XP31+ XQ31+ Test: let $params := map { "method" : "xml", "item-separator" : "|" } return serialize(1 to 10, $params) |
pass | pass | pass | pass | pass | pass | |
serialize-xml-134[+]
X serialize-xml-134: Created on: 2015-05-26 Spec Dependencies: spec = XQ31+ Test: let $params := map { "method" : "xml", "omit-xml-declaration" : true(), "item-separator" : "==" } return serialize((1 to 4)!text{.}, $params) |
fail | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-135[+]
X serialize-xml-135: Created on: 2015-05-26 Spec Dependencies: spec = XP31+ XQ31+ feature = serialization xml-version = 1.1 Test: let $params := map { "method" : "xml", "version" : "1.1", "undeclare-prefixes" : true() } return serialize(., $params) |
no result | pass | pass | pass | pass | pass | |
serialize-xml-136[+]
X serialize-xml-136: Created on: 2015-05-26 Spec Dependencies: spec = XP31+ XQ31+ feature = serialization xml-version = 1.1 Test: let $params := map { "method" : "xml", "version" : "1.1", "omit-xml-declaration" : false(), "undeclare-prefixes" : false() } return serialize(., $params) |
no result | pass | pass | pass | pass | pass | |
serialize-xml-137[+]
X serialize-xml-137: Created on: 2015-08-06 Spec Dependencies: spec = XQ31+ Test: serialize(<e/>, ()) |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-138[+]
X serialize-xml-138: Created on: 2015-08-06 Spec Dependencies: spec = XQ31+ Test: let $json := ' { "method" : "xml", "indent" : true, "use-character-maps" : { "x" : "j", "m" : "so", "l" : "n" } } ' return serialize(<e>xml</e>, parse-json($json)) |
fail | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-139[+]
X serialize-xml-139: Created on: 2015-08-06 Spec Dependencies: spec = XQ31+ Test: serialize(<e>xml</e>, map { 'use-character-maps' : map { QName("http://example.org","xyz") : "abc" } }) |
fail | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-140[+]
X serialize-xml-140: Created on: 2015-08-06 Spec Dependencies: spec = XQ31+ Test: let $options := map { 'use-character-maps' : map { 'x' : xs:untypedAtomic('j'), 'm' : <e>so</e>, 'l' : 'n' } } return serialize(<e>[xml]</e>, $options) |
fail | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-141[+]
X serialize-xml-141: Created on: 2015-08-06 Spec Dependencies: spec = XQ31+ Test: let $options := map { 'use-character-maps' : map { 'x' : xs:untypedAtomic('j'), 'm' : <e>so</e>, 'l' : xs:QName('n') } } return serialize(<e>[xml]</e>, $options) |
fail | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-xml-142[+]
X serialize-xml-142: Created on: 2015-08-06 Spec Dependencies: spec = XQ31+ Test: let $options := map { 'method' : 'xml', 'indent' : xs:untypedAtomic('false'), 'item-separator' : xs:untypedAtomic(' ') } return serialize((<e/>,<f/>), $options) |
fail | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-json-001[+]
X serialize-json-001: Created on: 2015-06-23 Spec Dependencies: spec = XP31+ XQ31+ Test: let $params := map { "method" : "json" } return serialize([ ], $params) |
fail | pass | pass | pass | pass | pass | |
serialize-json-002[+]
X serialize-json-002: Created on: 2015-06-23 Spec Dependencies: spec = XP31+ XQ31+ Test: let $params := map { "method" : "json" }, $arg := array { 1, 2 , (3,4,5), 6 } return serialize($arg, $params) |
fail | pass | pass | pass | pass | pass | |
serialize-json-003[+]
X serialize-json-003: Created on: 2015-06-23 Spec Dependencies: spec = XP31+ XQ31+ Test: let $params := map { "method" : "json" }, $arg := [1, 2 , [3,4,5], 6] return serialize($arg, $params) |
fail | pass | pass | pass | pass | pass | |
serialize-json-004[+]
X serialize-json-004: Created on: 2015-06-23 Spec Dependencies: spec = XP31+ XQ31+ Test: let $params := map { "method" : "json", "indent" : true() } return serialize($params, $params) |
fail | pass | pass | pass | pass | pass | |
serialize-json-005[+]
X serialize-json-005: Created on: 2015-06-23 Spec Dependencies: spec = XP31+ XQ31+ Test: let $params := map { "method" : "json", "indent" : true() }, $arg := parse-json('{"abc":true}') return serialize($arg, $params) |
fail | pass | pass | pass | pass | pass | |
serialize-json-006[+]
X serialize-json-006: Created on: 2015-06-23 Spec Dependencies: spec = XP31+ XQ31+ Test: let $params := map { "method" : "json" } return serialize((), $params) |
pass | pass | pass | pass | pass | pass | |
serialize-json-007[+]
X serialize-json-007: Created on: 2015-06-23 Spec Dependencies: spec = XP31+ XQ31+ Test: let $params := map { "method" : "json", "item-separator" : "|" } return serialize(1 to 10, $params) |
pass | pass | pass | pass | pass | pass | |
serialize-json-008[+]
X serialize-json-008: Created on: 2015-06-23 Spec Dependencies: spec = XQ31+ Test: let $params := map { "method" : "json", "json-node-output-method" : "xml" }, $s := serialize(comment {" hello world "}, $params) return matches($s, '"<!-- hello world -->"') |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-json-009[+]
X serialize-json-009: Created on: 2015-06-23 Spec Dependencies: spec = XQ31+ Test: let $params := map { "method" : "json", "json-node-output-method" : "xml" }, $s := serialize(array { text { "a" }, processing-instruction {"a"} {"b"}, comment { "a" }, element {"a"} {"b"}, document { element {"a"}{"b"} } }, $params) return matches($s, '\["a","<\?a b\?>","<!--a-->","<a>b<\\/a>","<a>b<\\/a>"\]') |
fail | n/a
notXP31 |
pass | n/a | pass | pass | |
serialize-json-010[+]
X serialize-json-010: Created on: 2015-08-06 Spec Dependencies: spec = XP31+ XQ31+ Test: serialize(map { xs:QName("foo") : 1, "foo" : 2 }, map { 'method' : 'json' }) |
pass | pass | pass | pass | pass | pass | |
serialize-json-011[+]
X serialize-json-011: Created on: 2015-08-06 Spec Dependencies: spec = XP31+ XQ31+ Test: serialize( map { QName("", "foo") : 1, "foo" : 2 }, map { 'method' : 'json', 'allow-duplicate-names' : true() } ) |
fail | pass | pass | pass | pass | pass | |
serialize-json-101[+]
X serialize-json-101: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: serialize(map{}, map{'method':'json'}) |
pass | pass | pass | pass | pass | pass | |
serialize-json-102[+]
X serialize-json-102: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: serialize((), map{'method':'json'}) |
pass | pass | pass | pass | pass | pass | |
serialize-json-103[+]
X serialize-json-103: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: serialize(12.5, map{'method':'json'}) |
pass | pass | pass | pass | pass | pass | |
serialize-json-104[+]
X serialize-json-104: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: normalize-space(serialize(true(), map{'method':'json'})) |
pass | pass | pass | pass | pass | pass | |
serialize-json-105[+]
X serialize-json-105: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: normalize-space(serialize(false(), map{'method':'json'})) |
pass | pass | pass | pass | pass | pass | |
serialize-json-106[+]
X serialize-json-106: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: serialize(map{'abc':23}, map{'method':'json'}) |
pass | pass | pass | pass | pass | pass | |
serialize-json-107[+]
X serialize-json-107: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: let $r := serialize(map{'abc':23, 'xyz':49}, map{'method':'json'}) return translate($r,' ', '') |
pass | pass | pass | pass | pass | pass | |
serialize-json-108[+]
X serialize-json-108: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: let $r := serialize(parse-json('[1, 2, 3, "four", true, false, null]'), map{'method':'json'}) return translate($r,' ', '') |
pass | pass | pass | pass | pass | pass | |
serialize-json-109[+]
X serialize-json-109: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: let $r := serialize([1, 2, 3, "four", true(), false()], map{'method':'json'}) return translate($r,' ', '') |
pass | pass | pass | pass | pass | pass | |
serialize-json-110[+]
X serialize-json-110: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: let $r := serialize(parse-json('[[1, 2], [3, 4], [5, 6], [7], [], [null]]'), map{'method':'json'}) return translate($r,' ', '') |
pass | pass | pass | pass | pass | pass | |
serialize-json-111[+]
X serialize-json-111: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: let $r := serialize(map{"abc":array{1 to 10}}, map{'method':'json'}) return translate($r,' ', '') |
pass | pass | pass | pass | pass | pass | |
serialize-json-112[+]
X serialize-json-112: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: let $r := serialize([map{"abc":1},map{"def":2},map{"ghi":3}], map{'method':'json'}) return translate($r,' ', '') |
pass | pass | pass | pass | pass | pass | |
serialize-json-113[+]
X serialize-json-113: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: let $r := serialize(map{"abc": map{"abc":map{"abc":1}, "def": map{"def":2}}}, map{'method':'json'}) return translate($r,' ', '') |
pass | pass | pass | pass | pass | pass | |
serialize-json-114[+]
X serialize-json-114: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: let $r := serialize('𝄞', map{'method':'json', 'encoding':'ISO-8859-1'}) return translate(normalize-space($r), 'abcdef', 'ABCDEF') |
fail | pass | pass | pass | pass | pass | |
serialize-json-115[+]
X serialize-json-115: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: let $r := serialize(' ', map{'method':'json'}) return translate(normalize-space($r), 'abcdef', 'ABCDEF') |
pass | pass | pass | pass | pass | pass | |
serialize-json-116[+]
X serialize-json-116: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: serialize([map{"abc":map{"abc":1}},map{"def":map{"def":2}},map{"ghi":map{"ghi":3}}], map{'method':'json', "indent":false()}) |
fail | pass | pass | pass | pass | pass | |
serialize-json-117[+]
X serialize-json-117: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: let $r := serialize([map{"abc":map{"abc":1}},map{"def":map{"def":2}},map{"ghi":map{"ghi":3}}], map{'method':'json', "indent":true()}) return translate($r, codepoints-to-string((32, 9, 10, 13)), '') |
fail | pass | pass | pass | pass | pass | |
serialize-json-118[+]
X serialize-json-118: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: parse-json(serialize(12.34, map{'method':'json'})) |
pass | pass | pass | pass | pass | pass | |
serialize-json-119[+]
X serialize-json-119: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: parse-json(serialize(12.34e-30, map{'method':'json'})) |
pass | pass | pass | pass | pass | pass | |
serialize-json-120[+]
X serialize-json-120: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: serialize("abc""def", map{'method':'json'}) |
pass | pass | pass | pass | pass | pass | |
serialize-json-121[+]
X serialize-json-121: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: serialize("abc\\def", map{'method':'json'}) |
pass | pass | pass | pass | pass | pass | |
serialize-json-122[+]
X serialize-json-122: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: let $r := serialize([number('NaN'), number('INF'), number('-INF')], map{'method':'json'}) return translate($r,' ', '') |
pass | pass | pass | pass | pass | pass | |
serialize-json-123[+]
X serialize-json-123: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: let $r := serialize([0,0,xs:untypedAtomic("abcd")], map{'method':'json'}) return translate($r,' ', '') |
pass | pass | pass | pass | pass | pass | |
serialize-json-124[+]
X serialize-json-124: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: let $r := serialize(map{1:"a",2:"b",4:"d",10:"j",7:"g"}, map{'method':'json'}) return translate($r,' ', '') |
pass | pass | pass | pass | pass | pass | |
serialize-json-125[+]
X serialize-json-125: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: let $r := serialize([0,0,xs:date('2011-04-06')], map{'method':'json'}) return translate($r,' ', '') |
pass | pass | pass | pass | pass | pass | |
serialize-json-126[+]
X serialize-json-126: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: let $r := serialize(map{"a":xs:date('2011-04-06')}, map{'method':'json'}) return translate($r,' ', '') |
pass | pass | pass | pass | pass | pass | |
serialize-json-127[+]
X serialize-json-127: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: let $r := serialize(map{"a":doc($uri)}, map{'method':'json'}) return translate($r, codepoints-to-string((32, 9, 10, 13)), '') |
pass | pass | pass | pass | pass | pass | |
serialize-json-128[+]
X serialize-json-128: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: serialize(map{"uri":xs:anyURI('http://www.w3.org/')}, map{'method':'json'}) |
fail | pass | pass | pass | pass | pass | |
serialize-json-130[+]
X serialize-json-130: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: let $r := serialize((1, 2, 3, "four", true(), false()), map{'method':'json'}) return translate($r,' ', '') |
pass | pass | pass | pass | pass | pass | |
serialize-json-131[+]
X serialize-json-131: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: let $r := serialize(map{"abc":(1 to 10)}, map{'method':'json'}) return translate($r,' ', '') |
pass | pass | pass | pass | pass | pass | |
serialize-json-132[+]
X serialize-json-132: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: let $r := serialize((map{"abc":1},map{"def":2},map{"ghi":3}), map{'method':'json'}) return translate($r,' ', '') |
pass | pass | pass | pass | pass | pass | |
serialize-json-133[+]
X serialize-json-133: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: serialize([1,2,3], map{'method':'json', "indent":23}) |
fail | pass | pass | pass | pass | pass | |
serialize-json-134[+]
X serialize-json-134: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: serialize([1,2,3], map{'method':'json', "indent":"true"}) |
fail | pass | pass | pass | pass | pass | |
serialize-json-135[+]
X serialize-json-135: Created on: 2015-08-20 Spec Dependencies: spec = XP31+ XQ31+ Test: serialize([1,2,3], map{'method':'json', "indent":(true(),false())}) |
fail | pass | pass | pass | pass | pass |