p:document 019

Tests p:document with a simple text document in an unsupported encoding.

Test ab-p-document019.xml is expected to fail with error code err:XD0060.

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>
                    <p:document href="../documents/text-file-iso-8859-1.txt" content-type="text/plain; charset=unsupported"/>
                </p:with-input>
            </p:identity>
            <p:wrap-sequence wrapper="doc"/>
            
        </p:declare-step>
   
MorganaXProc passing XML Calabash passing

Revision history

14 Jul 2018 14:22, Achim Berndzen

adding @content-type on p:document

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.

03 Apr 2018 16:57, Achim Berndzen

Some new tests.