Closed Bug 304968 Opened 20 years ago Closed 20 years ago

nodes of type xsd:decimal in ]-1;1[ interval are invalid

Categories

(Core Graveyard :: XForms, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: allan, Assigned: doronr)

References

()

Details

(Keywords: fixed1.8, testcase)

Attachments

(2 files)

Attached file Testcase
known issue, its fixed in my tree already :)
Status: UNCONFIRMED → NEW
Ever confirmed: true
(In reply to comment #2) > known issue, its fixed in my tree already :) Ah, then it's not a bug I guess. My bad for not checking your tree first ;-)
Attached patch patchSplinter Review
Since this is annoying, putting a patch here. basically, someone contributed a patch that added leading 0 stripping, but the code doesn't take 000.23 into consideration, and returned .23, which is invalid. Therefore, if the decimal part is all zeros, we set it to "0".
Attachment #199208 - Flags: review?(peterv)
Attachment #199208 - Flags: superreview+
Attachment #199208 - Flags: review?(peterv)
Attachment #199208 - Flags: review+
checked into trunk
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment on attachment 199208 [details] [diff] [review] patch a=mkaply
Attachment #199208 - Flags: approval1.8rc1+
checked into branch
Keywords: fixed1.8
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: