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:p="http://www.w3.org/ns/xproc" 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 xmlns=""/></p:inline>
            </p:with-input>
         </p:identity>
         
         <p:identity>
            <p:with-input>
               <result xmlns="">{p:document-property(., 'Q{{13-14-15}}:opt')}</result>
            </p:with-input>
         </p:identity>
      </p:declare-step>
   
MorganaXProc passing XML Calabash failing

Revision history

14 Jul 2019, Achim Berndzen

Additional tests for p:document-property