Java extensions are not working (or work differently) with new version of XT

Subject: Java extensions are not working (or work differently) with new version of XT
From: "Maxime Levesque" <maximel@xxxxxxxxxxxxxx>
Date: Fri, 30 Jul 1999 10:37:56 -0700

 The following stylesheet works perfectly with version 19990708.

 with the new version (19990725),

 I get the following error message : 

  "add: no method with 2 arguments"




<?xml version="1.0"?>

<xsl:stylesheet
  xmlns:xsl="http://www.w3.org/XSL/Transform/1.0";
  xmlns:Vector="http://www.jclark.com/xt/java/java.util.Vector";
  xmlns:Object="http://www.jclark.com/xt/java/java.lang.Object";>


  <xsl:template match="/">


        <xsl:variable name='vector' expr='Vector:new()'/>
        <xsl:variable name='o' expr='Object:new()'/>

        <xsl:value-of select='Vector:add($vector, $o)'/>
  </xsl:template>

</xsl:stylesheet>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread