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)
Core Graveyard
XForms
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: allan, Assigned: doronr)
References
()
Details
(Keywords: fixed1.8, testcase)
Attachments
(2 files)
|
1.51 KB,
application/xhtml+xml
|
Details | |
|
1.37 KB,
patch
|
peterv
:
review+
peterv
:
superreview+
mkaply
:
approval1.8rc1+
|
Details | Diff | Splinter Review |
| Reporter | ||
Comment 1•20 years ago
|
||
| Assignee | ||
Comment 2•20 years ago
|
||
known issue, its fixed in my tree already :)
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Reporter | ||
Comment 3•20 years ago
|
||
(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 ;-)
| Assignee | ||
Comment 4•20 years ago
|
||
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".
| Assignee | ||
Updated•20 years ago
|
Attachment #199208 -
Flags: review?(peterv)
Updated•20 years ago
|
Attachment #199208 -
Flags: superreview+
Attachment #199208 -
Flags: review?(peterv)
Attachment #199208 -
Flags: review+
| Assignee | ||
Comment 5•20 years ago
|
||
checked into trunk
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment 6•20 years ago
|
||
Comment on attachment 199208 [details] [diff] [review]
patch
a=mkaply
Attachment #199208 -
Flags: approval1.8rc1+
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•