Tests that use p:cast-content-type

Test suiteTestExpected resultDescription
3.0-test-suiteab-add-attribute-017passTests document-properties are preserved on p:add-attribute.
3.0-test-suiteab-cast-content-type-001passTests that an XML document is unchanged if content type is the same.
3.0-test-suiteab-cast-content-type-002passTests casting from one xml content type to another.
3.0-test-suiteab-cast-content-type-003passTests casting from an xml content type to an html content type.
3.0-test-suiteab-cast-content-type-004passTests casting from an xml content type to a json content type (XPath style).
3.0-test-suiteab-cast-content-type-005passTests casting from an xml content type to a json content type (c:param-set).
3.0-test-suiteab-cast-content-type-006passTests casting from an xml content type to a text document.
3.0-test-suiteab-cast-content-type-007passTests casting from an xml content type to a binary document (c:data) .
3.0-test-suiteab-cast-content-type-008catch failureTests casting from an xml content type to a binary document: Error for non base64 encoding.
3.0-test-suiteab-cast-content-type-009catch failureTests casting from an xml content type to a binary document: Error for no c:data/@content-type.
3.0-test-suiteab-cast-content-type-010catch failureTests casting from an xml content type to a binary document: Different content-types.
3.0-test-suiteab-cast-content-type-011passTests that an HTML document is unchanged if content type is the same.
3.0-test-suiteab-cast-content-type-012passTests that an HTML document is unchanged if content type is another html content type.
3.0-test-suiteab-cast-content-type-013passTests casting an HTML document to an xml content-type.
3.0-test-suiteab-cast-content-type-014passTests casting from an HTML content type to a text document.
3.0-test-suiteab-cast-content-type-015passTests casting from a JSON content type same content type does not change anything.
3.0-test-suiteab-cast-content-type-016passTests casting from one JSON content type to another just changes content-type property.
3.0-test-suiteab-cast-content-type-017passTests casting from JSON content type to xml document.
3.0-test-suiteab-cast-content-type-018passTests casting from JSON content type to a text document.
3.0-test-suiteab-cast-content-type-019passTests that a text document is unchanged if content type is the same.
3.0-test-suiteab-cast-content-type-020passTests that cast-content-type from one text document type to another just changes content-type.
3.0-test-suiteab-cast-content-type-021passTests casting from a text document to an XML document.
3.0-test-suiteab-cast-content-type-022catch failureTests casting to xml raises XD0049 if text document is not well-formed.
3.0-test-suiteab-cast-content-type-023passTests casting from a text document to an HTML document.
3.0-test-suiteab-cast-content-type-024passTests casting from a text document to a JSON document.
3.0-test-suiteab-cast-content-type-025catch failureTests casting from an invalid text document to a JSON document raises XD0057.
3.0-test-suiteab-cast-content-type-026passTests casting from a binary type to the same does not change anything.
3.0-test-suiteab-cast-content-type-027passTests casting from a binary type to am XML content-type.
3.0-test-suiteab-cast-content-type-028passTests that a c:data document is decoded if cast to XML.
3.0-test-suiteab-cast-content-type-029passTests that a c:data document is decoded if cast to Text. Charset UTF-8
3.0-test-suiteab-cast-content-type-030passTests that a c:data document is decoded if cast to Text. Implicit charset
3.0-test-suiteab-cast-content-type-031passTests that a c:data document is decoded if cast to Text. ISO charset
3.0-test-suiteab-cast-content-type-032passTests that a c:data document is decoded if cast to Text, default encoding.
3.0-test-suiteab-cast-content-type-033catch failureTests that a c:data document decoding raises error, if content-types are not equal.
3.0-test-suiteab-cast-content-type-034catch failureTests that a c:data document decoding raises error, if encoding is unsupported.
3.0-test-suiteab-cast-content-type-035catch failureTests that a c:data document decoding raises error, if charset is unsupported.
3.0-test-suiteab-cast-content-type-036catch failureTests that a c:data document decoding raises error, no content-type on c:data.
3.0-test-suiteab-compress-003passTests compress got document-properties of result right.
3.0-test-suiteab-delete-006passTests root element is correctly deleted, but document properties are preserved.
3.0-test-suiteab-delete-020passTests delete switches correctly to text document.
3.0-test-suiteab-doc-prop-001passTests document-properties with a variable in map constructor
3.0-test-suiteab-doc-prop-002passTests document-properties with an option in map constructor
3.0-test-suiteab-doc-prop-004passTests document-properties with a static option in map constructor
3.0-test-suiteab-doc-prop-005passTests document-properties with reference to context item in map constructor
3.0-test-suiteab-doc-prop-006passTests document-properties on static evaluated documents
3.0-test-suiteab-doc-prop-008passTests document-properties on static evaluated documents using static option
3.0-test-suiteab-doc-prop-011passTests context item for document-properties on p:document, static href
3.0-test-suiteab-doc-prop-012passTests context item for document-properties on p:document, dynamic href
3.0-test-suiteab-document-properties-001passTests document-properties-document for created xml document
3.0-test-suiteab-document-properties-002passTests document-properties-document for an xml document in a variable
3.0-test-suiteab-document-properties-003passTests document-properties() for a document loaded with doc()
3.0-test-suiteab-document-properties-004passTests document-properties-document for a variable set via doc()
3.0-test-suiteab-hash-014apassTesting p:hash matching / is a text result.
3.0-test-suiteab-hash-017passTesting p:hash updates document properties correctly if the result is all text.
3.0-test-suiteab-hash-018passTesting p:hash switches content type if result is all text.
3.0-test-suiteab-http-request-012passTests p:http-request: Tests get for binary document.
3.0-test-suiteab-http-request-014passTests p:http-request: get with multi-part response.
3.0-test-suiteab-http-request-019passTests p:http-request: get with multi-part response.
3.0-test-suiteab-http-request-026passTests p:http-request: post with json payload to a responder.
3.0-test-suiteab-http-request-032passTests p:http-request: post with binary payload to a responder.
3.0-test-suiteab-http-request-051passTests p:http-request: get with multi-part response, parameter 'multipart' set to true.
3.0-test-suiteab-inline-010passTests an inline json construction
3.0-test-suiteab-inline-011passTests an inline json construction (with expand-text='true')
3.0-test-suiteab-inline-018passTests expand-text on p:input/p:inline
3.0-test-suiteab-json-join-001passTests simple p:JSON-join with mixed entries.
3.0-test-suiteab-json-join-002passTests simple p:JSON-join with mixed entries: Tests default value of 'flatten-to-depth'.
3.0-test-suiteab-json-join-003passTests simple p:JSON-join with mixed entries: 'flatten-to-depth' = 1
3.0-test-suiteab-json-join-004passTests simple p:JSON-join with mixed entries: 'flatten-to-depth' = 2
3.0-test-suiteab-json-join-005passTests simple p:JSON-join with mixed entries: 'flatten-to-depth' = 'unbounded'
3.0-test-suiteab-json-join-006catch failureTests p:JSON-join/@flatten-to-depth is handled correctly: Only positive int or 'unbounded' allowed.
3.0-test-suiteab-json-join-007catch failureTests p:JSON-join/@flatten-to-depth is handled correctly: Only positive int or 'unbounded' allowed.
3.0-test-suiteab-json-join-008catch failureTests p:JSON-join/@flatten-to-depth is handled correctly: Only positive int or 'unbounded' allowed.
3.0-test-suiteab-json-join-009catch failureTests p:JSON-join/@flatten-to-depth is handled correctly: Only positive int or 'unbounded' allowed.
3.0-test-suiteab-json-merge-001passSimple test, joining together three maps with different keys.
3.0-test-suiteab-json-merge-002passSimple test, joining together three maps with conflicting keys, default duplicates.
3.0-test-suiteab-json-merge-003passSimple test, joining together three maps with conflicting keys and 'use-first'.
3.0-test-suiteab-json-merge-004passSimple test, joining together three maps with conflicting keys and 'use-last'.
3.0-test-suiteab-json-merge-005passSimple test, joining together three maps with conflicting keys and 'use-any'.
3.0-test-suiteab-json-merge-008passJoining together three json string, using default key generator.
3.0-test-suiteab-json-merge-009passJoining together three json string, using explicit key generator.
3.0-test-suiteab-json-merge-010passJoining map and JSON string with conflict in keys, default strategy.
3.0-test-suiteab-json-merge-011passJoining map and JSON string with conflict in keys, explicit strategy use-first.
3.0-test-suiteab-json-merge-012passJoining map and JSON string with conflict in keys, explicit strategy use-last.
3.0-test-suiteab-json-merge-013passJoining map and JSON string with conflict in keys, explicit strategy use-any.
3.0-test-suiteab-json-merge-016passTests that p:index is correctly counted.
3.0-test-suiteab-json-merge-017passTests that entries is correctly ordered.
3.0-test-suiteab-json-merge-019passTests mixing all possible documents
3.0-test-suiteab-json-merge-023passTests that the string value of a node result is taken as key.
3.0-test-suiteab-p-document004passTests p:document set document-property 'base-uri' correct: Relative uri in @href: Base uri of p:document to be used.
3.0-test-suiteab-p-document007passTests p:document with relative @href and 'base-uri' in document-properties: Makes sure that document-property "base-uri" is set correctly.
3.0-test-suiteab-p-document021passTests p:document with a JSON-document (no content-type). Tests document-properties are set right.
3.0-test-suiteab-p-document022passTests p:document with a JSON-document (content-type set to application/json). Tests document-properties are set right.
3.0-test-suiteab-p-document024passTests p:document with a JSON-document, checks XPath 3.1's option parameter conventions is respected: Undefined key in 'parameter'.
3.0-test-suiteab-p-document027passTests p:document with a binary document.
3.0-test-suiteab-p-document028passTests p:document that a binary document preserves unknown content-type.
3.0-test-suiteab-p-document029passTests p:document with json document is correctly loaded.
3.0-test-suiteab-p-document036passTests p:document @content-type overwrites system known content-type.
3.0-test-suiteab-pack-009passTests that setting an xml:base attribute changes the base URI.
3.0-test-suiteab-rename-006passTests p:rename
3.0-test-suiteab-rename-006apassTests p:rename
3.0-test-suiteab-replace-007bpassTests p:replace matching / with text document
3.0-test-suiteab-replace-010passTests p:replace switches to text document
3.0-test-suiteab-set-properties-001passTests p:set-properties
3.0-test-suiteab-set-properties-002passTests p:set-properties
3.0-test-suiteab-set-properties-003passTests p:set-properties
3.0-test-suiteab-set-properties-004passTests p:set-properties
3.0-test-suiteab-set-properties-005passTests p:set-properties
3.0-test-suiteab-set-properties-006passTests p:set-properties
3.0-test-suiteab-set-properties-007passTests p:set-properties
3.0-test-suiteab-set-properties-008passTests p:set-properties
3.0-test-suiteab-set-properties-009passTests p:set-properties
3.0-test-suiteab-set-properties-010passTests p:set-properties
3.0-test-suiteab-set-properties-011passTests p:set-properties
3.0-test-suiteab-set-properties-012passTests p:set-properties
3.0-test-suiteab-set-properties-013passTests p:set-properties
3.0-test-suiteab-set-properties-014passTests p:set-properties
3.0-test-suiteab-set-properties-015passTests p:set-properties
3.0-test-suiteab-set-properties-016passTests p:set-properties
3.0-test-suiteab-set-properties-017passTests p:set-properties
3.0-test-suiteab-set-properties-018passTests p:set-properties
3.0-test-suiteab-set-properties-019passTests p:set-properties
3.0-test-suiteab-set-properties-020passTests p:set-properties
3.0-test-suiteab-static-option-var-008passTests that a static option can be used in avt of dynamic inline.
3.0-test-suiteab-string-replace-007passTests p:string-replace
3.0-test-suiteab-string-replace-009passTests p:string-replace
3.0-test-suiteab-unarchive-015passTests p:unarchive: Check content of unarchived document.
3.0-test-suiteab-uncompress-003passTests document-properties uncompress result.
3.0-test-suiteab-uncompress-005passTests document-properties uncompress result.
3.0-test-suiteab-uncompress-006passTests document-properties uncompress result: no content-type ->application/octet-stream
3.0-test-suiteab-unwrap-012passTests p:unwrap to preserve document properties
3.0-test-suiteab-uuid-008apassTesting p:uuid matching document root.
3.0-test-suiteab-uuid-011passTesting p:uuid switches content-type for tex only document.
3.0-test-suiteab-uuid-012passTesting p:uuid switches content-type for text only document.
3.0-test-suiteab-validate-with-json-schema-001passTests p:validate-with-json-schema: Document is replicated on port "result".
3.0-test-suiteab-validate-with-json-schema-005passTests p:validate-with-json-schema: Invalid document is replicated on port "result" if assert-valid=false.
3.0-test-suiteab-viewport-019passTest p:viewport with matched document node replace by text document to be text document.
3.0-test-suiteab-with-input-select-005passTests that an all text selection on p:with-input results in content-type "text/plain"
3.0-test-suiteab-with-input-select-006passTests that content-type is changed to application/xml when selecting from XLST document.
3.0-test-suiteab-wrap-012passTests p:wrap to preserve document properties
3.0-test-suiteab-wrap-014passTests that setting an xml:base attribute changes the base URI.
3.0-test-suiteab-wrap-sequence-017passTests that setting an xml:base attribute changes the base URI.
3.0-test-suiteab-www-form-urldecode-001passTests p:www-form-urldecode
3.0-test-suiteab-www-form-urldecode-002passTests p:www-form-urldecode
3.0-test-suiteab-www-form-urldecode-004passTests p:www-form-urldecode
3.0-test-suiteab-www-form-urldecode-005passTests p:www-form-urldecode
3.0-test-suiteab-www-form-urldecode-006passTests p:www-form-urldecode
3.0-test-suiteab-www-form-urldecode-007passTests p:www-form-urldecode
3.0-test-suiteab-www-form-urldecode-008passTests p:www-form-urldecode
3.0-test-suiteab-www-form-urldecode-009passTests p:www-form-urldecode
3.0-test-suiteab-www-form-urldecode-010passTests p:www-form-urldecode
3.0-test-suiteab-www-form-urldecode-012passTests p:www-form-urldecode
3.0-test-suiteab-www-form-urldecode-013passTests p:www-form-urldecode
3.0-test-suiteab-www-form-urldecode-014passTests p:www-form-urldecode
3.0-test-suiteab-www-form-urldecode-015passTests p:www-form-urldecode
3.0-test-suiteab-www-form-urldecode-016passTests p:www-form-urldecode
3.0-test-suiteab-xquery-019passTests p:xquery: Tests non XML results.
3.0-test-suiteab-xquery-020passTests p:xquery: Tests non XML results.
3.0-test-suiteab-xquery-025passTests p:xquery: JSON map can be a result in XQuery 3.1
3.0-test-suiteab-xquery-026passTests p:xquery: JSON array can be a result in XQuery 3.1
3.0-test-suiteab-xslt-017passTests JSON documents are returned if @build-tree =false (3.0)
3.0-test-suiteab-xslt-020passTests JSON documents are returned on secondary port if @build-tree =false (3.0)
3.0-test-suiteab-xslt-021passTests mixed output modes: build-tree=true on primary, build-tree=false on secondary (3.0)
3.0-test-suiteab-xslt-022passTests mixed output modes: build-tree=false on primary, build-tree=true on secondary (3.0)
3.0-test-suiteab-xslt-023passTests mixed output modes: build-tree=true on one secondary result, false on the other. (3.0)
3.0-test-suiteab-xslt-051passTests serialization option are represented as document property (3.0)
3.0-test-suitedoc-prop-001pass
3.0-test-suitedoc-prop-002pass
3.0-test-suitedoc-prop-003pass
3.0-test-suitedoc-prop-004pass
3.0-test-suitedoc-prop-005pass
3.0-test-suitenw-css-formatterpassTests that p:css-formatter (appears to) work. There’s no actual attempt to test the result.
3.0-test-suitenw-filter-012passTests p:filter that returns a constant.
3.0-test-suitenw-send-mail-001passTest p:send-mail. Requires Sendria server to be running.
3.0-test-suitenw-send-mail-002passTest p:send-mail sending HTML mail.
3.0-test-suitenw-send-mail-003passTest p:send-mail sending multipart mail.
3.0-test-suitenw-xsl-formatter-001passTests that p:xsl-formatter (appears to) work. There’s no actual attempt to test the result.
3.0-test-suitep-inline-001pass
3.0-test-suitep-inline-002pass
3.0-test-suitep-inline-003pass
3.0-test-suitep-inline-004catch failure
3.0-test-suitep-inline-005catch failure
3.0-test-suitep-inline-006catch failure
extra-suitejava-properties-001passTests that a Java properties file can be cast to XML.
extra-suitejava-properties-002passTests that a Java properties file can be cast to JSON.
extra-suitejava-properties-003catch failureTests that a Java properties file can not be cast to XHTML.
extra-suitejava-properties-004catch failureTests that a Java properties file can not be cast to HTML.
extra-suitejava-properties-005catch failureTests that a Java properties file can not be cast to binary.
extra-suitejava-properties-006catch failureTests that a Java properties file can not be cast to image/jpeg.
extra-suitejava-properties-007passTests that a Java properties file can be cast to YAML (same as JSON).
extra-suitejava-properties-008passTests that XML can be cast to Java properties.
extra-suitejava-properties-009passTests that a map can be cast to Java properties.
extra-suitejava-properties-010catch failureTests that an atomic cannot be cast to Java properties.
extra-suitejava-properties-011catch failureTests that an atomic cannot be cast to Java properties.
extra-suitejava-properties-012catch failureTests that an atomic cannot be cast to Java properties.
extra-suitejava-properties-013catch failureTests that an atomic cannot be cast to Java properties.
extra-suitejava-properties-014catch failureTests that an atomic cannot be cast to Java properties.
extra-suitejava-properties-015catch failureTests that an atomic cannot be cast to Java properties.
extra-suitejson-patch-001passExample test from RFC 6092.
extra-suitejson-patch-002passExample test from RFC 6092.
extra-suitejson-patch-merge-001passExample test from RFC 7386.
extra-suitejson-patch-merge-002passExample test from RFC 7386.
extra-suitejsonpath-001passTests a JSONPath definite query.
extra-suitejsonpath-002passTests a JSONPath indefinite query.
extra-suitejsonpath-003passTests a JSONPath definite query with the always-return-list option.
extra-suitepolyglot-002passTests that the cx:python polyglot step returns a map.
extra-suitepolyglot-003passTests that the cx:python polyglot step returns an array.
extra-suitepolyglot-006passTests that the cx:javascript polyglot step returns a map.
extra-suitepolyglot-007passTests that the cx:javascript polyglot step returns an array.
extra-suitepolyglot-009passTests that the cx:python polyglot step returns json.
extra-suitepolyglot-010passTests that the cx:javascript polyglot serializes JSON.
extra-suiterdf-jsonld-001passTests that .jsonld loads as application/ld+json, RDF, and JSON.
extra-suiterdf-jsonld-002passTests that application/ld+json works in p:inline, p:document, and p:load.
extra-suiterdf-n3-001passTests that .n3 loads as application/rdf+thrift and RDF.
extra-suiterdf-n3-002passTests that text/n3 works in p:inline, p:document, and p:load. Note that text/n3 is nothing but a synonym for text/turtle.
extra-suiterdf-nq-001passTests that .nq loads as application/rdf+thrift and RDF.
extra-suiterdf-nq-002passTests that application/n-quads works in p:inline, p:document, and p:load.
extra-suiterdf-nt-001passTests that .nt loads as application/rdf+thrift and RDF.
extra-suiterdf-nt-002passTests that application/n-triples works in p:inline, p:document, and p:load.
extra-suiterdf-rdf-001passTests that .rdf loads as application/rdf+xml, XML, and RDF.
extra-suiterdf-rdf-002passTests that application/rdf+xml works in p:inline, p:document, and p:load.
extra-suiterdf-rj-001passTests that .rj loads as application/rdf+json, JSON, and RDF.
extra-suiterdf-rj-002passTests that application/rdf+json works in p:inline, p:document, and p:load.
extra-suiterdf-rq-001passTests that .rq loads as application/sparql-query and text.
extra-suiterdf-srj-001passTests that .srj loads as application/sparql-results+json and JSON.
extra-suiterdf-srj-002passTests that cx:sparql can produce application/sparql-results+json.
extra-suiterdf-srj-003passTests application/sparql-results+json can be cast to text/plain.
extra-suiterdf-srx-001passTests that .srx loads as application/sparql-results+xml and XML.
extra-suiterdf-srx-003passTests application/sparql-results+xml can be cast to text/plain.
extra-suiterdf-thrift-001passTests that .thrift loads as application/rdf+thrift and RDF.
extra-suiterdf-thrift-002passTests that application/rdf+thrift works in p:inline, p:document, and p:load.
extra-suiterdf-trig-001passTests that .trig loads as application/trig and RDF.
extra-suiterdf-trig-002passTests that application/trig works in p:inline, p:document, and p:load.
extra-suiterdf-trix-001passTests that .trix loads as application/trix+xml, XML, and RDF.
extra-suiterdf-trix-002passTests that application/trix+xml works in p:inline, p:document, and p:load.
extra-suiterdf-ttl-001passTests that .ttl loads as application/rdf+thrift and RDF.
extra-suiterdf-ttl-002passTests that text/turtle works in p:inline, p:document, and p:load.
extra-suiterr-002passTests that cx:railroad returns the right properties.
extra-suiterr-003passTests that cx:railroad returns multiple, cross-referenced images.
extra-suiterr-004passTests that cx:railroad returns a single image if the nonterminal option is specified.
extra-suitexpath-001passTests that the cx:xpath step runs.
extra-suitexpath-002passTests that the cx:xpath step runs.
extra-suiteyaml-001passTests that YAML can be parsed.
extra-suiteyaml-002passTests that YAML can be parsed.