DocBook Schematron file and Calabash

  Hi,

  Running on Calabash 1.0.21, I can't validate a document against the
DocBook Schematron schema.  It seems the p:validate-with-schematron
implementation does not understand the flavour of Schematron used (if
I remember correctly, http://www.ascc.net/xml/schematron is pre-ISO).

  Is it a bug in the DocBook schemas?  Is it a bug in Calabash.  Or is
it simply that Calabash does not support the Schematron version that
the DocBook team used?

  To reproduce, execute the following pipeline with any document on
the source input port:

    <p:pipeline xmlns:p="http://www.w3.org/ns/xproc" version="1.0">
       <p:validate-with-schematron>
          <p:input port="schema">
             <p:document href="docbook-schemas-5.0/docbook.sch"/>
          </p:input>
       </p:validate-with-schematron>
    </p:pipeline>

  The output is:

    WARN : err:SXXP0005:The source document is in namespace
      http://www.ascc.net/xml/schematron, but none of the template rules
      match elements in this namespace
    ERROR: p:validate-with-schematron failed to compile provided
schema: s:schema
    ERROR: p:validate-with-schematron failed to compile provided
schema: s:schema

  Regards,

-- 
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/

Received on Friday, 12 December 2014 23:06:42 UTC