calumet integration no longer working in the latest version?

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
PaulHermans
Posts: 82
Joined: Sat Jan 13, 2007 5:39 pm
Location: Belgium

calumet integration no longer working in the latest version?

Post by PaulHermans » Tue Oct 05, 2010 2:41 pm

In OxygenXML 12, I get
SystemID:
C:\Users\Paul\Untitled1.xpl
# which is the file generated by the xpl template
Engine name: Calumet XProc
Severity: error
Description: java.lang.AbstractMethodError

In OxygenXML 11.2, I get the output ('Hello World!') as expected.
Paul

Mircea
Posts: 91
Joined: Tue Mar 25, 2003 11:21 am

Re: calumet integration no longer working in the latest version?

Post by Mircea » Tue Oct 05, 2010 4:20 pm

Hi Paul,

Since 12.0 we performed some API changes and the Calumet conector is no longer compatible.
You can download a conector based on Calumet 1.0.11 here.

Regards,
Mircea
Mircea Enachescu
<oXygen> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

mstoef
Posts: 20
Joined: Tue May 23, 2006 11:10 pm

Re: calumet integration no longer working in the latest version?

Post by mstoef » Tue Jan 04, 2011 11:19 pm

Mircea wrote:Hi Paul,

Since 12.0 we performed some API changes and the Calumet conector is no longer compatible.
You can download a conector based on Calumet 1.0.11 here.

Regards,
Mircea

Does this mean Calumet is still non-compatible? I have installed v. 1.0.12 and set up integration. Again, the default xpl 'Hellow World' works fine, but if I use an xpl sample based on one from the Pawson tutorial below, I get either a 'null stream' error (SAMPLE1), or an XC0050 (SAMPLE2).

m./


SAMPLE1:
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc"
xmlns:c="http://www.w3.org/ns/xproc-step" version="1.0">
<p:input port="source">
<p:document href="file:///Users/jstor/localApps/xproc/doc.xml"/>
</p:input>
<!-- <p:identity/>
<p:store href="file:///Users/jstor/localApps/xproc/opx1.xml"/>-->
<p:output port="result"/>
<p:identity/>
</p:declare-step>

SAMPLE2:
<?xml version="1.0" encoding="UTF-8"?>
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc"
xmlns:c="http://www.w3.org/ns/xproc-step" version="1.0">
<p:input port="source">
<p:document href="file:///Users/jstor/localApps/xproc/doc.xml"/>
</p:input>
<p:identity/>
<p:store href="file:///Users/jstor/localApps/xproc/opx1.xml"/>

</p:declare-step>

Mircea
Posts: 91
Joined: Tue Mar 25, 2003 11:21 am

Re: calumet integration no longer working in the latest version?

Post by Mircea » Wed Jan 05, 2011 12:53 pm

Hello,

The 1.0.12 Calumet integration works fine with the 12.0 version of oXygen.
The problems you encounter are raised from the URI-handling capabilities of Calumet.
This means the filepaths you provide are somehow incorect. I tried the same saples you provided (of course with different filepaths) and the samples worked succesfully.
The dynamic error XC0050 is thrown if the URI scheme is not supported or the step cannot store to the specified location, while the 'null stream' error speaks for itself.

Regards,
Mircea
Mircea Enachescu
<oXygen> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

mstoef
Posts: 20
Joined: Tue May 23, 2006 11:10 pm

Re: calumet integration no longer working in the latest version?

Post by mstoef » Wed Jan 05, 2011 4:48 pm

Well, I am able to run both samples via the Calabash processor without any trouble. Is there something specific about the Calumet implementation that might explain the difference?

mstoef
Posts: 20
Joined: Tue May 23, 2006 11:10 pm

Re: calumet integration no longer working in the latest version?

Post by mstoef » Wed Jan 05, 2011 4:57 pm

It looks like I have a problem obtaining or writing files to disk. Any clues?

Mircea
Posts: 91
Joined: Tue Mar 25, 2003 11:21 am

Re: calumet integration no longer working in the latest version?

Post by Mircea » Wed Jan 05, 2011 6:08 pm

It seems indeed to be a problem on Mac. We are investigating this, and we will keep you informed.
Mircea Enachescu
<oXygen> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

mstoef
Posts: 20
Joined: Tue May 23, 2006 11:10 pm

Re: calumet integration no longer working in the latest version?

Post by mstoef » Wed Jan 05, 2011 8:20 pm

I wasn't sure if this was a problem in Oxygen or Calumet. I posted the same issue to the Calumet message board, and they gave this response:

https://community.emc.com/message/521808#521808

george
Site Admin
Posts: 2102
Joined: Thu Jan 09, 2003 2:58 pm

Re: calumet integration no longer working in the latest version?

Post by george » Thu Jan 06, 2011 12:23 am

Thanks for updating us on this.
I was about to contact Vojtech as in the end we got the stacktrace below that indicates indeed an issue in Calumet. I am happy to hear that the issue has already been fixed in Calumet.

Code: Select all


ro.sync.xml.transformer.xproc.XProcTransformer - java.lang.NullPointerException: <null> stream
java.lang.NullPointerException: <null> stream
at com.emc.documentum.xml.xproc.util.impl.XProcSerializationUtil.serialize(XProcSerializationUtil.java:82)
at com.emc.documentum.xml.xproc.util.impl.XProcSerializationUtil.serialize(XProcSerializationUtil.java:127)
at com.emc.documentum.xml.xproc.util.impl.XProcUtilImpl.serialize(XProcUtilImpl.java:52)
at com.emc.documentum.xml.xproc.plugin.oxygen.XProcTransformerImpl.serialize(XProcTransformerImpl.java:318)
at com.emc.documentum.xml.xproc.plugin.oxygen.XProcTransformerImpl.serialize(XProcTransformerImpl.java:298)
at com.emc.documentum.xml.xproc.plugin.oxygen.XProcTransformerImpl.processOutput(XProcTransformerImpl.java:255)
at com.emc.documentum.xml.xproc.plugin.oxygen.XProcTransformerImpl.transform(XProcTransformerImpl.java:124)
at ro.sync.xml.transformer.xproc.XProcTransformer$2.run(XProcTransformer.java:470)
at java.lang.Thread.run(Thread.java:680)
Best Regards,
George
George Cristian Bina

Post Reply