Contenttypes 002

Tests XS0111 is raised for an unknown shortcut in content-types on p:output

Test is expected to fail with error code err:XS0111.

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:input port="source" select="/doc/element">
      <doc>
         <element>text</element>
      </doc>
   </p:input>
   <p:output port="result" content-types="invalid"/>
   <p:identity/>
</p:declare-step>

Revision history

26 Apr 2019, Achim Berndzen
Fixed test error. Now it is a unknown shortcut.
02 Jun 2018, Norman Walsh
Fix namespace declarations
25 Apr 2018, Achim Berndzen
More tests.