Tests that use p:add-attribute

Test suiteTestExpected resultDescription
3.0-test-suiteab-add-attribute-001passTests adding an attribute in no namespace to doc.
3.0-test-suiteab-add-attribute-002passTests adding an attribute with prefixed name to doc.
3.0-test-suiteab-add-attribute-003passTests adding an attribute with EQ-name to doc.
3.0-test-suiteab-add-attribute-004passTests adding an attribute with QName AVT to doc.
3.0-test-suiteab-add-attribute-005passTests adding an attribute with name in p:with-option to doc.
3.0-test-suiteab-add-attribute-006passTests adding an attribute with prefixed name in p:with-option to doc.
3.0-test-suiteab-add-attribute-007passTests adding an attribute with EQName in p:with-option to doc.
3.0-test-suiteab-add-attribute-008passTests adding an attribute with QName() in p:with-option to doc.
3.0-test-suiteab-add-attribute-009passTests adding an attribute with a prefixed QName() in p:with-option to doc.
3.0-test-suiteab-add-attribute-010passTests adding an attribute with a prefixed QName() in p:with-option to doc (conflict in prefix).
3.0-test-suiteab-add-attribute-011passTests adding an attribute in no namespace to a namespaced document.
3.0-test-suiteab-add-attribute-012passTests replacing attribute value with p:add-attribute (attribute name in no namespace).
3.0-test-suiteab-add-attribute-013passTests replacing attribute value with p:add-attribute (attribute name in namespace).
3.0-test-suiteab-add-attribute-014passTests adding attribute in namespace with p:add-attribute (attribute with same local name present).
3.0-test-suiteab-add-attribute-015passTests adding attribute with match's default value.
3.0-test-suiteab-add-attribute-016passTests adding attribute with match's default value.
3.0-test-suiteab-add-attribute-017passTests document-properties are preserved on p:add-attribute.
3.0-test-suiteab-add-attribute-018passTests that adding xml:base also changes element's base-uri.
3.0-test-suiteab-add-attribute-019passTests that adding attribute "xml:base".
3.0-test-suiteab-add-attribute-020catch failureTests an error to be raised if match on p:add-attribute matches doc root.
3.0-test-suiteab-add-attribute-021catch failureTests an error to be raised if match on p:add-attribute matches attribute.
3.0-test-suiteab-add-attribute-022catch failureTests an error to be raised if match on p:add-attribute matches text.
3.0-test-suiteab-add-attribute-023catch failureTests an error to be raised if match on p:add-attribute matches comment.
3.0-test-suiteab-add-attribute-024catch failureTests an error to be raised if match on p:add-attribute matches processing-instruction.
3.0-test-suiteab-add-attribute-025catch failureTests an error to be raised if attribute-name on p:add-attribute is 'xmlns'.
3.0-test-suiteab-add-attribute-026catch failureTests an error to be raised if attribute-name on p:add-attribute prefixed by 'xmlns'.
3.0-test-suiteab-add-attribute-027passTests adding attribute at multiple levels
3.0-test-suiteab-add-attribute-028passTests adding attribute written as Q{}-production gets a prefix
3.0-test-suiteab-add-attribute-029passTests adding attribute "xml:base"
3.0-test-suiteab-add-attribute-030passTests adding attribute "xml:base"
3.0-test-suiteab-add-xml-base-001passTest p:add-xml-base where the scheme changes with p:add-attribute. This test is adapted from nw-add-xml-base-005.xml, but using p:add-attribute instead of p:set-attributes.
3.0-test-suiteab-avt-001passTests AVTs.
3.0-test-suiteab-avt-002passTests AVTs.
3.0-test-suiteab-avt-003passTests AVTs.
3.0-test-suiteab-avt-004passTests AVTs.
3.0-test-suiteab-avt-005passTests AVTs.
3.0-test-suiteab-avt-006passTests AVTs.
3.0-test-suiteab-avt-007passTests AVTs.
3.0-test-suiteab-avt-008passTests AVTs.
3.0-test-suiteab-avt-009passTests AVTs.
3.0-test-suiteab-avt-010catch failureTests AVTs.
3.0-test-suiteab-avt-011catch failureTests AVTs.
3.0-test-suiteab-avt-012catch failureTests AVTs.
3.0-test-suiteab-choose-019passTests p:choose using drp as input and xpath context.
3.0-test-suiteab-choose-020passTests p:choose using drp as input, but not as xpath context.
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-choose-074passTest p:choose with a p:try child and test="false()" and no p:otherwise.
3.0-test-suiteab-choose-075passTest p:choose with a p:group child and test="false()" and no p:otherwise.
3.0-test-suiteab-choose-076passTest p:choose with a p:for-each child and test="false()" and no p:otherwise.
3.0-test-suiteab-connection-019passChecks that DRP counts a connection for short-cut AVT.
3.0-test-suiteab-connection-020passChecks that DRP counts a connection for short-cut AVT and primary input port.
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-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-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-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-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-err-d0006-001catch failureTests that XD006 is raised when a non sequence port receives p:empty
3.0-test-suiteab-err-d0006-002catch failureTests that XD0006 is raised when more than one document arrives on a non-sequence port
3.0-test-suiteab-err-s0096-003catch failureTests that XS0096 is raised when sequence type in @as on p:with-option is not valid: Wrong quantifier
3.0-test-suiteab-err-s0096-006catch failureTests that XS0096 is raised when sequence type in @as on p:with-option is not valid: Unknown type
3.0-test-suiteab-err-xs0001-022passTests cycles from context item of AVTs.
3.0-test-suiteab-err-xs0001-023passTests cycles from context item of option value.
3.0-test-suiteab-err-xs0001-024catch failureTests cycles from context item in TVT.
3.0-test-suiteab-error-xd0051-005catch failureTests XD0051
3.0-test-suiteab-error-xd0051-006catch failureTests XD0051
3.0-test-suiteab-error-xd0051-007catch failureTests XD0051
3.0-test-suiteab-error-xd0051-008catch failureTests XD0051: No functions allowed as result in AVT.
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-error-xd0051-011catch failureTests XD0051: No functions allowed as result in TVT.
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-if-006passTest p:if where DRP is also used as XPath context.
3.0-test-suiteab-if-007passTest p:if with p:with-input as XPath context.
3.0-test-suiteab-if-008passTest p:if where @when evaluates to false(), so drp is copied.
3.0-test-suiteab-if-009passTest p:if where @when evaluates to false() and no drp.
3.0-test-suiteab-if-010passTest p:if where @when evaluates to true() and two output ports.
3.0-test-suiteab-if-011passTest p:if where @when evaluates to false() and two output ports.
3.0-test-suiteab-if-012passTest p:if with a sequence as DRP.
3.0-test-suiteab-if-013passTest p:if with a sequence as DRP, collection="true"
3.0-test-suiteab-if-014passTest p:if where @when evaluates to false(), so drp is copied.
3.0-test-suiteab-if-034passTest p:if with a sequence as DRP and test="false()".
3.0-test-suiteab-if-035passTest p:if with a p:try child and test="false()".
3.0-test-suiteab-if-036passTest p:if with a p:group child and test="false()".
3.0-test-suiteab-if-037passTest p:if with a p:for-each child and test="false()".
3.0-test-suiteab-import-012passTests repeated import of library with static option.
3.0-test-suiteab-import-013passTests repeated import of library with static option. (different order)
3.0-test-suiteab-import-014passTests layered import of library with static option.
3.0-test-suiteab-import-015passTests repeated import of library with static option.
3.0-test-suiteab-import-016passTests repeated import of library with static option.
3.0-test-suiteab-import-017passTests repeated import of library with static option.
3.0-test-suiteab-import-018passTests repeated import of library with static option.
3.0-test-suiteab-p-run-034passTests p:run: Test namespace binding
3.0-test-suiteab-p-run-058passTests p:run: Checks explicit primary p:output on p:run becomes context-item.
3.0-test-suiteab-p-run-059passTests p:run: Checks implicit primary p:output on p:run becomes context-item.
3.0-test-suiteab-p-run-061catch failureTests p:run: Checks implicit non-primary p:output does not become DRP.
3.0-test-suiteab-p-run-062catch failureTests p:run: Checks implicit non-primary p:output does not become context-item.
3.0-test-suiteab-p-run-063catch failureTests p:run: Checks explit non-primary p:output does not become context-item.
3.0-test-suiteab-pipe-001catch failureTests XS0022 is raised if pipe on p:with-option goes to unknown step.
3.0-test-suiteab-pipe-002catch failureTests XS0022 is raised if pipe on p:with-option goes to unknown port.
3.0-test-suiteab-pipe-003catch failureTests XS0067 is raised if pipe on p:with-option goes to undefined drp.
3.0-test-suiteab-pipe-004catch failureTests XS0068 is raised if pipe on p:with-option goes to undefined port on drp.
3.0-test-suiteab-pipe-005catch failureTests XS022 is raised if pipe on p:with-option contains loop to same step.
3.0-test-suiteab-pipe-006catch failureTests XS0022 is raised if pipe on p:with-option goes to unknown step.
3.0-test-suiteab-pipe-007catch failureTests XS0022 is raised if pipe on p:with-option goes to unknown port.
3.0-test-suiteab-pipe-008catch failureTests XS0067 is raised if pipe on p:with-option goes to undefined drp.
3.0-test-suiteab-pipe-009catch failureTests XS0068 is raised if pipe on p:with-option goes to undefined port on drp.
3.0-test-suiteab-pipe-010catch failureTests XS0022 is raised if pipe on p:with-option contains loop to same step.
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-009passTests that a static option can be used in option short-cut.
3.0-test-suiteab-static-option-var-010passTests that a static option can be used in p:with-option.
3.0-test-suiteab-text-head-001passTests p:text-head
3.0-test-suiteab-text-head-002passTests p:text-head
3.0-test-suiteab-text-head-003passTests p:text-head
3.0-test-suiteab-text-head-004passTests p:text-head
3.0-test-suiteab-text-head-005passTests p:text-head
3.0-test-suiteab-text-head-006passTests p:text-head
3.0-test-suiteab-text-head-007passTests p:text-head
3.0-test-suiteab-text-head-008passTests p:text-head
3.0-test-suiteab-text-head-009passTests p:text-head
3.0-test-suiteab-text-tail-001passTests p:text-tail
3.0-test-suiteab-text-tail-002passTests p:text-tail
3.0-test-suiteab-text-tail-003passTests p:text-tail
3.0-test-suiteab-text-tail-004passTests p:text-tail
3.0-test-suiteab-text-tail-005passTests p:text-tail
3.0-test-suiteab-text-tail-006passTests p:text-tail
3.0-test-suiteab-text-tail-007passTests p:text-tail
3.0-test-suiteab-text-tail-008passTests p:text-tail
3.0-test-suiteab-text-tail-009passTests p:text-tail
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-viewport-011passTest nested p:viewport and correct propagation of p:iteration-size and p:iteration-position.
3.0-test-suiteab-viewport-020passTest p:viewport with two documents on the source port.
3.0-test-suiteab-viewport-022catch failureTest p:viewport raises XD0072 for JSON document.
3.0-test-suiteab-viewport-023catch failureTest p:viewport raises XD0072 for text document.
3.0-test-suiteab-viewport-024catch failureTest p:viewport raises XD0072 for other (binary) document.
3.0-test-suiteab-viewport-025catch failureTest p:viewport raises XS0107 for statically invalid match value.
3.0-test-suiteab-viewport-026catch failureTest p:viewport raises XS0107 for statically invalid match value.
3.0-test-suiteab-viewport-027catch failureTest p:viewport raises XD0010 if attribute is matched.
3.0-test-suiteab-with-option-005catch failureTests XS0018 is raised, if a step is invoke without a required option.
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-with-option-008passTests reference to default readable port in an option short-cut
3.0-test-suiteab-with-option-009passTests reference to default readable port in p:with-option
3.0-test-suiteab-with-option-010catch failureTest @collection="{XPath-expression}" on p:with-option is an error.
3.0-test-suiteab-xs-0043-002catch failureTests for XS0043: Attribute port not allowed on p:with-input
3.0-test-suiteab-xslt-014passTests initial match selection on p:xslt: text document (3.0)
3.0-test-suiteab-xslt-018passTests text document is returned if @build-tree =true (3.0)
3.0-test-suiteab-xslt-019passTests text document is returned on secondary port if @build-tree =true (3.0)
3.0-test-suiteab-xslt-045passTests output-base-uri is used for primary document. (3.0)
3.0-test-suiteab-xslt-046passTests output-base-uri is used for primary document. (3.0)
3.0-test-suiteab-xslt-047passTests serialization method 'html' makes HTML document (3.0)
3.0-test-suiteab-xslt-048passTests serialization method 'xhtml' makes HTML document (3.0)
3.0-test-suiteab-xslt-049passTests serialization method 'text' makes text document (3.0)
3.0-test-suiteab-xslt-050passTests serialization method 'json' does not make JSON document for single text node. (3.0)
3.0-test-suitenw-avt-001catch failureTests for a static error in an AVT.
3.0-test-suitenw-viewport-001passSmoke test for p:viewport.
3.0-test-suitenw-viewport-003passTest that the match attribute can be an AVT with a variable reference.
3.0-test-suitenw-viewport-004passTest that the match attribute can be an AVT with a static variable reference. (Yes, I know, using the prefix this way is utterly absurd. It’s a unit test.)
3.0-test-suitenw-xslt-002passTests secondary result documents.
extra-suitecx-until-001passTest cx:until
extra-suitecx-while-001passTest cx:while