You can get the old Java URI format using


on the command line (note the double hyphen) without needing a configuration file. This applies to all the options in FeatureKeys

The AssertionError looks like a bug. Repro please!

Michael Kay

On 18/01/2011 12:41, Norman Walsh wrote:
Hi Michael,

I've been using a Java class with a couple of single-argument static
methods for years, like this:

<xsl:stylesheet xmlns:xsl=""
      <xsl:value-of select="digest:md5(concat($f:shared_secret,$sig))"/>

In, I get:

  Cannot find a matching 1-argument function named

Looking through the docs, I see that I probably need to set something
in the configuration file about old Java URI formats, but I haven't a
clue where that file is or what format it has, so I keep digging:

It appears that this should work


but that doesn't work either:

  Exception in thread "main" java.lang.AssertionError: Internal error:
  invalid slot number for local variable (0). Variable reference
  $gg:gg2054478636 at line 39...

Updating the Java class so that the XPathContext argument is explicit
didn't help.

And when I finally craft a configuration file:

  <configuration xmlns=""

I get the same error. User error, or bug?

                                        Be seeing you,

------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing.
_______________________________________________ saxon-help mailing list archived at