The document http://base.google.com/base/base.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 | DocumentationElement | .//xs:annotation/xs:documentation/ (.., ., .//*, .//@*) | |
basic | IdentifierName | .//.[matches(@name, "^[A-Za-z_]([A-Za-z0-9_]0 31)$")]/ (@name) | |
basic | GlobalElement | ./xs:element[@name and @type and contains(@type, ':')]/ (., @name, @type) | |
basic | GlobalAttribute | ./xs:attribute[@name and @type and contains(@type, ":")]/ (., @name, @type) | |
basic | MinOccurs1 | .//.[@minOccurs = '1']/ (@minOccurs) | |
basic | MaxOccurs1 | .//.[@maxOccurs = '1']/ (@maxOccurs) | |
basic | ElementMinOccurs0 | .//xs:element[@minOccurs = '0' and (not(@maxOccurs) or @maxOccurs = '1')]/ (@minOccurs, @maxOccurs) | |
basic | ElementMinOccurs1 | .//xs:element[@minOccurs = '1' and (not(@maxOccurs) or @maxOccurs = '1')]/ (@minOccurs, @maxOccurs) | |
basic | ElementMinOccurs1MaxOccursUnbounded | .//xs:element[(not(@minOccurs) or @minOccurs = '1') and @maxOccurs = 'unbounded']/ (@minOccurs, @maxOccurs) | |
advanced | ElementMinOccurs0MaxOccursFinite | .//xs:element[@minOccurs = '0' and @maxOccurs and not(@maxOccurs = '0' or @maxOccurs = '1' or @maxOccurs = 'unbounded')]/ (@minOccurs, @maxOccurs) | |
advanced | ElementMaxOccursFinite | .//xs:element[@maxOccurs and not(@maxOccurs = '0' or @maxOccurs = '1' or @maxOccurs = 'unbounded')]/ (@maxOccurs) | |
basic | GlobalSimpleType | ./xs:simpleType[@name]/ (., @name) | |
basic | GlobalComplexType | ./xs:complexType[@name]/ (., @name) | |
basic | StringEnumerationType | .//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) = xs:QName('xs:string') and xs:enumeration]/ (., @base, xs:enumeration/(., @value)) | |
advanced | ComplexTypeAll | .//xs:complexType/xs:all/ (., xs:element/(., @name)) | |
basic | ComplexTypeSequence | .//xs:complexType/xs:sequence/ (., xs:element/(., @name)) | |
basic | GlobalElementSequence | ./xs:element[@name]/xs:complexType/xs:sequence[xs:element]/ (../../(., @name), .., ., xs:element/(., @name)) | |
basic | SequenceElement | .//xs:sequence/xs:element/(.) | |
advanced | AllElement | .//xs:all/xs:element/(.) | |
basic | ElementTypeReference | .//xs:element[@name and @type and namespace-uri-from-QName(resolve-QName(@type,.)) != 'http://www.w3.org/2001/XMLSchema' and contains(@type, ':')]/ (., @name, @type) | |
basic | ElementReference | .//xs:element[@ref and contains(@ref, ':')]/ (., @ref) | |
basic | AttributeTypeReference | .//xs:attribute[@name and @type and namespace-uri-from-QName(resolve-QName(@type,.)) != 'http://www.w3.org/2001/XMLSchema' and contains(@type, ':')]/ (., @name, @type) | |
basic | StringElement | .//xs:element/@type[resolve-QName(.,..) = xs:QName('xs:string')] | |
basic | BooleanElement | .//xs:element/@type[resolve-QName(.,..) = xs:QName('xs:boolean')] | |
advanced | FloatElement | .//xs:element/@type[resolve-QName(.,..) = xs:QName('xs:float')] | |
basic | DateTimeElement | .//xs:element/@type[resolve-QName(.,..) = xs:QName('xs:dateTime')] | |
advanced | DateElement | .//xs:element/@type[resolve-QName(.,..) = xs:QName('xs:date')] | |
advanced | GYearElement | .//xs:element/@type[resolve-QName(.,..) = xs:QName('xs:gYear')] | |
basic | AnyURIElement | .//xs:element/@type[resolve-QName(.,..) = xs:QName('xs:anyURI')] | |
advanced | IntegerElement | .//xs:element/@type[resolve-QName(.,..) = xs:QName('xs:integer')] | |
advanced | UnsignedLongElement | .//xs:element/@type[resolve-QName(.,..) = xs:QName('xs:unsignedLong')] | |
advanced | UnsignedByteElement | .//xs:element/@type[resolve-QName(.,..) = xs:QName('xs:unsignedByte')] | |
advanced | RestrictedStringMaxLength | .//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) = xs:QName('xs:string')]/xs:maxLength[@value]/ (.., ../@base, ., @value) | |
advanced | SimpleTypeRenamed | .//xs:simpleType/xs:restriction[@base and count(./*) = 0]/ (., @base) | |
advanced | RestrictedMinInclusive | .//xs:simpleType/xs:restriction/xs:minInclusive[@value]/(.., ../@base, ., @value) | |
advanced | RestrictedMaxInclusive | .//xs:simpleType/xs:restriction/xs:maxInclusive[@value]/(.., ../@base, ., @value) | |
advanced | RestrictedMaxLength | .//xs:simpleType/xs:restriction/xs:maxLength[@value]/(.., ../@base, ., @value) | |
advanced | GlobalElementComplexType | .//xs:element[parent::xs:schema]/xs:complexType / (.,..) | |
advanced | ExtendedSequenceNamespacedFinite | .//xs:sequence/xs:any[@processContents and @namespace and @maxOccurs and (not (@minOccurs) or @minOccurs = '1' or @minOccurs = '0') and (not (@maxOccurs = '1') ) and (not (@maxOccurs='unbounded')) and (not (@namespace = '##targetNamespace')) and (not (@namespace = '##any')) and (not (@namespace = '##local')) and (not (@namespace = '##other'))]/ (., @processContents, @minOccurs, @maxOccurs, @namespace) |
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.