p:document 025

Tests p:document with a JSON-document: Error MOX004 expected because 'duplicates' has illegal value.

Test ab-p-document025.xml is expected to fail with error code err:XD0059.

The pipeline


      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
            <p:output port="result"/>        

            <p:identity>
                <p:with-input select="p:document-properties-document(.)">
                    <p:document href="../documents/JSon-doc1.json" content-type="application/json" parameters="map{'duplicates': 'illegal'}"/>
                </p:with-input>
            </p:identity>

        </p:declare-step>
   
MorganaXProc passing XML Calabash failing

Revision history

29 Aug 2018 15:54, Achim Berndzen

Now I have all tests where p:document needs a content-type according to the new specs

02 Jun 2018 17:53, Norman Walsh

Fix namespace declarations

25 Apr 2018 18:11, Achim Berndzen

More tests.