Closed
Bug 332221
Opened 18 years ago
Closed 18 years ago
undefined @step should be "1" for xsd:integer
Categories
(Core Graveyard :: XForms, defect)
Core Graveyard
XForms
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: allan, Assigned: allan)
References
()
Details
(Keywords: fixed1.8.0.5, fixed1.8.1)
Attachments
(1 file)
4.06 KB,
patch
|
doronr
:
review+
smaug
:
review+
|
Details | Diff | Splinter Review |
If the range is bound to xsd:integer and no step-size is given, it should be set to "1" to avoid floats. There is also a bug in that it sets it to float during incremental iirc.
Assignee | ||
Updated•18 years ago
|
Assignee: aaronr → xforms
Assignee | ||
Comment 1•18 years ago
|
||
Sets step size to 1 if bound to an xsd:integer. Also adjusts the values to the step size, if the range is incremental. The patch is really "bad" in the sense that it specifically checks for xsd:integer.... we need a schemavalidator.isDerivedFrom(type, "xsd:integer") function. Or do we have that already?
Comment 2•18 years ago
|
||
Comment on attachment 223701 [details] [diff] [review] Patch From what I understand, Aaron was working on an "isDerivedFrom" that would live in XForms, we should know more once he comes back next week.
Attachment #223701 -
Flags: review?(doronr) → review+
Assignee | ||
Comment 3•18 years ago
|
||
(In reply to comment #2) > (From update of attachment 223701 [details] [diff] [review] [edit]) > From what I understand, Aaron was working on an "isDerivedFrom" that would live > in XForms, we should know more once he comes back next week. Ok, I'll file a follow up bug (and assign it to him :-) )
Assignee | ||
Updated•18 years ago
|
Attachment #223701 -
Flags: review?(Olli.Pettay)
Updated•18 years ago
|
Attachment #223701 -
Flags: review?(Olli.Pettay) → review+
Assignee | ||
Comment 4•18 years ago
|
||
Fixed on trunk.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Whiteboard: xf-to-branch
Assignee | ||
Updated•18 years ago
|
Keywords: fixed1.8.0.5
Assignee | ||
Updated•18 years ago
|
Keywords: fixed1.8.1
Assignee | ||
Updated•18 years ago
|
Whiteboard: xf-to-branch
Updated•7 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•