[XForms] Elements with xsi:type are not validated on form load. Bug 332803, r=doronr+aaronr
git-svn-id: svn://10.0.0.236/trunk@198252 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
ec322f8e47
commit
d52478df44
@ -869,6 +869,11 @@ nsXFormsMDGEngine::GetNCNodeState(nsIDOMNode *aContextNode)
|
||||
return nsnull;
|
||||
}
|
||||
aContextNode->AddRef();
|
||||
|
||||
// Do an initial type check, and set the validity state
|
||||
PRBool constraint;
|
||||
mModel->ValidateNode(aContextNode, &constraint);
|
||||
ns->Set(eFlag_CONSTRAINT_SCHEMA, constraint);
|
||||
}
|
||||
return ns;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user