W3C home > Mailing lists > Public > xproc-dev@w3.org > February 2012

Schematron with relative paths for document functions

From: Robert Stuart <RobertStuart@crystalMatrixSoftware.com>
Date: Tue, 21 Feb 2012 11:20:45 -0500
Message-Id: <94F42816-59E1-41DB-A654-0BBAAB754455@crystalMatrixSoftware.com>
To: xproc-dev@w3.org
I have schematron that has configuration files it reads into variables such as

<sch:let name="countriesList"

The ../.. path is relative to where the .sch file is. This works fine for executing the schematron from oxygen but when I put 

                Schematron validate the source doc against the schematron.
            <p:input port="schema">
                <p:document href="../Schematron/test.sch"/>
            <p:with-param name="allow-foreign" select="'true'"/>

I get errors that Countries.xml does not exist at a path that would coincide with starting at the location of the input document not the .sch file. 

What obvious thing am I missing?

Bob Stuart

Received on Tuesday, 21 February 2012 16:21:09 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:09 UTC