Tests XD0061 is raised if property name can't be made to a QName.
Test ab-doc-prop-017.xml is expected to fail with error code err:XD0061
.
<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(., 'test1:opt')}</result>
</p:with-input>
</p:identity>
</p:declare-step>
Additional tests for p:document-property