hash 017 (AB)

Testing p:hash raises XC0091 if result is all text.

Test ab-hash-017.xml is expected to fail with error code err:XC0091.

The pipeline


      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
         <p:output port="result"/>
         
         <p:hash value="XML Processing Model Working Group" algorithm="crc" match="comment()">
            <p:with-input>
               <p:inline>
                  This is a text.
                  
                  This is a text.
               </p:inline>
            </p:with-input>
         </p:hash>
        
      </p:declare-step>
   
MorganaXProc passing

Revision history

04 May 2019, Achim Berndzen

New test for p:hash