Tests that use p:variable

Test suiteTestExpected resultDescription
3.0-test-suiteab-choose-040catch failureTest @collection="{XPath-expression}" on p:choose/p:when is an error.
3.0-test-suiteab-choose-044passTests connections to p:choose's parent scope.
3.0-test-suiteab-choose-045passTests connections to p:choose's parent scope.
3.0-test-suiteab-contenttypes-028passTests TVT with HTML media type copies nodes.
3.0-test-suiteab-contenttypes-029passTests TVT with HTML media type copies nodes.
3.0-test-suiteab-declare-step-015passChecks the outer pipeline is visible for recursive call.
3.0-test-suiteab-depends-086passTests [p:]depends
3.0-test-suiteab-depends-087passTests [p:]depends
3.0-test-suiteab-depends-088passTests [p:]depends
3.0-test-suiteab-depends-089passTests [p:]depends
3.0-test-suiteab-depends-090passTests [p:]depends
3.0-test-suiteab-depends-091passTests [p:]depends
3.0-test-suiteab-depends-092passTests [p:]depends
3.0-test-suiteab-depends-093passTests [p:]depends
3.0-test-suiteab-depends-094passTests [p:]depends
3.0-test-suiteab-depends-095passTests [p:]depends
3.0-test-suiteab-depends-096passTests [p:]depends
3.0-test-suiteab-depends-097passTests [p:]depends
3.0-test-suiteab-depends-098passTests [p:]depends
3.0-test-suiteab-depends-099passTests [p:]depends
3.0-test-suiteab-depends-100passTests [p:]depends
3.0-test-suiteab-depends-101passTests [p:]depends
3.0-test-suiteab-depends-102passTests [p:]depends
3.0-test-suiteab-depends-103passTests [p:]depends
3.0-test-suiteab-depends-104passTests [p:]depends
3.0-test-suiteab-depends-105passTests [p:]depends
3.0-test-suiteab-depends-106passTests [p:]depends
3.0-test-suiteab-depends-107passTests [p:]depends
3.0-test-suiteab-depends-108passTests [p:]depends
3.0-test-suiteab-depends-109passTests [p:]depends
3.0-test-suiteab-depends-110passTests [p:]depends
3.0-test-suiteab-depends-111passTests [p:]depends
3.0-test-suiteab-depends-112passTests [p:]depends
3.0-test-suiteab-depends-113passTests [p:]depends
3.0-test-suiteab-depends-114passTests [p:]depends
3.0-test-suiteab-depends-115passTests [p:]depends
3.0-test-suiteab-depends-116passTests [p:]depends
3.0-test-suiteab-depends-117passTests [p:]depends
3.0-test-suiteab-depends-118passTests [p:]depends
3.0-test-suiteab-depends-119passTests [p:]depends
3.0-test-suiteab-depends-120passTests [p:]depends
3.0-test-suiteab-depends-121passTests [p:]depends
3.0-test-suiteab-depends-122passTests [p:]depends
3.0-test-suiteab-depends-123passTests [p:]depends
3.0-test-suiteab-depends-124passTests [p:]depends
3.0-test-suiteab-depends-125passTests [p:]depends
3.0-test-suiteab-depends-126passTests [p:]depends
3.0-test-suiteab-depends-127passTests [p:]depends
3.0-test-suiteab-depends-128passTests [p:]depends
3.0-test-suiteab-depends-129passTests [p:]depends
3.0-test-suiteab-depends-132passTests [p:]depends
3.0-test-suiteab-depends-133passTests [p:]depends
3.0-test-suiteab-depends-135passTests [p:]depends
3.0-test-suiteab-depends-136passTests [p:]depends
3.0-test-suiteab-doc-prop-001passTests document-properties with a variable in map constructor
3.0-test-suiteab-document-properties-002passTests document-properties-document for an xml document in a variable
3.0-test-suiteab-document-properties-004passTests document-properties-document for a variable set via doc()
3.0-test-suiteab-err-s0002-7catch failureTests XS002 is raised for double names.
3.0-test-suiteab-err-s0096-001catch failureTests that XS0096 is raised when sequence type in @as on p:variable is not valid: Wrong quantifier
3.0-test-suiteab-err-s0096-004catch failureTests that XS0096 is raised when sequence type in @as on p:variable is not valid: Unknown type
3.0-test-suiteab-err-s0096-007catch failureTests that XS0096 is raised when @as value is syntactically wrong, even if variable is never used.
3.0-test-suiteab-err-s0096-1catch failureTests that err:XS0096 is raised if a sequence type is used, but xmlschema-namespace is not declared.
3.0-test-suiteab-error-xd0051-009catch failureTests XD0051: No functions allowed as result in AVT.
3.0-test-suiteab-error-xd0051-010catch failureTests XD0051: No functions allowed as result in TVT.
3.0-test-suiteab-filter-001passTests p:filter with a variable in p:with-option.
3.0-test-suiteab-for-each-005passTest evaluation of variables in the context of a p:for-each (ported from 1.0-testsuite/for-each-005)
3.0-test-suiteab-for-each-011passTest nested p:for-each and correct propagation of p:iteration-size and p:iteration-position.(ported from 1.0-testsuite/for-each-011)
3.0-test-suiteab-for-each-013passTests connections to loop's parent scope.
3.0-test-suiteab-inline-008passTests text document with tvt (expand-text='false')
3.0-test-suiteab-inline-009passTests text document with tvt (expand-text='true')
3.0-test-suiteab-json-join-010passTests simple p:JSON-join with doc, text, and json entries.
3.0-test-suiteab-json-merge-006passSimple test, joining together three maps with conflicting keys and 'combine'.
3.0-test-suiteab-json-merge-014passJoining map and JSON string with conflict in keys, explicit strategy combine.
3.0-test-suiteab-option-014passChecks not required option with no default value and no value supplied evaluates as empty sequence.
3.0-test-suiteab-p-document030passTests p:document with variable reference in @href.
3.0-test-suiteab-p-document031passTests p:with-input with variable reference in @href.
3.0-test-suiteab-p-run-043passTests p:run: Tests unbound input ports are connected to empty sequence.
3.0-test-suiteab-p-run-044catch failureTests p:run: Tests unbound input ports are connected to empty sequence (no sequence port!).
3.0-test-suiteab-pipe-011catch failureTests XS0022 is raised if pipe on p:variable goes to unknown step.
3.0-test-suiteab-pipe-012catch failureTests XS0022 is raised if pipe on p:variable goes to unknown port.
3.0-test-suiteab-pipe-013catch failureTests XS0067 is raised if pipe on p:variable goes to undefined drp.
3.0-test-suiteab-pipe-014catch failureTests XS0068 is raised if pipe on p:variable goes to undefined port on drp.
3.0-test-suiteab-pipe-015catch failureTests XS0022 is raised if pipe on p:variable goes to unknown step.
3.0-test-suiteab-pipe-016catch failureTests XS0022 is raised if pipe on p:variable goes to unknown port.
3.0-test-suiteab-pipe-017catch failureTests XS0067 is raised if pipe on p:variable goes to undefined drp.
3.0-test-suiteab-pipe-018catch failureTests XS0068 is raised if pipe on p:variable goes to undefined port on drp.
3.0-test-suiteab-static-option-var-012passTests that a static option can be used in @select of dynamic variable.
3.0-test-suiteab-static-option-var-018catch failureTests that a static option can not be shadowed by dynamic variable.
3.0-test-suiteab-static-option-var-021catch failureTests that a static option can not be shadowed by a dynamic variable on a child step.
3.0-test-suiteab-subpipeline-001passTests a subpipeline that ends with a p:variable.
3.0-test-suiteab-system-property-006passTests p:system-property().
3.0-test-suiteab-try-018passTests connections to p:try's parent scope.
3.0-test-suiteab-try-019passTests connections to p:try's parent scope.
3.0-test-suiteab-unarchive-001passTests p:unarchive
3.0-test-suiteab-unarchive-002passTests p:unarchive: Option 'format' set to 'zip'.
3.0-test-suiteab-unarchive-003passTests p:unarchive: Option 'format' set to 'Q{}zip'.
3.0-test-suiteab-unarchive-004passTests p:unarchive: Option 'format' set to xs:QName('zip').
3.0-test-suiteab-unarchive-005passTests p:unarchive: Tests option 'parameters' is allowed.
3.0-test-suiteab-variable-001catch failureTests variable is declared with a name.
3.0-test-suiteab-variable-002catch failureTests variable is declared with an @select.
3.0-test-suiteab-variable-003catch failureTests only allowed attributes on p:variable
3.0-test-suiteab-variable-004catch failureTests a variable does not have a name in XProc's namespace.
3.0-test-suiteab-variable-005catch failureTests a variable does not have a name with an undeclared prefix.
3.0-test-suiteab-variable-006catch failureTests XD0049 is raised if a variable has an incorrect sequence type.
3.0-test-suiteab-variable-006acatch failureTests XS0096 is raised if a variable has an incorrect sequence type, even if it is not used.
3.0-test-suiteab-variable-007catch failureTests a variable declaration does not have @pipe and @href.
3.0-test-suiteab-variable-008catch failureTests a variable declaration does not have @href and an implicit inline as child.
3.0-test-suiteab-variable-009catch failureTests a variable declaration does not have @href and an explicit inline as child.
3.0-test-suiteab-variable-010catch failureTests a variable declaration does not have @href and a p:document as child.
3.0-test-suiteab-variable-011catch failureTests a variable declaration does not have @href and a p:empty as child.
3.0-test-suiteab-variable-012catch failureTests a variable declaration does not have @href and a p:pipe as child.
3.0-test-suiteab-variable-013catch failureTests a variable declaration does not have @pipe and an implicit inline as child.
3.0-test-suiteab-variable-014catch failureTests a variable declaration does not have @pipe and an inline as child.
3.0-test-suiteab-variable-015catch failureTests a variable declaration does not have @pipe and a p:document as child.
3.0-test-suiteab-variable-016catch failureTests a variable declaration does not have @pipe and p:empty as child.
3.0-test-suiteab-variable-017catch failureTests a variable declaration does not have @pipe and p:pipe as child.
3.0-test-suiteab-variable-018catch failureTests a variable declaration raises an error (XD0036) if select result does not match required type.
3.0-test-suiteab-variable-018a-strictcatch failureTests XD0036 is raised if select result in p:variable does not match required type even if the variable is not used.
3.0-test-suiteab-variable-018apassTests XD0036 is not raised if select result in p:variable does not match required type, but the variable is not used.
3.0-test-suiteab-variable-019passTests a variable declaration properly casted/promoted.
3.0-test-suiteab-variable-020passTests a variable declaration with select result matches sequence-type.
3.0-test-suiteab-variable-021catch failureChecks that err:XD0001 is raised if more than one document appears as connection on p:variable and @connection is missing. (This error is only raised if the context item is referenced.)
3.0-test-suiteab-variable-021a-strictcatch failureChecks XD0008 is raised if more than one document appears as connection of p:variable and @connection is missing even if the variable is not used.
3.0-test-suiteab-variable-021apassChecks XD0008 is NOT raised if more than one document appears as connection of p:variable and @connection is missing and the variable is not used.
3.0-test-suiteab-variable-021bpassChecks no error is raised if more than one document appears as connection on p:variable if there’s no reference to the context item.
3.0-test-suiteab-variable-022catch failureChecks XD0001 is raised if more than one document appears as connection of p:variable and @connection is false.
3.0-test-suiteab-variable-022apassChecks XD0008 is NOT raised if more than one document appears as connection of p:variable and @connection is false and the variable is not used.
3.0-test-suiteab-variable-023passCheck XD008 is not raised if more than one document appears as connection of p:variable and @connection is true.
3.0-test-suiteab-variable-024catch failureChecks XS0077 is raised if @collection on p:variable is not a boolean value.
3.0-test-suiteab-variable-025passTest a p:variable selecting from an implicit inline document.
3.0-test-suiteab-variable-026passTest a p:variable selecting from an explit inline document.
3.0-test-suiteab-variable-027passTest a p:variable selecting from default readable port.
3.0-test-suiteab-variable-028passTest a p:variable selecting p:pipe.
3.0-test-suiteab-variable-029passTest a p:variable selecting @pipe in full form.
3.0-test-suiteab-variable-030passTest a p:variable selecting @pipe with only port.
3.0-test-suiteab-variable-031passTest a p:variable selecting @pipe with only step.
3.0-test-suiteab-variable-032passTest a p:variable selecting p:pipe with only step.
3.0-test-suiteab-variable-033passTest a p:variable selecting p:pipe with only port.
3.0-test-suiteab-variable-034passTest a p:variable selecting p:pipe with neither port nor step.
3.0-test-suiteab-variable-035passTest a p:variable selecting @pipe with neither port nor step.
3.0-test-suiteab-variable-036passTest a p:variable selecting implicit from container's primary input port.
3.0-test-suiteab-variable-037passTests a p:variable does not change default readable port.
3.0-test-suiteab-variable-038passTests a p:variable is implicitly connected to the containers primary input port.
3.0-test-suiteab-variable-039passTests a p:variable is explicitly connectable to the containers primary input port.
3.0-test-suiteab-variable-040passTests a p:variable is explicitly connectable to the containers primary input port (using just @step) .
3.0-test-suiteab-variable-041passTests a p:variable counts as connecting an output port.
3.0-test-suiteab-variable-042passTests a p:variable does not change primary accessible port.
3.0-test-suiteab-variable-043catch failureChecks XS0077 is raised if @name on p:variable is not a proper EQName.
3.0-test-suiteab-variable-044passChecks collection on p:variable
3.0-test-suiteab-variable-045passChecks collection on p:variable
3.0-test-suiteab-variable-046catch failureTest @collection="{XPath-expression}" on p:variable is an error.
3.0-test-suiteab-viewport-011passTest nested p:viewport and correct propagation of p:iteration-size and p:iteration-position.
3.0-test-suiteab-with-input-select-015catch failureTests that XD0016 is raised, when @select returns a function.
3.0-test-suiteab-with-option-006passTests variable reference in an option short-cut
3.0-test-suiteab-with-option-007passTests variable reference in p:with-option
3.0-test-suiteab-with-option-007acatch failureTests variable reference with wrong type in p:with-option
3.0-test-suiteab-xslt-052passTests that stylesheet's uri is used as output base-uri if no other is found. (3.0)
3.0-test-suiteab-xslt-076passTests passing a node as parameter.
3.0-test-suiteab-xslt-089passTests node as parameter.
3.0-test-suitedoc-prop-004pass
3.0-test-suitedoc-prop-005pass
3.0-test-suiteerr-xd0061-001catch failure
3.0-test-suiteerr-xs0096-001catch failureError err:XS0096 is raised for an invalid sequence type.
3.0-test-suiteinline-avtpass
3.0-test-suiteinline-tvtpass
3.0-test-suitenw-collection-001passTests that collection works correctly on p:variable.
3.0-test-suitenw-collection-002catch failureTests that err:XD0001 is raised if a sequence of documents is the context for an XPath expression on a p:variable.
3.0-test-suitenw-collection-003catch failureTests that err:XD0001 is raised if a sequence of documents is the context for an XPath expression on a p:with-option.
3.0-test-suitenw-filter-009passTests p:filter with dynamic options and a dynamic selection.
3.0-test-suitenw-filter-010passTests p:filter with dynamic options and a dynamic selection.
3.0-test-suitenw-filter-011passTests p:filter with dynamic options and a dynamic selection where the in-scope binding is named ‘select’.
3.0-test-suitenw-filter-012passTests p:filter that returns a constant.
3.0-test-suitenw-inline-expand-text-007pass
3.0-test-suitenw-viewport-003passTest that the match attribute can be an AVT with a variable reference.
3.0-test-suitep-inline-007pass
3.0-test-suitep-inline-008pass
extra-suiteissue-160-001passTests that a variable defined as a function can be evaluated later on.