
Hi, I am not Calabash/oXygen expert, but these are a couple of things that I would try: - Put cx:message steps in your pipeline to see where exactly it goes wrong (maybe already when passing input data to the main pipeline?) - Czech the differences in the current working dir, maybe it is different in the two oXygen instances on the laptop and the desktop and somehow this breaks the Calabash/oXygen integration? - Instead of using raw Windows paths, you could try using file URIs such as file:///C:/Projects/... and see if that changes anything Regards, Vojtech -- Vojtech Toman Consultant Software Engineer EMC | Information Intelligence Group vojtech.toman@emc.com http://developer.emc.com/xmltech
-----Original Message----- From: oxygen-user-bounces@oxygenxml.com [mailto:oxygen-user- bounces@oxygenxml.com] On Behalf Of Betty Harvey Sent: Friday, August 13, 2010 11:00 PM To: oXygen-user@oxygenxml.com Subject: [oXygen-user] Strange XProc/Oxygen Issue
I have an XProc script (copied below) that works on oXygen on my Laptop. When I tried running the script on my desktop computer I get the following error:
"SystemID: C:\Projects\NARA\Arc-to-ACE\allRecords\1\test.xpl Engine name: Calabash XProc Severity: error Description: XD0006 : 0 documents appear on the 'source' port. If sequence is not specified, or has the value false, then it is a dynamic error unless exactly one document appears on the declared port. URL: http://www.w3.org/TR/xproc/#err.D0006"
On the desktop I was running from an external disk but copied the environment to the same environment (C drive) on my desktop and had the same errors.
Laptop Computer Configuration (works): Oxygen 11.2, build 2010041213 Windows Vista/Service Pack 2 4 GB 64 Bit Operating System Desktop Computer Configuration (does not work): Oxygen 11.2, build 2010080212 (downloaded new copy today) Windows Visa/Service Pack 2 3 GB 32 bit Operating System
I am not sure where to look for answers at this point. Thanks!
<?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:output port="result" sequence="true"/>
<p:directory-list name="list" include-filter=".*\.xml" path="."/>
<p:for-each> <p:output port="result"> <p:pipe port="result" step="write2file"/> </p:output>
<p:iteration-source select="/c:directory/c:file"/>
<p:variable name="file" select="/c:file/@name"/>
<p:load> <p:with-option name="href" select="$file"/> </p:load>
<p:xslt name="xsd-flatten"> <p:input port="source"/> <p:input port="stylesheet"> <p:document href="../../ConvertARC-to-ACE.xsl"/> </p:input>
<p:input port="parameters"> <p:empty/> </p:input> </p:xslt>
<p:store name="write2file"> <p:with-option name="href" select="concat('../../SampleACE/1/', $file,'.xml')"/> <p:input port="source"/> </p:store>
</p:for-each>
</p:declare-step>
Betty
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ Betty Harvey | Phone: 410-787-9200 FAX: 9830 Electronic Commerce Connection, Inc. | harvey@eccnet.com | Washington,DC XML Users Grp URL: http://www.eccnet.com | http://www.eccnet.com/xmlug/ /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/ Member of XML Guild (www.xmlguild.org) _______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user