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

Are you saying I don't need a license file to run Saxon SA?  I think I do.

Just in case there are any other Mac types around, here's how I run
Calabash:   I don't care for classpaths, so I put all the jar files
(calabash and saxon SA) in:

  Macintosh HD > Library > Java > Extensions

And I put the saxon-license.lic file in the same directory where I'm running
my script (a bit of AppleScript code) that calls the Java.  Works for me.
I've got OS X 10.5.4, which has Java 1.5.something.

When I remove the license file, I this note from Calabash 0.6.1 (while using
the -a option):

License file saxon-license.lic not found. Running in non-schema-aware mode

At least it still runs, rather than just shutting down.

James Garriss

From: Norman Walsh <>
Date: Mon, 22 Sep 2008 16:16:12 -0400
To: James Garriss <>
Cc: XProc Dev <>
Subject: Re: Calabash and p:validate-with-xml-schema
Resent-From: XProc Dev <>
Resent-Date: Mon, 22 Sep 2008 20:16:53 +0000

James Garriss <> writes:

> I wrote a little script to execute the Java that runs Calabash.  Good stuff.
> So I put saxon-license.lic in there, too.  I still get the
> NullPointerException.  Ideas?

My bad. You don't need to put the license in there, just put the SaxonSA jar
file on the class path.

Unfortunately, I also need to add a flag or something. Right now, the code

        boolean schemaAware = false;
        processor = new Processor(schemaAware);

which is, uhm, a little sub-optimal. I'll fix that ASAP. I owe you a new
drop anyway, for the fixes to p:wrap :-)

                                        Be seeing you,

Norman Walsh <> | God, root, what is difference?" --Pitr,            | User Friendly; "God is more forgiving."
                              | -- Dave Aronson

Received on Tuesday, 23 September 2008 15:49:31 UTC