Problems after upgrading to v10 with Saxon

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Zearin
Posts: 107
Joined: Mon Jul 30, 2007 11:31 pm
Location: College Park, MD, United States

Problems after upgrading to v10 with Saxon

Post 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…
-- Zearin
Zearin
Posts: 107
Joined: Mon Jul 30, 2007 11:31 pm
Location: College Park, MD, United States

Re: Problems after upgrading to v10 with Saxon

Post 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. :)
-- Zearin
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Problems after upgrading to v10 with Saxon

Post 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
Post Reply