Tests that use p:otherwise

Test suiteTestExpected resultDescription
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-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-024passTests casting from a text document to a JSON document.
3.0-test-suiteab-choose-003catch failureTests XS0102 is raised if alternative subpipelines have different primary output ports.
3.0-test-suiteab-choose-006catch failureTests XS0102 is raised if alternative subpipelines have different primary output ports.
3.0-test-suiteab-choose-007catch failureTests XD0001 is raised if more than one document appears on the connection for this input port.
3.0-test-suiteab-choose-008catch failureTests XD0001 is raised if more than one document appears on the connection for this input port.
3.0-test-suiteab-choose-009catch failureTests XD0001 is raised if more than one document appears on the connection for the p:when test expression.
3.0-test-suiteab-choose-010catch failureTests XD0001 is raised if no context item is given for p:when/@test
3.0-test-suiteab-choose-011catch failureTests that p:whens are not sibling steps in the usual sense (not visible, so XS0022 is raised).
3.0-test-suiteab-choose-013catch failureTests that p:whens are not sibling steps in the usual sense (not visible, so XS0022 is raised).
3.0-test-suiteab-choose-014catch failureTests that a default XPath binding for guards does not count as binding for a primary input port.
3.0-test-suiteab-choose-015catch failureTests that a p:when/p:with-input does not count as binding for a primary input port.
3.0-test-suiteab-choose-018passTests p:choose with just a p:otherwise.
3.0-test-suiteab-choose-020passTests p:choose using drp as input, but not as xpath context.
3.0-test-suiteab-choose-021passTests p:choose with explicit output port (ported from 1.0 test suite).
3.0-test-suiteab-choose-022passTests p:choose with implicit output ports.
3.0-test-suiteab-choose-023passTests p:choose (ported from choose #002 of 1.0 test-suite)
3.0-test-suiteab-choose-024passTests p:choose with different XPath contexts (ported from choose #003 of 1.0 test-suite)
3.0-test-suiteab-choose-025passTests p:choose with different XPath contexts (ported from choose #004 of 1.0 test-suite)
3.0-test-suiteab-choose-026passTests p:choose with different XPath contexts (ported from choose #005 of 1.0 test-suite)
3.0-test-suiteab-choose-027passTests p:choose with multiple output ports. (ported from choose #006 of 1.0 test-suite)
3.0-test-suiteab-choose-028passTests p:choose with multiple output ports where some are declared as producing sequences and some not. (ported from choose #007 of 1.0 test-suite)
3.0-test-suiteab-choose-029passTest p:choose with a top level p:with-input and no input port. (ported from choose #008 of 1.0 test-suite)
3.0-test-suiteab-choose-030passTest p:choose with different named secondary output ports.
3.0-test-suiteab-choose-031passTest p:choose with different named secondary output ports.
3.0-test-suiteab-choose-036passTest that error in p:choose/p:when is not treated as 'true'/'false'.
3.0-test-suiteab-choose-045passTests connections to p:choose's parent scope.
3.0-test-suiteab-choose-048passTests connections for p:with-input on p:choose.
3.0-test-suiteab-choose-049passTests connections for p:with-input on p:choose.
3.0-test-suiteab-choose-052passTests connections for p:with-input on p:choose.
3.0-test-suiteab-choose-053passTests connections for p:with-input on p:choose.
3.0-test-suiteab-choose-057passTests (explicit) primary output port accepts union of content-types
3.0-test-suiteab-choose-058catch failureTests XS0102 is raised if alternative subpipelines have different primary output ports.
3.0-test-suiteab-choose-059passTests collection() on p:choose
3.0-test-suiteab-choose-060passTests collection() on p:choose
3.0-test-suiteab-choose-061passTests collection() on p:choose
3.0-test-suiteab-choose-062passTests collection() on p:choose
3.0-test-suiteab-choose-063passTests collection() on p:choose
3.0-test-suiteab-choose-064passTests collection() on p:choose
3.0-test-suiteab-choose-065passTests collection() on p:choose
3.0-test-suiteab-choose-066passTests collection() on p:choose
3.0-test-suiteab-choose-067passTests collection() on p:choose
3.0-test-suiteab-choose-068passTests collection() on p:choose
3.0-test-suiteab-choose-069passTests context item on p:choose inside p:group
3.0-test-suiteab-choose-070passTests context item on p:choose inside p:try
3.0-test-suiteab-choose-071passTests context item on p:choose inside p:choose
3.0-test-suiteab-choose-072passTests context item on p:choose inside p:if
3.0-test-suiteab-choose-073passTests p:choose inside p:if with test="false()"
3.0-test-suiteab-declare-step-011passTests a step is visible to itself for recursive call.
3.0-test-suiteab-depends-030catch failureTests @depends on p:choose must not be empty.
3.0-test-suiteab-depends-031catch failureTests @depends on p:choose must be an NCName.
3.0-test-suiteab-depends-032catch failureTests @depends on p:choose must name an inscope step.
3.0-test-suiteab-depends-033catch failureTests @depends on p:choose must name an inscope step.
3.0-test-suiteab-depends-034catch failureTests @depends on p:choose must name an inscope step.
3.0-test-suiteab-depends-035catch failureTests @depends on p:choose must not form a cycle.
3.0-test-suiteab-depends-036catch failureTests @depends on p:choose must not form a cycle.
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-depends-137catch failureTests @depends on p:when is not allowed.
3.0-test-suiteab-depends-138catch failureTests @depends on p:otherwise is not allowed.
3.0-test-suiteab-directory-list-001passTests base uri of p:directory document is set correctly.
3.0-test-suiteab-drp-context-005passTests DRP is context node for TVT in a p:when
3.0-test-suiteab-drp-context-006passTests DRP is context node for TVT in a p:otherwise
3.0-test-suiteab-drp-context-016passTests DRP is context node for p:with-input/@href in p:when
3.0-test-suiteab-drp-context-017passTests DRP is context node for p:document/@href in p:when
3.0-test-suiteab-drp-context-018passTests DRP is context node for p:with-input/@href in p:othwerwise
3.0-test-suiteab-drp-context-019passTests DRP is context node for p:document/@href in p:othwerwise
3.0-test-suiteab-drp-context-024passTests DRP is context node for TVT on p:inline in a p:when
3.0-test-suiteab-drp-context-025passTests DRP is context node for TVT on p:inline in a p:otherwise
3.0-test-suiteab-err-s0002-13catch failureTests XS002 is raised for double names.
3.0-test-suiteab-err-s0002-7catch failureTests XS002 is raised for double names.
3.0-test-suiteab-err-xs0001-006catch failureTests cycles are correctly detected from within complex steps.
3.0-test-suiteab-err-xs0001-016catch failureTests cycles are correctly detected from within complex steps.
3.0-test-suiteab-err-xs0006-003catch failureTests that err:XS0006 is raised.
3.0-test-suiteab-err-xs0006-004catch failureTests that err:XS0006 is raised.
3.0-test-suiteab-for-each-003passTest p:for-eachp:iteration-size() and p:iteration-position()(ported from 1.0-testsuite/for-each-003)
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-http-request-019passTests p:http-request: get with multi-part response.
3.0-test-suiteab-if-032passTests context item on p:if inside p:choose
3.0-test-suiteab-json-merge-006passSimple test, joining together three maps with conflicting keys and 'combine'.
3.0-test-suiteab-output-009catch failureTests that XD0007 is raised if sequence arrives on a non-sequence output port.
3.0-test-suiteab-output-010catch failureTests that XD0007 is raised if sequence arrives on a non-sequence output port.
3.0-test-suiteab-output-011catch failureTests that XD0007 is raised if sequence arrives on a non-sequence output port.
3.0-test-suiteab-output-012catch failureTests that XD0007 is raised if sequence arrives on a non-sequence output port.
3.0-test-suiteab-output-026catch failureTests that XD0042 is raised if document with wrong content type appears on p:output.
3.0-test-suiteab-output-027catch failureTests that XD0042 is raised if document with wrong content type appears on p:output.
3.0-test-suiteab-output-038passTests that documents appear in the right order on p:output.
3.0-test-suiteab-output-039passTests that documents appear in the right order on p:output.
3.0-test-suiteab-output-040passTests that documents appear in the right order on p:output.
3.0-test-suiteab-output-041passTests that documents appear in the right order on p:output.
3.0-test-suiteab-pipe-023passTests order of p:pipes
3.0-test-suiteab-pipe-024passTests order of p:pipes
3.0-test-suiteab-pipe-030passTests order of p:pipes
3.0-test-suiteab-recursion-001passTests recursive call of XProc step.
3.0-test-suiteab-rename-006passTests p:rename
3.0-test-suiteab-rename-006apassTests p:rename
3.0-test-suiteab-step-available-003passTests function p:step-available on standard step.
3.0-test-suiteab-step-available-005passTests function p:step-available user declared step.
3.0-test-suiteab-step-available-007passTests function p:step-available with forward reference on user declared step .
3.0-test-suiteab-step-available-009passTests function p:step-available on nested user declared step .
3.0-test-suiteab-step-available-013passTests function p:step-available on imported step.
3.0-test-suiteab-step-available-015passTests function p:step-available on imported [private] step.
3.0-test-suiteab-step-available-017passTests function p:step-available on imported library step.
3.0-test-suiteab-step-available-019passTests function p:step-available on imported private library step.
3.0-test-suiteab-step-available-021passTests function p:step-available on imported library step without subpipeline.
3.0-test-suiteab-viewport-005passTest p:viewport with p:iteration-position() and p:iteration-size().
3.0-test-suiteab-xs-0043-003catch failureTests for XS0043: Attribute port not allowed on p:with-input
3.0-test-suiteab-xs-0043-004catch failureTests for XS0043: Attribute port not allowed on p:with-input
3.0-test-suitechoose-001pass
3.0-test-suitechoose-002pass
3.0-test-suitechoose-003pass
3.0-test-suitenw-err-xs0015-005catch failureTests that err:XS0015 is raised.
3.0-test-suitenw-import-functions-002bpassTests p:import-functions: tests limiting XQuery imports by namespace.
3.0-test-suitenw-import-functions-003bpassTests p:import-functions: tests limiting XSLT imports by namespace.
3.0-test-suitetry-catch-001pass
3.0-test-suitetry-catch-002pass
3.0-test-suitetry-catch-003pass
3.0-test-suitetry-catch-004pass
3.0-test-suitetry-catch-005pass
3.0-test-suitetry-catch-006pass
3.0-test-suitetry-catch-007pass
3.0-test-suitetry-catch-008pass