Closed Bug 332221 Opened 19 years ago Closed 19 years ago

undefined @step should be "1" for xsd:integer

Categories

(Core Graveyard :: XForms, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: allan, Assigned: allan)

References

()

Details

(Keywords: fixed1.8.0.5, fixed1.8.1)

Attachments

(1 file)

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: aaronr → xforms
Attached patch PatchSplinter Review
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?
Assignee: xforms → allan
Status: NEW → ASSIGNED
Attachment #223701 - Flags: review?(doronr)
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+
(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 :-) )
Attachment #223701 - Flags: review?(Olli.Pettay)
Blocks: 339660
Attachment #223701 - Flags: review?(Olli.Pettay) → review+
Fixed on trunk.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Whiteboard: xf-to-branch
Keywords: fixed1.8.0.5
Keywords: fixed1.8.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.

Attachment

General

Creator:
Created:
Updated:
Size: