User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:184.108.40.206) Gecko/20060508 Firefox/220.127.116.11
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:18.104.22.168) Gecko/20060508 Firefox/22.214.171.124
<bind nodeset="/path/to/@attribute" relevant="false()" />
fails to inhibit serialization of the specified attribute.
Steps to Reproduce:
See attached testcase which shows that attribute notes with relevant=false() are serialized, but element nodes with relevant=false() are not.
Spec reference http://www.w3.org/TR/xforms/slice11.html#submit-event bullet item 1:
Any node which is considered not relevant as defined in "6.1.4 The relevant Property" is removed.
Created attachment 226429 [details]
relevant=false() on attributes and elements in submission
When relevant is attached to an attribute, it still shows up in submission.
When relevant is attached to an element, it does not show up in submission.
this can probably be fixed somewhere between nsXFormsSubmissionElement::CopyChildren or nsXFormsModelElement::HandleInstanceDataNode
Created attachment 227379 [details]
Updated testcase text to be more descriptive
Created attachment 227394 [details] [diff] [review]
checked into trunk
checked into 1.8.0 branch on 2006/09/21
checked into 1.8 branch on 2006/11/21