Question on MorganaXProc

Hello all, hello Achim,


I am trying to find out how to use MorganaXProc. First question:


This is my source document:


<?xml version="1.0" encoding="UTF-8"?>
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc"
    xmlns:c="http://www.w3.org/ns/xproc-step" version="1.0">
    <p:xslt name="Transformation">
        <p:input port="parameters">
            <p:empty/>
        </p:input>
        <p:input port="source">
            <p:document href="in.xml"/>
        </p:input>
        <p:input port="stylesheet">
            <p:document href="in2data.xsl"/>
        </p:input>
    </p:xslt>
    <p:store href="data.xml"/>
</p:declare-step>


I run "java -jar MorganaXProc.jar mypipeline.xpl"

but I get an error message about not being able to find in2data.xs because of 

  <description>XD0011: It is a dynamic error if the resource
          referenced by a p:document element does not exist,
          cannot be accessed, or is not a well-formed XML document.</description>
  <message>Cannot access document 'href='in2data.xsl'
           (base='file:///Users..../mypipeline.xpl')':Missing
           scheme in absolute URI reference</message>


How can I make this to work? This pipeline works out of the box with an older version of Calabash.


Patrick

Received on Tuesday, 26 September 2017 09:27:59 UTC