Hi Michael,

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 was included.

Based on the source.zip of http://prdownloads.sourceforge.net/saxon/saxon-resources9-1-0-1.zip I created a Netbeans project (to have some basic ANT handling).
In my Saxon Mail archive I found a mail from you [1] 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":
  1. Configuration.java line 255 need to be commented: ie. /*DOTNETONLY*/ platform = DotNetPlatform.getInstance();
    (Would be subclasses a solution to avoid commenting?)
  2. 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 possible step?
  3. 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 http://java.sun.com/javase/6/docs/api/javax/xml/stream/Location.html 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).

[1] http://markmail.org/message/bx43zm27fjjrw25t#query:Building%20Saxon%3F%20Norm+page:1+mid:xae5skaf4kfrg7a4+state:results

Sun Microsystems GmbH           Svante Schubert
Nagelsweg 55                    Software Engineer
20097 Hamburg                   StarOffice / OpenOffice.org Development
Germany                         Phone: +49(0)40 236 46 500
http://www.sun.com              Svante.Schubert@sun.com

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