bind/@relevant fails to apply to attribute serialization

RESOLVED FIXED

Status

Core Graveyard
XForms
RESOLVED FIXED
11 years ago
a year ago

People

(Reporter: Leigh L. Klotz, Jr., Assigned: aaronr)

Tracking

({fixed1.8.0.8, fixed1.8.1.1})

Trunk
fixed1.8.0.8, fixed1.8.1.1

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments, 1 obsolete attachment)

1.00 KB, application/xhtml+xml
Details
3.41 KB, patch
smaug
: review+
Doron Rosenberg (IBM)
: review+
Details | Diff | Splinter Review
(Reporter)

Description

11 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4

<bind nodeset="/path/to/@attribute" relevant="false()" />
fails to inhibit serialization of the specified attribute.

Reproducible: Always

Steps to Reproduce:
See attached testcase which shows that attribute notes with relevant=false() are serialized, but element nodes with relevant=false() are not.
(Reporter)

Comment 1

11 years ago
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.
(Reporter)

Comment 2

11 years ago
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.
(Assignee)

Updated

11 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true
(Assignee)

Comment 3

11 years ago
this can probably be fixed somewhere between nsXFormsSubmissionElement::CopyChildren or nsXFormsModelElement::HandleInstanceDataNode
(Assignee)

Updated

11 years ago
Blocks: 326372
(Assignee)

Comment 4

11 years ago
Created attachment 227379 [details]
testcase updated

Updated testcase text to be more descriptive
Attachment #226429 - Attachment is obsolete: true
(Assignee)

Comment 5

11 years ago
Created attachment 227394 [details] [diff] [review]
patch
Attachment #227394 - Flags: review?(Olli.Pettay)
(Assignee)

Updated

11 years ago
Attachment #227394 - Flags: review?(doronr)
(Assignee)

Updated

11 years ago
Status: NEW → ASSIGNED
(Assignee)

Updated

11 years ago
Assignee: xforms → aaronr
Status: ASSIGNED → NEW
(Assignee)

Updated

11 years ago
Status: NEW → ASSIGNED

Updated

11 years ago
Attachment #227394 - Flags: review?(doronr) → review+
Attachment #227394 - Flags: review?(Olli.Pettay) → review+
(Assignee)

Comment 6

11 years ago
checked into trunk
Status: ASSIGNED → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED
Whiteboard: xf-to-branch
(Assignee)

Comment 7

11 years ago
checked into 1.8.0 branch on 2006/09/21
Flags: blocking1.7.14?
Keywords: fixed1.8.0.8
(Assignee)

Updated

11 years ago
Flags: blocking1.7.14?
(Assignee)

Comment 8

11 years ago
checked into 1.8 branch on 2006/11/21
Keywords: fixed1.8.1.1
Whiteboard: xf-to-branch
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.