Test ab-err-s0096-3

Tests that err:XS0096 is raised if a sequence type is used, but xmlschema-namespace is not declared.

Test is expected to fail with with one of these error codes: err:XS0096, err:XD0015.

The pipeline

<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error"
                xmlns:p="http://www.w3.org/ns/xproc"
                xmlns:t="http://xproc.org/ns/testsuite/3.0" version="3.0">
   <p:output port="result"/>
   <p:count>
      <p:with-input>
         <doc/>
         <doc/>
      </p:with-input>
      <p:with-option name="limit" as="xs:integer"
                     select="2"/>
   </p:count>
</p:declare-step>

Revision history

20 Jul 2019, Achim Berndzen
Initial commit