p:document 002

Tests p:document with a relative uri in @href: Base uri of p:document to be used.

Test ab-p-document002.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="learning.html" xml:base="http://xproc.org/"/>
MorganaXProc passing XML Calabash passing

Schematron validation

      <s:schema xmlns:s="http://purl.oclc.org/dsdl/schematron">
         <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 - Learning'">Element hmtl/head/title is not 'XProc 3.0 - Learning'.</s:assert>

Revision history

11 Jun 2020, Achim Berndzen

Changed test as a consequence of removing of xproc.org/about.html.

31 Aug 2019, Achim Berndzen

Change target for http-request to xproc.org.

03 Apr 2018 16:57, Achim Berndzen

Some new tests.