ab-doc-props-018

Tests XD0061 is raised if property name can't be made to a QName.

Test ab-doc-prop-018.xml is expected to fail with error code err:XD0061.

The pipeline


<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" xmlns:test="http://test" version="3.0">
   <p:output port="result"/>
   <p:identity>
      <p:with-input>
         <p:inline document-properties="map{'Q{http://test}opt':'test:opt=value'}">
            <doc/>
         </p:inline>
      </p:with-input>
   </p:identity>
   <p:identity>
      <p:with-input>
         <result>{p:document-property(., 'Q{{13-14-15}}:opt')}</result>
      </p:with-input>
   </p:identity>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

14 Jul 2019, Achim Berndzen

Additional tests for p:document-property