OK, I had a stylesheet that was working fine in Java 1.4, but when I tried and compile it in 1.5 I was getting a FATAL ERROR: Cant' compile stylesheet. So, I searched the net and found out that 1.5 is packaged with an old version of Java and that you need to override it by creating a directory called "endorsed" in the jre lib
SO ... I created C:\Program Files\Java\jdk1.5.0_05\jre
and put the following jars in it as it specifies (from Xalan 2.7)
and now I'm getting the following error:
SystemId Unknown; Line #79; Column #61; Could not find function: tokenize
SystemId Unknown; Line #79; Column #61; function token not found.
(Location of error unknown)java.lang.NullPoin
So basically I'm at my wits end. The stylesheet works fine when I am running it in Oxygen XML editor using Saxon 8B.
So I guess my question becomes, how do I make the program use Saxon 8B, or do you know of a way that I can fix this?
This is how i set up the transformer
Transformer transformer = TransformerFactory.newInst