<div>I'm having some (really weird) trouble, and unfortunately I'm unable to reproduce it on other computers, but here's a short pipeline:</div><div><br></div><div><?xml version="1.0" encoding="UTF-8"?></div>
<div><p:pipeline xmlns:p="<a href="http://www.w3.org/ns/xproc">http://www.w3.org/ns/xproc</a>" version="1.0"></div><div> <p:variable name="daisy-dir" select="'daisy-dir'"/></div>
<div> <p:variable name="other-dir" select="'other-dir'"/></div><div> </div><div> <p:add-attribute match="/*" attribute-name="daisy-dir"></div><div> <p:with-option name="attribute-value" select="$daisy-dir"/></div>
<div> <p:input port="source"></div><div> <p:inline></div><div> <doc/></div><div> </p:inline></div><div> </p:input></div><div> </p:add-attribute></div>
<div> <p:add-attribute match="/*" attribute-name="other-dir"></div><div> <p:with-option name="attribute-value" select="$other-dir"/></div><div> </p:add-attribute></div>
<div></p:pipeline></div><div><br></div><div>You'd expect to get:</div><div><doc daisy-dir="daisy-dir" other-dir="other-dir"/></div><div><br></div><div>But on my computer with <oXygen/> XML Editor 12.2, build 2011051714 on Ubuntu 11.04, I get:</div>
<div><doc daisy-dir="" other-dir="other-dir"/></div><div><br></div><div>This only happens in oXygen on my Ubuntu though, not if I run calabash from the command line in Ubuntu or oXygen in Windows; so I don't know how to reproduce the problem on other computers.</div>
<div><br></div><div>If I rename the variable from "daisy-dir" to something else, it works. So for some reason, the oXygen installation is ignoring variables that are called "daisy-dir" all of a sudden... I changed it to "input-dir" and it worked for a while, but after a few minutes, oXygen started ignoring variables with that name as well. Doing a "find | xargs grep -i daisy 2>/dev/null" in the oxygen directory gives no relevant hits, so I'm not sure how to debug this further... Is there any logfiles I can provide?</div>
<div><br></div><div>I have a hunch that it may have to do with variables and options having the same name across files/steps (example below), and how that's stored internally in either oxygen or calabash, but I'm really not sure. I do this in the pipeline I'm trying to run, but when the option name stops working - it stops working in all pipelines.</div>
<div><br></div><div><p:variable name="input-dir" select="'something'"/></div><div>...</div><div><p:with-option name="input-dir" select="$input-dir"/></div><div>
<br>
</div><div><br></div><div>Regards</div><div>Jostein</div>