Error message running xmlcalabash
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 82
- Joined: Sat Jan 13, 2007 5:39 pm
- Location: Belgium
Error message running xmlcalabash
Post by PaulHermans »
Using following XProc
Running this as xmlcalabash command outside OxygenXML runs as expected:
And the xml file is added to the eXist database.
Running the same XProc from within OxygenXML returns following error
The xml file however is added also to the eXist db.
Code: Select all
<?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:output port="result"/>
<p:http-request omit-xml-declaration="false" encoding="UTF-8">
<p:input port="source">
<p:inline>
<c:request
href="http://localhost:8888/exist/rest/db/Food/Almonds2.xml" method="PUT">
<c:body content-type="application/xml" >
<product>
<category>fruits</category>
<item>Almonds</item>
<inventory>
<sku>AlmofruiIV75Lm</sku>
<price>2</price>
<inventory>915</inventory>
</inventory>
<vendor>TriCounty Produce</vendor>
</product>
</c:body>
</c:request>
</p:inline>
</p:input>
</p:http-request>
</p:declare-step>
Code: Select all
C:\Program Files\xmlcalabash-0.9.22> java com.xmlcalabash.drivers.Main xpl/PUT.x
pl
27-jul-2010 17:13:31 com.xmlcalabash.util.DefaultXProcMessageListener info
INFO: Running pipeline !1
27-jul-2010 17:13:32 com.xmlcalabash.util.DefaultXProcMessageListener info
INFO: Running http-request !1.2
<c:body xmlns:c="http://www.w3.org/ns/xproc-step" content-type="application/octe
t-stream" encoding="base64">
</c:body>
Running the same XProc from within OxygenXML returns following error
SystemID: C:\Program Files\xmlcalabash-0.9.22\xpl\PUT.xpl
Engine name: Calabash XProc
Severity: error
Description: java.lang.NullPointerException null
The xml file however is added also to the eXist db.
Paul
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Re: Error message running xmlcalabash
Hi Paul,
We will make available this afternoon a connector for the latest Calabash (the one released a few hours ago). I will post the link also here as soon as it will be available. Then please try the same pipeline with that and let us know if you still get this problem.
Best Regards,
George
We will make available this afternoon a connector for the latest Calabash (the one released a few hours ago). I will post the link also here as soon as it will be available. Then please try the same pipeline with that and let us know if you still get this problem.
Best Regards,
George
George Cristian Bina
-
- Posts: 82
- Joined: Sat Jan 13, 2007 5:39 pm
- Location: Belgium
Re: Error message running xmlcalabash
Post by PaulHermans »
Hi George,
With the new connector I get
Solved.
Many thanks,
Paul
With the new connector I get
and no error message anymore.<c:body content-type="" encoding="base64" xmlns:c="http://www.w3.org/ns/xproc-step"></c:body>
Solved.
Many thanks,
Paul
Paul
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Re: Error message running xmlcalabash
Hi Paul,
Thanks for updating the post, I am happy to hear the issue is solved with the new Calabash and the new connector.
I was about to post also here the link to the updated Calabash connector
http://www.oxygenxml.com/update/calabash-oXygen.zip
Best Regards,
George
Thanks for updating the post, I am happy to hear the issue is solved with the new Calabash and the new connector.
I was about to post also here the link to the updated Calabash connector
http://www.oxygenxml.com/update/calabash-oXygen.zip
Best Regards,
George
George Cristian Bina
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service