W3C

Examples

Example Schemas

ExamplePatternExpected
Status
Detected
Status
TargetNamespaceTargetNamespacebasicbasic
NoTargetNamespaceNoTargetNamespacependingpending
QualifiedLocalElementsQualifiedLocalElementsbasicbasic
UnqualifiedLocalAttributesUnqualifiedLocalAttributesbasicbasic
SchemaVersionSchemaVersionbasicbasic
FinalDefaultFinalDefaultbasicbasic
BlockDefaultBlockDefaultbasicbasic
AnySimpleTypeElementAnySimpleTypeElementpendingpending
AnyTypeElementAnyTypeElementadvancedadvanced
ImportSchemaNamespaceImportSchemaNamespaceadvancedadvanced
DocumentationElementDocumentationElementbasicbasic
IdentifierNameIdentifierNamebasicbasic
NonIdentifierNameNonIdentifierNamebasicbasic
StringElementStringElementbasicbasic
StringAttributeStringAttributebasicbasic
BooleanElementBooleanElementbasicbasic
BooleanAttributeBooleanAttributebasicbasic
DecimalElementDecimalElementadvancedadvanced
DecimalAttributeDecimalAttributeadvancedadvanced
FloatElementFloatElementadvancedadvanced
FloatAttributeFloatAttributeadvancedadvanced
DoubleElementDoubleElementbasicbasic
DoubleAttributeDoubleAttributebasicbasic
DurationElementDurationElementadvancedadvanced
DurationAttributeDurationAttributeadvancedadvanced
DateTimeElementDateTimeElementbasicbasic
DateTimeAttributeDateTimeAttributebasicbasic
TimeElementTimeElementadvancedadvanced
TimeAttributeTimeAttributeadvancedadvanced
DateElementDateElementadvancedadvanced
DateAttributeDateAttributeadvancedadvanced
GYearMonthElementGYearMonthElementadvancedadvanced
GYearMonthAttributeGYearMonthAttributeadvancedadvanced
GYearElementGYearElementadvancedadvanced
GYearAttributeGYearAttributeadvancedadvanced
GMonthDayElementGMonthDayElementadvancedadvanced
GMonthDayAttributeGMonthDayAttributeadvancedadvanced
GDayElementGDayElementadvancedadvanced
GDayAttributeGDayAttributeadvancedadvanced
GMonthElementGMonthElementadvancedadvanced
GMonthAttributeGMonthAttributeadvancedadvanced
HexBinaryElementHexBinaryElementpendingpending
HexBinaryAttributeHexBinaryAttributependingpending
Base64BinaryElementBase64BinaryElementbasicbasic
Base64BinaryAttributeBase64BinaryAttributeadvancedadvanced
AnyURIElementAnyURIElementbasicbasic
AnyURIAttributeAnyURIAttributebasicbasic
QNameElementQNameElementbasicbasic
QNameAttributeQNameAttributebasicbasic
NormalizedStringElementNormalizedStringElementbasicbasic
NormalizedStringAttributeNormalizedStringAttributebasicbasic
TokenElementTokenElementbasicbasic
TokenAttributeTokenAttributebasicbasic
LanguageElementLanguageElementadvancedadvanced
LanguageAttributeLanguageAttributeadvancedadvanced
NMTOKENElementNMTOKENElementadvancedadvanced
NMTOKENAttributeNMTOKENAttributeadvancedadvanced
NMTOKENSElementNMTOKENSElementadvancedadvanced
NMTOKENSAttributeNMTOKENSAttributeadvancedadvanced
NameElementNameElementbasicbasic
NameAttributeNameAttributebasicbasic
NCNameElementNCNameElementbasicbasic
NCNameAttributeNCNameAttributebasicbasic
IDElementIDElementadvancedadvanced
IDAttributeIDAttributeadvancedadvanced
IDREFElementIDREFElementadvancedadvanced
IDREFAttributeIDREFAttributeadvancedadvanced
IDREFSElementIDREFSElementadvancedadvanced
IDREFSAttributeIDREFSAttributeadvancedadvanced
ENTITYElementENTITYElementadvancedadvanced
ENTITYAttributeENTITYAttributeadvancedadvanced
ENTITIESElementENTITIESElementadvancedadvanced
ENTITIESAttributeENTITIESAttributeadvancedadvanced
IntegerElementIntegerElementadvancedadvanced
IntegerAttributeIntegerAttributeadvancedadvanced
NonPositiveIntegerElementNonPositiveIntegerElementadvancedadvanced
NonPositiveIntegerAttributeNonPositiveIntegerAttributeadvancedadvanced
NegativeIntegerElementNegativeIntegerElementadvancedadvanced
LongElementLongElementbasicbasic
LongAttributeLongAttributebasicbasic
IntElementIntElementbasicbasic
IntAttributeIntAttributebasicbasic
ShortElementShortElementbasicbasic
ShortAttributeShortAttributebasicbasic
ByteElementByteElementbasicbasic
ByteAttributeByteAttributebasicbasic
NonNegativeIntegerElementNonNegativeIntegerElementadvancedadvanced
NonNegativeIntegerAttributeNonNegativeIntegerAttributeadvancedbasicbasic
UnsignedLongElementUnsignedLongElementadvancedadvanced
UnsignedLongAttributeUnsignedLongAttributeadvancedadvanced
UnsignedIntElementUnsignedIntElementadvancedadvanced
UnsignedIntAttributeUnsignedIntAttributeadvancedadvanced
UnsignedShortElementUnsignedShortElementadvancedadvanced
UnsignedShortAttributeUnsignedShortAttributeadvancedadvanced
NegativeIntegerAttributeNegativeIntegerAttributeadvancedadvanced
UnsignedByteElementUnsignedByteElementadvancedadvanced
UnsignedByteAttributeUnsignedByteAttributeadvancedadvanced
PositiveIntegerElementPositiveIntegerElementbasicbasic
PositiveIntegerAttributePositiveIntegerAttributebasicbasic
GlobalSimpleTypeGlobalSimpleTypebasicbasic
StringEnumerationTypeStringEnumerationTypebasicbasic
NMTOKENEnumerationTypeNMTOKENEnumerationTypeadvancedadvanced
IntEnumerationTypeIntEnumerationTypeadvancedadvanced
ShortEnumerationTypeShortEnumerationTypeadvancedadvanced
LongEnumerationTypeLongEnumerationTypeadvancedadvanced
DoubleEnumerationTypeDoubleEnumerationTypeadvancedadvanced
IntegerEnumerationTypeIntegerEnumerationTypeadvancedadvanced
DecimalEnumerationTypeDecimalEnumerationTypeadvancedadvanced
FloatEnumerationTypeFloatEnumerationTypeadvancedadvanced
NonNegativeIntegerEnumerationTypeNonNegativeIntegerEnumerationTypeadvancedadvanced
PositiveIntegerEnumerationTypePositiveIntegerEnumerationTypeadvancedadvanced
UnsignedLongEnumerationTypeUnsignedLongEnumerationTypeadvancedadvanced
UnsignedIntEnumerationTypeUnsignedIntEnumerationTypeadvancedadvanced
UnsignedShortEnumerationTypeUnsignedShortEnumerationTypeadvancedadvanced
TokenEnumerationTypeTokenEnumerationTypeadvancedadvanced
ComplexTypeSequenceComplexTypeSequencebasicbasic
ComplexTypeAllComplexTypeAlladvancedadvanced
ComplexTypeChoiceComplexTypeChoiceadvancedadvanced
ComplexTypeSequenceChoiceComplexTypeSequenceChoiceadvancedadvanced
ElementMinOccurs1ElementMinOccurs1basicbasic
ElementMinOccurs2MaxOccurs2ElementMinOccurs2MaxOccurs2advancedadvanced
ElementMinOccurs2orMoreElementMinOccurs2orMoreadvancedadvanced
ElementMaxOccurs1ElementMaxOccurs1basicbasic
ElementMaxOccursUnboundedElementMaxOccursUnboundedbasicbasic
ElementMaxOccursFiniteElementMaxOccursFiniteadvancedadvanced
AttributeOptionalAttributeOptionalbasicbasic
AttributeRequiredAttributeRequiredadvancedadvanced
AttributeFixedAttributeFixedadvancedadvanced
AttributeDefaultAttributeDefaultadvancedadvanced
GlobalElementDefaultGlobalElementDefaultadvancedadvanced
LocalElementDefaultLocalElementDefaultadvancedadvanced
ElementMinOccurs0ElementMinOccurs0basicbasic
NillableElementNillableElementbasicbasic
NillableOptionalElementNillableOptionalElementadvancedadvanced
UnionMemberTypesUnionMemberTypesadvancedadvanced
UnionDateStringUnionDateStringadvancedadvanced
UnionSimpleDateStringUnionSimpleDateStringadvancedpending
NullEnumerationTypeNullEnumerationTypebasicbasic
ElementEmptyComplexTypeElementEmptyComplexTypebasicbasic
ElementEmptySequenceElementEmptySequencebasicbasic
GlobalElementSequenceGlobalElementSequencebasicbasic
SequenceElementListSequenceElementListbasicbasic
NestedSequenceElementListNestedSequenceElementListbasicbasic
MixedContentTypeMixedContentTypeadvancedadvanced
StringSimpleTypePatternStringSimpleTypePatternadvancedadvanced
IntSimpleTypePatternIntSimpleTypePatternadvancedadvanced
IntegerSimpleTypePatternIntegerSimpleTypePatternadvancedadvanced
LongSimpleTypePatternLongSimpleTypePatternadvancedadvanced
DecimalSimpleTypePatternDecimalSimpleTypePatternadvancedadvanced
FloatSimpleTypePatternFloatSimpleTypePatternadvancedadvanced
DoubleSimpleTypePatternDoubleSimpleTypePatternadvancedadvanced
ShortSimpleTypePatternShortSimpleTypePatternadvancedadvanced
NonNegativeIntegerSimpleTypePatternNonNegativeIntegerSimpleTypePatternadvancedadvanced
PositiveIntegerSimpleTypePatternPositiveIntegerSimpleTypePatternadvancedadvanced
UnsignedLongSimpleTypePatternUnsignedLongSimpleTypePatternadvancedadvanced
UnsignedIntSimpleTypePatternUnsignedIntSimpleTypePatternadvancedadvanced
UnsignedShortSimpleTypePatternUnsignedShortSimpleTypePatternadvancedadvanced
DateSimpleTypePatternDateSimpleTypePatternadvancedadvanced
RestrictedMinInclusiveRestrictedMinInclusiveadvancedadvanced
RestrictedMaxInclusiveRestrictedMaxInclusiveadvancedadvanced
RestrictedMinExclusiveRestrictedMinExclusiveadvancedadvanced
RestrictedMaxExclusiveRestrictedMaxExclusiveadvancedadvanced
RestrictedLengthRestrictedLengthadvancedadvanced
RestrictedMaxLengthRestrictedMaxLengthadvancedadvanced
RestrictedMinLengthRestrictedMinLengthadvancedadvanced
AnyAttributeStrictAnyAttributeStrictadvancedadvanced
AnyAttributeSkipAnyAttributeSkipadvancedadvanced
AnyAttributeLaxAnyAttributeLaxadvancedadvanced
ElementReferenceElementReferencebasicbasic
AttributeReferenceAttributeReferencebasicbasic
AttributeElementNameClashAttributeElementNameClashadvancedadvanced
ExtendedSequenceStrictExtendedSequenceStrictadvancedadvanced
ExtendedSequenceLaxExtendedSequenceLaxadvancedadvanced
ExtendedSequenceSkipExtendedSequenceSkipadvancedadvanced
ElementTypeDefaultNamespaceElementTypeDefaultNamespaceadvancedadvanced
RestrictedStringMinLengthRestrictedStringMinLengthadvancedadvanced
RestrictedStringMaxLengthRestrictedStringMaxLengthadvancedadvanced
RestrictedStringMinMaxLengthRestrictedStringMinMaxLengthadvancedadvanced
BareVectorbasic
ComplexTypeSequenceExtensionComplexTypeSequenceExtensionbasicbasic
TypeSubstitutionUsingXsiTypebasic
IncludeRelativebasic
IncludeIncludebasicbasic
SimpleTypeAttributesadvanced
ChameleonIncludebasic
PrecisionDecimalPrecisionDecimalpendingpending
ExtendedSimpleTypeadvanced
SOAPEncodedArraySOAPEncodedArraypendingpending
SequenceMinOccurs1SequenceMinOccurs1basicbasic
SequenceMinOccursFiniteSequenceMinOccursFiniteadvancedadvanced
SequenceMaxOccurs1SequenceMaxOccurs1basicbasic
ElementMinOccurs0MaxOccursUnboundedElementMinOccurs0MaxOccursUnboundedbasicbasic
SequenceMinOccurs0MaxOccursUnboundedSequenceMinOccurs0MaxOccursUnboundedadvancedadvanced
ElementMinOccurs1MaxOccursUnboundedElementMinOccurs1MaxOccursUnboundedbasicbasic
SequenceMinOccurs1MaxOccursUnboundedSequenceMinOccurs1MaxOccursUnboundedadvancedadvanced
SequenceMaxOccursUnboundedSequenceMaxOccursUnboundedadvancedadvanced
SequenceMaxOccursFiniteSequenceMaxOccursFiniteadvancedadvanced
SequenceMinOccurs0SequenceMinOccurs0advancedadvanced
SequenceSequenceElementSequenceSequenceElementbasicadvanced
DecimalSimpleTypeTotalDigitsDecimalSimpleTypeTotalDigitsadvancedadvanced
DecimalSimpleTypeFractionDigitsDecimalSimpleTypeFractionDigitsadvancedadvanced
AttributeTypeReferenceAttributeTypeReferencebasicadvanced
ElementTypeReferenceElementTypeReferencebasicbasic
LocalElementComplexTypeLocalElementComplexTypebasicbasic
IdExampleIdExamplebasicbasic
AttributeGroupExamplepending

Example Instances

InstanceValidity
TargetNamespace01
NoTargetNamespace01FAILED
QualifiedLocalElements01FAILED
UnqualifiedLocalAttributes01
SchemaVersion01
FinalDefault01
BlockDefault01
AnySimpleTypeElement01
AnySimpleTypeElement02
AnyTypeElement01
AnyTypeElement02
ImportSchemaNamespace01
DocumentationElement01
IdentifierName02
NonIdentifierName02
StringElement01
StringElement02
StringAttribute01
StringAttribute02
BooleanElement01
BooleanElement02
BooleanElement03
BooleanElement04
BooleanAttribute01
BooleanAttribute02
DecimalElement01
DecimalElement02
DecimalElement03
DecimalElement04
DecimalElement05
DecimalElement06
DecimalElement07
DecimalAttribute01
FloatElement01
FloatElement02
FloatElement03
FloatElement04
FloatElement05
FloatAttribute01
DoubleElement01
DoubleElement02
DoubleElement03
DoubleElement04
DoubleElement05
DoubleAttribute01
DurationElement01
DurationElement02
DurationElement03
DurationElement04
DurationAttribute01
DateTimeElement01
DateTimeElement02
DateTimeAttribute01
TimeElement01
TimeElement02
TimeElement03
TimeElement04
TimeAttribute01
DateElement01
DateAttribute01
GYearMonthElement01
GYearMonthAttribute01
GYearElement01
GYearAttribute01
GMonthDayElement01
GMonthDayElement02
GMonthDayAttribute01
GDayElement01
GDayAttribute01
GMonthElement01
GMonthElement02
GMonthAttribute01
HexBinaryElement01
HexBinaryElement02
HexBinaryAttribute01
Base64BinaryElement01
Base64BinaryElement02
Base64BinaryElement03
Base64BinaryAttribute01
AnyURIElement01
AnyURIAttribute01
QNameElement01
QNameAttribute01
NormalizedStringElement01
NormalizedStringElement02
NormalizedStringAttribute01
TokenElement01
TokenAttribute01
LanguageElement01
LanguageElement02
LanguageAttribute01
NMTOKENElement01
NMTOKENElement02
NMTOKENAttribute01
NMTOKENSElement01
NMTOKENSAttribute01
NameElement01
NameAttribute01
NCNameElement01
NCNameAttribute01
IDElement01
IDAttribute01
IDREFElement01FAILED
IDREFAttribute01FAILED
IDREFSElement01FAILED
IDREFSAttribute01FAILED
ENTITYElement01FAILED
ENTITYAttribute01FAILED
ENTITIESElement01FAILED
ENTITIESAttribute01FAILED
IntegerElement01
IntegerElement02
IntegerElement03
IntegerElement04
IntegerElement05
IntegerAttribute01
IntegerAttribute02
NonPositiveIntegerElement01
NonPositiveIntegerElement02
NonPositiveIntegerAttribute01
NonPositiveIntegerAttribute02
NegativeIntegerElement01
NegativeIntegerElement02
LongElement01
LongAttribute01
IntElement01
IntElement02
IntElement03
IntAttribute01
ShortElement01
ShortAttribute01
ByteElement01
ByteAttribute01
NonNegativeIntegerElement01
NonNegativeIntegerAttribute01
UnsignedLongElement01
UnsignedLongAttribute01
UnsignedIntElement01
UnsignedIntAttribute01
UnsignedShortElement01
UnsignedShortAttribute01
NegativeIntegerAttribute01
UnsignedByteElement01
UnsignedByteAttribute01
PositiveIntegerElement01
PositiveIntegerAttribute01
GlobalSimpleType01
StringEnumerationType01
StringEnumerationType02
StringEnumerationType03
NMTOKENEnumerationType01
IntEnumerationType01
ShortEnumerationType01
LongEnumerationType01
DoubleEnumerationType01
IntegerEnumerationType01
DecimalEnumerationType01
FloatEnumerationType01
NonNegativeIntegerEnumerationType01
PositiveIntegerEnumerationType01
UnsignedLongEnumerationType01
UnsignedIntEnumerationType01
UnsignedShortEnumerationType01
TokenEnumerationType01
TokenEnumerationType02
ComplexTypeSequence01
ComplexTypeSequence02
ComplexTypeAll01
ComplexTypeAll02
ComplexTypeChoice01
ComplexTypeChoice02
ComplexTypeChoice03
ComplexTypeSequenceChoice01
ComplexTypeSequenceChoice02
ElementMinOccurs101
ElementMinOccurs2MaxOccurs201
ElementMinOccurs2orMore01
ElementMinOccurs2orMore02
ElementMaxOccurs101
ElementMaxOccurs102
ElementMaxOccursUnbounded01
ElementMaxOccursUnbounded02
ElementMaxOccursFinite01
ElementMaxOccursFinite02
AttributeOptional01
AttributeOptional02
AttributeRequired01
AttributeRequired02
AttributeFixed01
AttributeDefault01
AttributeDefault02
AttributeDefault03
AttributeDefault04
GlobalElementDefault01
GlobalElementDefault02
GlobalElementDefault03
LocalElementDefault01
LocalElementDefault02
LocalElementDefault03
LocalElementDefault04
ElementMinOccurs001
ElementMinOccurs002
NillableElement01
NillableElement02
NillableOptionalElement01
NillableOptionalElement02
NillableOptionalElement03
UnionMemberTypes01
UnionMemberTypes02
UnionDateString01
UnionDateString02
UnionSimpleDateString01
UnionSimpleDateString02
NullEnumerationType01
ElementEmptyComplexType01
ElementEmptySequence01
GlobalElementSequence01
SequenceElementList01
SequenceElementList02
SequenceElementList03
NestedSequenceElementList01
MixedContentType01
MixedContentType02
MixedContentType03
MixedContentType04
StringSimpleTypePattern01
StringSimpleTypePattern02
IntSimpleTypePattern01
IntSimpleTypePattern02
IntegerSimpleTypePattern01
IntegerSimpleTypePattern02
LongSimpleTypePattern01
LongSimpleTypePattern02
DecimalSimpleTypePattern01
DecimalSimpleTypePattern02
FloatSimpleTypePattern01
FloatSimpleTypePattern02
DoubleSimpleTypePattern01
DoubleSimpleTypePattern02
ShortSimpleTypePattern01
ShortSimpleTypePattern02
NonNegativeIntegerSimpleTypePattern01
NonNegativeIntegerSimpleTypePattern02
PositiveIntegerSimpleTypePattern01
PositiveIntegerSimpleTypePattern02
UnsignedLongSimpleTypePattern01
UnsignedLongSimpleTypePattern02
UnsignedIntSimpleTypePattern01
UnsignedIntSimpleTypePattern02
UnsignedShortSimpleTypePattern01
UnsignedShortSimpleTypePattern02
DateSimpleTypePattern01
DateSimpleTypePattern02
RestrictedMinInclusive01
RestrictedMinInclusive02
RestrictedMaxInclusive01
RestrictedMaxInclusive02
RestrictedMinExclusive01
RestrictedMinExclusive02
RestrictedMaxExclusive01
RestrictedMaxExclusive02
RestrictedLength01
RestrictedLength02
RestrictedMaxLength01
RestrictedMaxLength02
RestrictedMinLength01
RestrictedMinLength02
AnyAttributeStrict01
AnyAttributeStrict02
AnyAttributeStrict03
AnyAttributeSkip01
AnyAttributeLax01
ElementReference01
AttributeReference01
AttributeElementNameClash01
ExtendedSequenceStrict01
ExtendedSequenceStrict02
ExtendedSequenceLax01
ExtendedSequenceLax02
ExtendedSequenceSkip01
ExtendedSequenceSkip02
ElementTypeDefaultNamespace01
ElementTypeDefaultNamespace02
RestrictedStringMinLength01
RestrictedStringMaxLength01
RestrictedStringMinMaxLength01
BareVector01
BareVector02
BareVector03
BareVector04
ComplexTypeSequenceExtension01
TypeSubstitutionUsingXsiType01
IncludeRelative01
Include01
SimpleTypeAttributes01
ChameleonInclude01
PrecisionDecimal01
PrecisionDecimal02
PrecisionDecimal03
ExtendedSimpleType01
SOAPEncodedArray01
SequenceMinOccurs101
SequenceMinOccursFinite01
SequenceMinOccursFinite02
SequenceMaxOccurs101
SequenceMaxOccurs102
ElementMinOccurs0MaxOccursUnbounded101
ElementMinOccurs0MaxOccursUnbounded102
SequenceMinOccurs0MaxOccursUnbounded101
SequenceMinOccurs0MaxOccursUnbounded102
ElementMinOccurs1MaxOccursUnbounded101
ElementMinOccurs1MaxOccursUnbounded102
SequenceMinOccurs1MaxOccursUnbounded101
SequenceMinOccurs1MaxOccursUnbounded102
SequenceMaxOccursUnbounded01
SequenceMaxOccursUnbounded02
SequenceMaxOccursFinite01
SequenceMaxOccursFinite02
SequenceMinOccurs001
SequenceMinOccurs002
SequenceSequenceElement01
SequenceSequenceElement02
SequenceSequenceElement03
DecimalSimpleTypeTotalDigits01
DecimalSimpleTypeTotalDigits02
DecimalSimpleTypeFractionDigits01
DecimalSimpleTypeFractionDigits02
AttributeTypeReference01
ElementTypeReference01
LocalElementComplexType01
IdExample01
AttributeGroupExample01
AttributeGroupExample02

This document was produced by the W3C XML Schema Patterns for Databinding Working Group. Comments on this document may be sent to the public public-xsd-databinding-comments@w3.org mailing list (public archive).

Generated from examples.xml $Date: 2007/08/03 13:53:49 $