nw-urify-windows-089

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

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

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:C:Users/Jane/Documents and Files/Thing",
                             "http://example.com/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.