nsXFormsModelElement::ValidateNode() wrongly assumes simple type

RESOLVED FIXED

Status

Core Graveyard
XForms
RESOLVED FIXED
10 years ago
10 months ago

People

(Reporter: Steve Speicher, Assigned: Steve Speicher)

Tracking

({fixed1.8.0.12, fixed1.8.1.4})

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

2.45 KB, application/xhtml+xml
Details
4.90 KB, patch
Doron Rosenberg (IBM)
: review+
aaronr
: review+
Details | Diff | Splinter Review
(Assignee)

Description

10 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a3pre) Gecko/20070305 Minefield/3.0a3pre
Build Identifier: 

This ValidateNode() is invoked when submission is called and MDG computes node states, ie valid.  If node has complex content, then it never validates as simple type handling treats as unknown schema type.

This is fairly major, as it blocks submission even when content is valid.

Reproducible: Always
(Assignee)

Comment 1

10 years ago
Created attachment 259797 [details]
test case
(Assignee)

Comment 2

10 years ago
Created attachment 259798 [details] [diff] [review]
patch

I also fixed a couple misuses of namespace constants in validator.  It was using XSD namespace and not XSI, so it was wrongly looking for xsd:type.
Attachment #259798 - Flags: review?(doronr)

Updated

10 years ago
Attachment #259798 - Flags: review?(doronr) → review+
(Assignee)

Updated

10 years ago
Attachment #259798 - Flags: review?(aaronr)

Updated

10 years ago
Attachment #259798 - Flags: review?(aaronr) → review+

Updated

10 years ago
Assignee: xforms → sspeiche
Status: UNCONFIRMED → NEW
Ever confirmed: true

Comment 3

10 years ago
checked into trunk for sspeiche
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
Whiteboard: xf-to-branch

Comment 4

10 years ago
checked into 1.8 branch on 2007-04-12
checked into 1.8.0 branch on 2007-04-16
Keywords: fixed1.8.0.12, fixed1.8.1.4
Whiteboard: xf-to-branch
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.