Closed Bug 349810 Opened 18 years ago Closed 9 years ago

Enable complex schema validation on node

Categories

(Core Graveyard :: XForms, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: aaronr, Unassigned)

Details

We need to incorporate the latest erratum on how to validate a node that is bound to a complex schema type. This is spelled out at: http://www.w3.org/2006/03/REC-xforms-20060314-errata.html#E10 Related to this, we need to figure out a way to attach a complex schema type to an instance node even if there is no schema type name. For example: <xsd:element name="population"> <xsd:complexType> <xsd:simpleContent> <xsd:extension base="xsd:integer"> <xsd:attribute name="year" type="xsd:gYear"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> </xsd:element> If we have an element with the name of population in our instance doucment, we have to validate it against these rules, but I can't think of an easy way to remember that there is a complex schema type for this element or how to easily track down the rules in a schema document.
RIP xforms
Status: NEW → 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.