nw-urify-windows-012

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

Test nw-urify-windows-012.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("file://authority.com",
                             "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.