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)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: doronr, Assigned: allan)
Details
Attachments
(1 file)
3.41 KB,
patch
|
doronr
:
review+
|
Details | Diff | Splinter Review |
It does work if constraint=". > 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=". > 10"
required="true()"/>
Assignee | ||
Comment 1•20 years ago
|
||
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)
Assignee | ||
Updated•20 years ago
|
Status: NEW → ASSIGNED
Reporter | ||
Comment 2•20 years ago
|
||
Comment on attachment 172540 [details] [diff] [review]
Fix
looks good. r=doron
Attachment #172540 -
Flags: review?(doronr) → review+
Assignee | ||
Comment 3•20 years ago
|
||
Checked in to trunk.
Assignee | ||
Updated•20 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•