Contenttypes 014

Tests shortcut "json" works correctly.

Test ab-contenttypes-014.xml is expected to pass.

The pipeline

<p:declare-step xmlns:p="" xmlns:test="http://test" version="3.0">
   <p:output port="result">
   <p:declare-step type="test:step">
      <p:input port="source" content-types="json">
      <p:output port="result">
            <!-- Tests application/json -->
         <p:inline content-type="application/json">5</p:inline>
MorganaXProc passing XML Calabash passing

Schematron validation

<s:schema xmlns="" xmlns:s="" queryBinding="xslt2">
      <s:rule context="/">
         <s:assert test="/passed">Root element is not 'passed'.</s:assert>

Revision history

10 Jun 2021, Achim Berndzen

Added attribute 'queryBinding' to schematron's schema.

26 Apr 2019, Achim Berndzen

Additional tests for content-types with shortcuts