Tests p:os-info: Result doc has no base-uri.

Test ab-os-info-002.xml is expected to pass.

It requires the following features: os-info.

The pipeline

<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
   <p:output port="result"/>
         <result>{p:document-property(., 'base-uri')}</result>
MorganaXProc passing XML Calabash failing

Schematron validation

<s:schema xmlns:s="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2">
      <s:rule context="/">
         <s:assert test="result">The document root is not 'c:result'.</s:assert>
         <s:assert test="string-length(result/text()) = 0">The base-uri is not empty.</s:assert>

Revision history

23 Sep 2022, Achim Berndzen

Added tests for p:os-exec