p:os-info-006

Tests p:os-info: Tests c:environment have name and value.

Test ab-os-info-006.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"/>
   <p:os-info/>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Schematron validation


<s:schema xmlns:s="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2">
   <s:ns prefix="c" uri="http://www.w3.org/ns/xproc-step"/>
   <s:pattern>
      <s:rule context="/">
         <s:assert test="c:result">The document root is not 'c:result'.</s:assert>
         <s:assert test="c:result/c:environment/@name">There is a c:environment without @name.</s:assert>
         <s:assert test="c:result/c:environment/@value">There is a c:environment with @value.</s:assert>
      </s:rule>
   </s:pattern>
</s:schema>

Revision history

23 Sep 2022, Achim Berndzen

Added tests for p:os-exec