W3C home > Mailing lists > Public > xproc-dev@w3.org > September 2008

Re: Calabash and p:validate-with-xml-schema

From: Norman Walsh <ndw@nwalsh.com>
Date: Mon, 22 Sep 2008 12:33:40 -0400
To: James Garriss <james@garriss.org>
Cc: XProc Dev <xproc-dev@w3.org>
Message-ID: <m2fxnskumz.fsf@nwalsh.com>
James Garriss <james@garriss.org> writes:

> Has Calabash implemented this step yet?  I know it's optional, so maybe it's
> not high on the priority list.
>
> I ask, because this XPL:
>
> <p:declare-step xmlns:p="http://www.w3.org/ns/xproc">
>     <p:input port="source">
>         <p:document href="BookStore.xml"/>
>     </p:input>
>     <p:output port="result"/>
>     <p:validate-with-xml-schema mode="lax">
>         <p:input port="schema">
>             <p:document href="BookStore.xsd"/>
>         </p:input>
>     </p:validate-with-xml-schema>
> </p:declare-step>
>
> gives a java.lang.NullPointerException with Calabash 0.6.0.  Maybe there's
> an error in my pipeline?
>
> Appreciate any help!

I believe you need SaxonSA to support the validate step.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Truth lies within a little uncertain
http://nwalsh.com/            | compass, but error is immense.

Received on Monday, 22 September 2008 16:34:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 22 September 2008 16:34:25 GMT