- From: Loren Cahlander <Loren.Cahlander@bcbsnc.com>
- Date: Mon, 17 Nov 2014 10:20:04 -0500
- To: Loren Cahlander <loren.cahlander@gmail.com>, "xproc-dev@w3.org" <xproc-dev@w3.org>
- Message-ID: <E511F20AE33020408762F035DD436AC1060AB649E2@SVWCMP013.bcbsnc.com>
I am using xmlcalabash-saxon94-1.0.14-SNAPSHOT that is part of the eXist-db XProc-0.1.6 EXPath module installing XML Calabash in eXist-db. I am trying to store the resulting file into the eXist-db database. I tried using the XProc library at https://github.com/jsulak/eXist-XProc-Library But got the following error: err:XS0032 : Input source unbound on p:error step named !1.21.6.2.1.1.1 and no default binding available. (It is a static error if no connection is provided and the default readable port is undefined.) <p:declare-step xmlns:c="http://www.w3.org/ns/xproc-step" xmlns:p="http://www.w3.org/ns/xproc" xmlns:ex="http://www.wordsinboxes.com/xproc/exist" version="1.0"> <p:import href="file:///C:/Users/u219468/Downloads/eXist.xpl"/> <p:input port="source"> <p:document href="http://localhost:18080/exist/rest/db/myxproc/BookStore.xml"/> </p:input> <p:output port="result"> <p:pipe port="result" step="myStore"/> </p:output> <p:rename match="BookStore/Book/Date" new-name="Year"/> <ex:store href="http://localhost:18080/exist/rest/db/myxproc" user="user" password="pass" resource="test.xml" name="myStore"/> </p:declare-step> I also tried: <p:declare-step xmlns:c="http://www.w3.org/ns/xproc-step" xmlns:p="http://www.w3.org/ns/xproc" version="1.0"> <p:input port="source"> <p:document href="http://localhost:18080/exist/rest/db/myxproc/BookStore.xml"/> </p:input> <p:output port="result"> <p:inline> <c:request method="put" href="http://localhost:18080/exist/rest/db/myxproc/test.xml" username="user" password="pass" auth-method="Basic"/> </p:inline> </p:output> <p:rename match="BookStore/Book/Date" new-name="Year"/> </p:declare-step> And get the validation error: E [Calabash XProc] err:XS0006 : Unbound primary output port on last step: !1 It is a static error if the primary output port has no explicit connection and the last step in the subpipeline does not have a primary output port. What am I missing? Loren Cahlander | Sr. XML/Integration Architect (m) 651-747-6910 | loren.cahlander@bcbsnc.com<mailto:loren.cahlander@bcbsnc..com> [cid:image001.png@01D0024E.2E18B460] Blue Cross and Blue Shield of North Carolina ________________________________ Confidentiality Notice: This message is intended only for the use of the individual or entity to which it is addressed. This communication may contain individual protected health information ("PHI") that is subject to protection under state and federal laws, or other privileged, confidential or proprietary information of Blue Cross and Blue Shield of North Carolina that may not be further disclosed. If you are not the intended recipient, or the employee or agent responsible for delivering this communication to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to this message and deleting it from your computer. Thank you.
Attachments
- image/png attachment: image001.png
Received on Monday, 17 November 2014 17:50:09 UTC