Closed Bug 370298 Opened 18 years ago Closed 9 years ago

Submission failing due to validation issues, even when there are none.

Categories

(Core Graveyard :: XForms, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: sspeiche, Unassigned)

Details

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a3pre) Gecko/20070211 Minefield/3.0a3pre Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a3pre) Gecko/20070211 Minefield/3.0a3pre When a model has no associated schema but the instance document has some nodes with xsi:type, submission is failing indicating that the node is invalid (but control is not marked invalid) Reproducible: Always
Attached file testcase
I took trunk and applied bug 310962 patch attachment 253149 [details] [diff] [review] and verified that this fix it's associated test case but not this one, if there was a chance. This test case works (submits and data is valid) using XSmiles.
In this testcase, just a simple type restriction on date can't be resolved but the control is marked invalid on load.
Debugged this a bit. Has to do with the fact that the schema referenced by xsi:type can't be resolved since it is not listed on the model's @schema tag. This could go away if we infer the instance's schema from xsi:schemaLocation .
RIP xforms
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
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: