p:document 001

Tests p:document with an absolute uri in @href

Test ab-p-document001.xml is expected to pass.

It requires the following features: webaccess.

The pipeline

<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
   <p:output port="result"/>
         <p:document href="http://xproc.org"/>
MorganaXProc passing XML Calabash passing

Schematron validation

<s:schema xmlns="http://www.w3.org/1999/xhtml" xmlns:s="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2">
   <s:ns uri="http://www.w3.org/1999/xhtml" prefix="html"/>
      <s:rule context="/">
         <s:assert test="html:html/html:head/html:title='XProc 3.0 - Home'">Element hmtl/head/title is not 'XProc 3.0 - Home'.</s:assert>

Revision history

10 Jun 2021, Achim Berndzen

Added attribute 'queryBinding' to schematron's schema.

11 Jun 2020, Achim Berndzen

Changed test as a consequence of the new title of xproc.org.

31 Aug 2019, Achim Berndzen

Change target for http-request to xproc.org.

03 Apr 2018 16:57, Achim Berndzen

Some new tests.