Contenttypes 006

Tests that output port with no @content-types accepts non-XML document.

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

The pipeline

      <p:declare-step xmlns:p="" version="3.0">
            <p:output port="result"/>        
            <p:declare-step type="test:step">
                <p:output port="result"/>
                  <p:inline content-type="text/plain">text</p:inline>
            <test:step xmlns:test="http://test"/>
            <p:wrap-sequence wrapper="result"/>
MorganaXProc passing XML Calabash passing

Schematron validation

      <s:schema xmlns:s="">
         <s:ns uri="" prefix="p"/>
         <s:ns uri="" prefix="c"/>
            <s:rule context="/">
               <s:assert test="result">Root element is not result.</s:assert>
               <s:assert test="/result/text()='text'">The root element does not have the right text child.</s:assert>

Revision history

12 Oct 2018, Achim Berndzen

Fixing broken test (namespace removed)

03 Oct 2018 16:59, Achim Berndzen

Corrected default of @content-types to be *.*

07 Jul 2018 17:01, Achim Berndzen

=Adapted tests to PR #422

02 Jun 2018 17:53, Norman Walsh

Fix namespace declarations

02 May 2018 18:16, Achim Berndzen

Change test with document-properties to map{xs:QName, item()}

25 Apr 2018 18:11, Achim Berndzen

More tests.