[Xsltforms-support] delete attribute strange behavior (Bug)
Brought to you by:
alain-couthures
From: Christian M. <chr...@mu...> - 2010-04-09 13:04:43
|
Hi I have an xform generated with xslt from an schema and I experience a strange beheaviour (Bug) with the delete element. <xf:trigger ref=".[index('N10000N10000N10AC1N10C45')]/@rgkmax" id="./@rgkmax"> <xf:label>del</xf:label> <xf:delete ev:event="DOMActivate" nodeset="@rgkmax" context=".."/> </xf:trigger> This action deletes an attribute from the context node inside a repeat element. It works for all attributes except for those which occur multiple times in the model. That means for an attribute which also is attribute in an other, different element (different name), the script fails when I click the delete button and crashes with "Uncaught undefined" xsltforms.js:861 I use revision 360 I guess that the relative resolving of the attribute xpath fails cheers |