Closed Bug 393057 Opened 17 years ago Closed 17 years ago

valid xsd:dateTime values being marked invalid

Categories

(Core Graveyard :: XForms, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: aaronr, Assigned: msterlin)

References

Details

(Keywords: fixed1.8.1.12)

Attachments

(2 files)

Attached file testcase
If I bind a range or an input to a valid xsd:dateTime value, the controls get marked invalid.  I tried the testcase under Novell and formsPlayer and they both handle the testcase correctly.  I guess we screwed up something somewhere because this worked not too long ago.  Happens on both trunk and branch.
Attached patch patchSplinter Review
nsSchemaValidatorUtils::ParseSchemaTime does not check if the end of the buffer has been reached after parsing the second digit of the seconds.
Attachment #291969 - Flags: review?(doronr)
Attachment #291969 - Flags: review?(doronr) → review+
Attachment #291969 - Flags: review?(Olli.Pettay)
Attachment #291969 - Flags: review?(Olli.Pettay) → review+
Assignee: nobody → msterlin
Blocks: 410239
checked into trunk for msterlin
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Whiteboard: xf-to-branch
checked into 1.8 branch for msterlin
Keywords: fixed1.8.1.12
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: