Closed Bug 362839 Opened 18 years ago Closed 17 years ago

Valid XSD dateTime values are rejected

Categories

(Core Graveyard :: XForms, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 393057

People

(Reporter: js177634, Unassigned)

Details

Attachments

(2 files)

522 bytes, application/xml
Details
1.93 KB, application/xhtml+xml
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20061205 Minefield/3.0a1 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20061205 Minefield/3.0a1 According what I ready from the XSD specification, 2006-01-01T00:00:00 (note the lacking Z at the end) is a valid dateTime value which simply doesn't include timezone information, e.g. for local times only. The XForms extension will reject such times and only parse them if they have 'Z' appended to the end, which means UTC timezone. Reproducible: Always Steps to Reproduce: In the attached file, try to add 'Z' and remove it again to see what the error console does.
Attached file Testcase
Err, that should be in the Core/XForms category. I just cannot figure out how to tell Bugzilla to get this right.
Component: General → XForms
Product: Firefox → Core
Version: unspecified → Trunk
Assignee: nobody → xforms
QA Contact: general → spride
Attached file testcase2
This testcase shows the same problem. But unlike the first testcase, this schema definition works on XSmiles. XSmiles agrees with Josef :-)
Josef, we ended up fixing this under 393057. It will be in the next release of xforms.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
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: