That's right, this is a bug. I added an entry in Bugzilla and we'll try to fix this for the next release. Thank you for reporting this.
http://athlon.orbeon.com/webtools/bugzilla/show_bug.cgi?id=1219
Alex
Damon Rand wrote:
Hi there,
I think there is a namespace error here..
This works fine..
<p:processor uri="oxf/processor/xupdate">
<p:input name="config">
<xu:modifications xmlns:xu="http://www.xmldb.org/xupdate" xmlns:dxl="http://www.lotus.com/dxl">
<xu:update select="/mediaitem/document">
<xu:attribute name="id">
<xu:value-of select="document('#notesmediaitem')//@version"/>
</xu:attribute>
</xu:update>
</xu:modifications>
</p:input>
<p:input name="data" href="#initial"/>
<p:input name="notesmediaitem" href="#notesmediaitem"/>
<p:output name="data" id="final"/>
</p:processor>
But this doesn't
<p:processor uri="oxf/processor/xupdate"> <p:input name="config"> <xu:modifications xmlns:xu="http://www.xmldb.org/xupdate" xmlns:dxl="http://www.lotus.com/dxl"> <xu:update select="/mediaitem/document"> <xu:attribute name="id"> <xu:value-of select="document('#notesmediaitem')/dxl:document/@version"/> </xu:attribute> </xu:update> </xu:modifications> </p:input> <p:input name="data" href="#initial"/> <p:input name="notesmediaitem" href="#notesmediaitem"/> <p:output name="data" id="final"/> </p:processor>
Input is:
<?xml version="1.0" encoding="utf-8"?> <document xmlns="http://www.lotus.com/dxl" version="1.01" form="document"/>
Damon. _______________________________________________ oxf-users mailing list [EMAIL PROTECTED] http://mail.orbeon.com/mailman/listinfo/oxf-users
_______________________________________________ oxf-users mailing list [EMAIL PROTECTED] http://mail.orbeon.com/mailman/listinfo/oxf-users
