The document http://www.cs.rpi.edu/~puninj/XGMML/xgmml.xsd has been classified as being possibly an Advanced XML Schema Patterns for Databinding 1.0 conformant document as it only exhibits the following patterns:
| Status | Nodes | Name | XPath |
|---|---|---|---|
| basic | TargetNamespace | .[@targetNamespace]/ (., @targetNamespace) | |
| basic | QualifiedLocalElements | .[@elementFormDefault = 'qualified']/ (@elementFormDefault) | |
| basic | UnqualifiedLocalAttributes | .[not(@attributeFormDefault) or @attributeFormDefault = 'unqualified']/ (., @attributeFormDefault) | |
| basic | SchemaVersion | ./@version | |
| basic | IdentifierName | .//.[matches(@name, "^[A-Za-z_]([A-Za-z0-9_]0 31)$")]/ (@name) | |
| basic | NonIdentifierName | .//.[@name and not(matches(@name, "^[A-Za-z_]([A-Za-z0-9_]0 31)$"))]/ (@name) | |
| basic | ImportSchema | ./xs:import[@namespace and @schemaLocation]/ (., @namespace, @schemaLocation) | |
| advanced | GlobalElementUnqualifiedType | ./xs:element[@name and @type and not(contains(@type, ':'))]/ (., @name, @type) | |
| advanced | ElementTypeDefaultNamespace | .//xs:element[@name and @type and not(contains(@type, ':'))]/ (@name, @type) | |
| advanced | MixedContentType | .//xs:complexType[@mixed = 'true']/ (@mixed) | |
| basic | MaxOccurs1 | .//.[@maxOccurs = '1']/ (@maxOccurs) | |
| basic | ElementMinOccurs0 | .//xs:element[@minOccurs = '0' and (not(@maxOccurs) or @maxOccurs = '1')]/ (@minOccurs, @maxOccurs) | |
| basic | ElementMinOccurs0MaxOccursUnbounded | .//xs:element[@minOccurs = '0' and @maxOccurs = 'unbounded']/ (@minOccurs, @maxOccurs) | |
| advanced | ElementMinOccursFinite | .//xs:element[xs:integer(@minOccurs) gt 1]/ (@minOccurs, @maxOccurs) | |
| advanced | AttributeRequired | .//xs:attribute[@use = 'required']/ (@use) | |
| advanced | AttributeDefault | .//xs:attribute[@default] / (@default) | |
| basic | GlobalSimpleType | ./xs:simpleType[@name]/ (., @name) | |
| basic | GlobalComplexType | ./xs:complexType[@name]/ (., @name) | |
| advanced | NMTOKENEnumerationType | .//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) = xs:QName('xs:NMTOKEN') and xs:enumeration]/ (., @base, xs:enumeration/(., @value)) | |
| advanced | NonNegativeIntegerEnumerationType | .//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) = xs:QName('xs:nonNegativeInteger') and xs:enumeration]/ (., @base, xs:enumeration/(., @value)) | |
| advanced | ComplexTypeSequenceChoice | .//xs:complexType/xs:sequence/xs:choice/ (., xs:element/(., @name)) | |
| advanced | ComplexTypeOnlyAttributeGroup | .//xs:complexType/xs:attributeGroup[../not(xs:choice or xs:sequence or xs:all or xs:anyAttribute or xs:group or xs:simpleContent or xs:complexContent)]/(., ..,@ref) | |
| basic | ComplexTypeSequence | .//xs:complexType/xs:sequence/ (., xs:element/(., @name)) | |
| basic | GlobalElementSequence | ./xs:element[@name]/xs:complexType/xs:sequence[xs:element]/ (../../(., @name), .., ., xs:element/(., @name)) | |
| advanced | SequenceChoice | .//xs:sequence/xs:choice/(.) | |
| advanced | ChoiceElement | .//xs:choice/xs:element/(.) | |
| basic | SequenceElement | .//xs:sequence/xs:element/(.) | |
| basic | SequenceSingleRepeatedElement | .//xs:sequence[count(xs:element) = 1]/xs:element[@maxOccurs = 'unbounded']/ (., @maxOccurs) | |
| advanced | ElementTypeReferenceUnqualified | .//xs:element[@name and @type and namespace-uri-from-QName(resolve-QName(@type,.)) != 'http://www.w3.org/2001/XMLSchema' and not(contains(@type, ':'))]/ (., @name, @type) | |
| advanced | ElementReferenceUnqualified | .//xs:element[@ref and not(contains(@ref, ':'))]/ (., @ref) | |
| basic | AttributeReference | .//xs:attribute[@ref and contains(@ref, ":")]/ (., @ref) | |
| advanced | AttributeTypeReferenceUnqualified | .//xs:attribute[@name and @type and namespace-uri-from-QName(resolve-QName(@type,.)) != 'http://www.w3.org/2001/XMLSchema' and not(contains(@type, ':'))]/ (., @name, @type) | |
| basic | DoubleAttribute | .//xs:attribute/@type[resolve-QName(.,..) = xs:QName('xs:double')] | |
| advanced | IntegerAttribute | .//xs:attribute/@type[resolve-QName(.,..) = xs:QName('xs:integer')] | |
| advanced | StringSimpleTypePattern | .//xs:restriction[@base/resolve-QName(.,..) = xs:QName('xs:string')]/xs:pattern[@value]/ (.., ../@base, ., @value) | |
| advanced | SimpleTypeRenamed | .//xs:simpleType/xs:restriction[@base and count(./*) = 0]/ (., @base) | |
| basic | ComplexTypeSequenceExtension | .//xs:complexType/xs:complexContent[xs:extension[@base]/xs:sequence]/ (., xs:extension/ (., @base, xs:sequence/(., xs:element/(., @name)))) | |
| advanced | ChoiceMaxOccursUnbounded | .//xs:choice[@maxOccurs = 'unbounded']/ (@maxOccurs) | |
| advanced | ChoiceMinOccurs0 | .//xs:choice[@minOccurs='0']/ (@minOccurs) | |
| advanced | AttributeGroup | .//xs:attributeGroup/(.,@name,@ref,xs:attribute) | |
| advanced | GlobalElementComplexType | .//xs:element[parent::xs:schema]/xs:complexType / (.,..) | |
| advanced | ComplexTypeAttributeGroupExtension | .//xs:complexType/xs:complexContent[xs:extension[@base]/xs:attributeGroup]/ (., xs:extension/ (., @base, xs:attributeGroup)) | |
| advanced | ComplexTypeExtension | .//xs:complexType/xs:complexContent/xs:extension[@base]/(., @base, ../(.)) |
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).
Copyright © 2006 W3C ® ( MIT , ERCIM ,Keio), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply. Your interactions with this site are in accordance with our public andMember privacy statements.