XS 001 -22 (AB)

Tests cycles from context item of AVTs.

Test ab-err-xs0001-022.xml is expected to pass.

The pipeline

<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
   <p:output port="result"/>
   <p:identity depends="adder">
   <p:add-attribute name="adder" match="/*" attribute-name="att" attribute-value="{40+2}">
MorganaXProc passing XML Calabash passing

Schematron validation

<s:schema xmlns="http://www.w3.org/1999/xhtml" xmlns:s="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2">
      <s:rule context="/">
         <s:assert test="doc">The root element is not doc.</s:assert>
         <s:assert test="doc/@att">There is no attribute "att" on doc.</s:assert>
         <s:assert test="doc/@att='42'">The attribute value of att is not 42.</s:assert>

Revision history

23 Nov 2021, Achim Berndzen

Changed test according to 3.0-specification#1043: Pipeline doesn't construct a loop.

11 Apr 2020, Achim Berndzen

New test.