張貼日期:Sep 25, 2011 6:4:7 AM
<restriction base="xs:anyType"> <---- perant type
<xsd:element name=”Insurance” type =” InsuranceCT”
abstract=”true”> <--- only for Substitution. can't use in instance
Major new features
Assertions (co-constraints) <---- test and validate the context in elements.
let the element can be same but different data type.
Open Content Model
Version Control
Wildcards
<xs:any minOccurs="0" maxOccurs="unbounded"
processContents="lax" notQName="##definedSibling"/> <-- no subelement or att used in prev element
Schema wide attributes
Schematron
Validate element to other element and print the error msg
New Datatypes
Eg Date precision
Schema design
Russian Doll <-- all element
single global element that nests local elements
Salami Slice <-- all ref
all defined globally then referenced
Venetian Blind <-- complex type <--- better for assignemnt
single global element and global types
Garden of Eden <--- mix
combination of the Venetian Blind and Salami
UML