Closed Bug 279936 Opened 20 years ago Closed 20 years ago

Bind with type="xsd:integer" required="true()", and that instance data changes, only eModel_required is handled, not eModel_constraint

Categories

(Core Graveyard :: XForms, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: doronr, Assigned: allan)

Details

Attachments

(1 file)

It does work if constraint=". &gt; 10" is set on the bind. So this doesn't: <xforms:bind id="bindrequired" nodeset="/values/value" type="xsd:integer" required="true()"/> but this does: <xforms:bind id="bindrequired" nodeset="/values/value" type="xsd:integer" constraint=". &gt; 10" required="true()"/>
Attached patch FixSplinter Review
The model now informs now informs the MDG about the presence of the type constraint. (I've also removed an invalid comment and an unnecessary type-cast.)
Attachment #172540 - Flags: review?(doronr)
Status: NEW → ASSIGNED
Comment on attachment 172540 [details] [diff] [review] Fix looks good. r=doron
Attachment #172540 - Flags: review?(doronr) → review+
Checked in to trunk.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: