I am currently working on the exchange of Xerces/Xalan against your
saxon9.jar for OpenOffice.org 3 (OOo 3).
Unfortunately for me, the policies of OOo say that we need to build the
saxon9.jar on our own, so anybody can easily see that no harmful code
Based on the source.zip of
created a Netbeans project (to have some basic ANT handling).
In my Saxon Mail archive I found a mail from you  about your solely
build.xml ANT file of 8.9 I took as well advantage of, after
downloading the sources by subversion.
During my compilation I have found a some minor problems during
creation of solely the "saxon9.jar":
- Configuration.java line 255 need to be commented: ie.
/*DOTNETONLY*/ platform = DotNetPlatform.getInstance();
(Would be subclasses a solution to avoid commenting?)
- The encoding is not UTF-8, but I assume ISO-8859-1, which caused
to me some problems in classes as
net.sf.saxon.number.Numberer_frBE.java for our multiplatform builds.
IDE as NetBeans uses UTF-8 as default encoding, is this encoding a
- I was wondering: from the manifest it seems you have created the
original JAR with 1.5.0_06-b05, but there are build/run-time dependency
to JDK6 classes, as often classes from the javax.xml.stream
package are being used, as
which was introduced in JDK6. Have I overseen something?
BTW compiled with JDK 6 (Netbeans 6.1 with latest JDK 6) the saxon9.jar
shrinks from 4,79 MB to 3,64 MB (including the same named class files).
Sun Microsystems GmbH Svante Schubert
Nagelsweg 55 Software Engineer
20097 Hamburg StarOffice / OpenOffice.org Development
Germany Phone: +49(0)40 236 46 500
Sitz der Gesellschaft:
Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering