Suport For Saxon in future FOP release

2008-09-17 Thread Philip V

Hi,

I noticed that during the ant build of the trunk, Saxon is used. Since Saxon
is an xslt 2.0 processor, is there any plans to replace Xalan with Saxon as
the default processor with future releases of FOP?

Thanks,

Phil

-- 
View this message in context: 
http://www.nabble.com/Suport-For-Saxon-in-future-FOP-release-tp19329624p19329624.html
Sent from the FOP - Dev mailing list archive at Nabble.com.



[trunk] - Build Fail

2008-09-01 Thread Philip V

Hi, I just updated my version of trunk and was unable to do a build...

BUILD FAILED
java.lang.UnsupportedOperationException: Saxon cannot write a DOMResult
unless s
axon9-dom.jar is on the classpath
at
net.sf.saxon.event.SerializerFactory.getReceiver(SerializerFactory.ja
va:200)
at
net.sf.saxon.expr.XPathContextMinor.changeOutputDestination(XPathCont
extMinor.java:402)
at net.sf.saxon.Controller.transformDocument(Controller.java:1720)
at net.sf.saxon.Controller.transform(Controller.java:1559)
at
org.apache.fop.tools.EventProducerCollectorTask.updateTranslationFile
(EventProducerCollectorTask.java:113)
at
org.apache.fop.tools.EventProducerCollectorTask.execute(EventProducer
CollectorTask.java:79)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
-- 
View this message in context: 
http://www.nabble.com/-trunkBuild-Fail-tp19260761p19260761.html
Sent from the FOP - Dev mailing list archive at Nabble.com.



Re: [trunk] - Build Fail

2008-09-01 Thread Philip V

Thank Andreas,

Wasn't sure if the class was supposed to be referenced in the ant build
file. I am all set now.

Thanks,

Phil


Andreas Delmelle-2 wrote:
 
 On Sep 1, 2008, at 23:10, Philip V wrote:
 

 Hi, I just updated my version of trunk and was unable to do a build...

 BUILD FAILED
 java.lang.UnsupportedOperationException: Saxon cannot write a  
 DOMResult
 unless saxon9-dom.jar is on the classpath
 
 This is due to the new event-handling framework that has been added  
 after 0.95.
 The step in the build process that generates the resource files for  
 the various messages, seems to require a writable DOM implementation.
 
 As the message indicates, Saxon offers such an implementation in a  
 separate JAR, which needs to be added to the classpath when building  
 FOP Trunk.
 
 
 Andreas
 
 

-- 
View this message in context: 
http://www.nabble.com/-trunkBuild-Fail-tp19260761p19261273.html
Sent from the FOP - Dev mailing list archive at Nabble.com.