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

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 UTC