Page 1 of 1

Problems after upgrading to v10 with Saxon

Posted: Thu Oct 23, 2008 5:36 pm
by Zearin
Two things:
  1. First, I have an Ant buildfile that stored the classpath of Saxon as [oxygenDirectory]/lib/saxon9.jar. Should it now be [oxygenDirectory]lib/saxon9sa.jar ?
  2. After the upgrade, a transformation that previously had no problems now outputs a blank XML file. There is no output at all except for the <?xml ?> declaration at the top. I'm completely baffled, and the timing for this to happen isn't the best…

Re: Problems after upgrading to v10 with Saxon

Posted: Thu Oct 23, 2008 5:42 pm
by Zearin
Whoops, nevermind the second item! My fault.

I made the silly mistake of moving @xpath-default-namespace, so that none of my templates were selecting anything, hence the empty output.

I'll remember not to move that around in the future, especially at the same time as an upgrade of my IDE. :)

Re: Problems after upgrading to v10 with Saxon

Posted: Thu Oct 23, 2008 5:48 pm
by sorin_ristache
Hello,
Zearin wrote:
  1. First, I have an Ant buildfile that stored the classpath of Saxon as [oxygenDirectory]/lib/saxon9.jar. Should it now be [oxygenDirectory]lib/saxon9sa.jar ?
Yes. Oxygen 10 includes Saxon SA as a built-in processor so you have to replace saxon9.jar with saxon9sa.jar in your classpath based on the jar files installed by Oxygen.


Regards,
Sorin