Java bindings

Hello WG.

One last message from me. :-)


Last night I had a go at generating the Java bindings from the IDL.
idlj didn’t produce appropriate output.  Attached is an XSLT 2.0
stylesheet that generates the Java bindings.  Run it with this command
from the master/ directory:

java -classpath ../../../tools/saxonb/saxon9.jar net.sf.saxon.Transform
-ext:on svg.idlx idl2java.xsl

(assuming you store the attached file as idl2java.xsl in master/).

This will generate files in master/org/w3c/dom/svg/ and
master/org/w3c/dom/smil/.  Make sure you run it after you do a make, so
that the idlx (XML version of the IDL) is updated first.  Don’t forget
to zip that that org/ directory up into java-bindings.zip when it’s time
to publish.

The output compiles with javac.  I haven’t done any sanity check against
the old Java bindings, though.  Someone should do that.  It seems OK at
a glance, though.


Second, I just noticed that in the IDL TimeEvent doesn’t inherit from
Event, which I think it should.


Finally, Doug, I noticed that
http://www.w3.org/2009/02/ElementTraversal-java-binding.zip is
inaccessible; it should be public.


Over and out,

Cameron

-- 
Cameron McCormack ≝ http://mcc.id.au/

Received on Thursday, 15 October 2009 06:32:14 UTC