viewport-032 (AB)

Test document in p:viewport has proper base-uri.

Test ab-viewport-032.xml is expected to pass.

The pipeline

<p:declare-step xmlns:p="" version="3.0">
   <p:output port="result"/>
   <p:viewport match="doc" name="viewport">
         <p:inline document-properties="map{'base-uri' : 'http:/dummy-base-uri'}">
MorganaXProc passing XML Calabash passing

Schematron validation

<s:schema xmlns="" xmlns:s="" queryBinding="xslt2">
      <s:rule context="/">
         <s:assert test="result">The root element is not 'result'.</s:assert>
         <s:assert test="result/text()='http:/dummy-base-uri'">The base uri is not correctly set.</s:assert>

Revision history

10 Jun 2021, Achim Berndzen

Added attribute 'queryBinding' to schematron's schema.

20 Apr 2020, Achim Berndzen

New test