nw-urify-windows-003

Resolve a string with an implicit scheme with an absolute path with an authority against an absolute file URI on drive C:.

Test nw-urify-windows-003.xml is expected to fail with error code err:XD0076.

It requires the following features: urify-windows.

The pipeline


<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" name="pipeline" version="3.0">
   <p:output port="result"/>
   <p:identity>
      <p:with-input>
         <result>{p:urify("//authority/",
                             "file:///C:/Users/Jane%20Doe/Documents/")}</result>
      </p:with-input>
   </p:identity>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

10 Oct 2021, Norman Walsh

Test for the p:urify() function on Windows.