The document saved/unknown.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/ (.., ., .//*, .//@*) | |
advanced | AppinfoElement | .//xs:annotation/xs:appinfo/ (.., ., .//*, .//@*) | |
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 | GlobalElement | ./xs:element[@name and @type and contains(@type, ':')]/ (., @name, @type) | |
advanced | MixedContentType | .//xs:complexType[@mixed = 'true']/ (@mixed) | |
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 | ElementMinOccurs0MaxOccursUnbounded | .//xs:element[@minOccurs = '0' and @maxOccurs = 'unbounded']/ (@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) | |
advanced | AttributeRequired | .//xs:attribute[@use = 'required']/ (@use) | |
basic | GlobalSimpleType | ./xs:simpleType[@name]/ (., @name) | |
basic | GlobalComplexType | ./xs:complexType[@name]/ (., @name) | |
advanced | ComplexTypeChoice | .//xs:complexType/xs:choice/ (., xs:element/(., @name)) | |
advanced | ComplexTypeSequenceChoice | .//xs:complexType/xs:sequence/xs:choice/ (., xs:element/(., @name)) | |
basic | ComplexTypeAttribute | .//xs:complexType/xs:attribute[@name]/ (., @name) | |
advanced | ComplexTypeOnlyAttributes | .//xs:complexType/xs:attribute[../not(xs:choice or xs:sequence or xs:all or xs:anyAttribute or xs:group or xs:attributeGroup or xs:simpleContent or xs:complexContent)]/ (., ..,@use) | |
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 | ChoiceSequence | .//xs:choice/xs:sequence/(.) | |
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) | |
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 | StringElement | .//xs:element/@type[resolve-QName(.,..) = xs:QName('xs:string')] | |
basic | StringAttribute | .//xs:attribute/@type[resolve-QName(.,..) = xs:QName('xs:string')] | |
basic | DateTimeElement | .//xs:element/@type[resolve-QName(.,..) = xs:QName('xs:dateTime')] | |
basic | AnyURIElement | .//xs:element/@type[resolve-QName(.,..) = xs:QName('xs:anyURI')] | |
advanced | IntegerAttribute | .//xs:attribute/@type[resolve-QName(.,..) = xs:QName('xs:integer')] | |
basic | LongElement | .//xs:element/@type[resolve-QName(.,..) = xs:QName('xs:long')] | |
basic | IntElement | .//xs:element/@type[resolve-QName(.,..) = xs:QName('xs:int')] | |
basic | PositiveIntegerElement | .//xs:element/@type[resolve-QName(.,..) = xs:QName('xs:positiveInteger')] | |
advanced | ByteSimpleTypePattern | .//xs:restriction[@base/resolve-QName(.,..) = xs:QName('xs:byte')]/xs:pattern[@value]/ (.., ../@base, ., @value) | |
advanced | RestrictedStringMinLength | .//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) = xs:QName('xs:string')]/xs:minLength[@value]/ (.., ../@base, ., @value) | |
advanced | RestrictedMinLength | .//xs:simpleType/xs:restriction/xs:minLength[@value]/(.., ../@base, ., @value) | |
basic | ComplexTypeSequenceExtension | .//xs:complexType/xs:complexContent[xs:extension[@base]/xs:sequence]/ (., xs:extension/ (., @base, xs:sequence/(., xs:element/(., @name)))) | |
advanced | GlobalComplexTypeEmptyExtension | ./xs:complexType[@name]/xs:complexContent[xs:extension[@base]/not(*)]/ (../../(., @name), .., ., xs:extension/(., @base)) | |
basic | LocalElementComplexType | .//xs:element[not(parent::xs:schema)]/xs:complexType | |
advanced | ChoiceMaxOccursUnbounded | .//xs:choice[@maxOccurs = 'unbounded']/ (@maxOccurs) | |
advanced | ChoiceMinOccurs0 | .//xs:choice[@minOccurs='0']/ (@minOccurs) | |
advanced | LocalAttributeSimpleType | .//xs:attribute[not(parent::xs:schema)]/xs:simpleType | |
advanced | AttributeGroup | .//xs:attributeGroup/(.,@name,@ref,xs:attribute) | |
advanced | SubstitutionGroup | .//xs:element[@substitutionGroup]/(.,@name,@substitutionGroup) | |
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) | |
advanced | ComplexTypeChoiceExtension | .//xs:complexType/xs:complexContent[xs:extension[@base]/xs:choice]/ (., xs:extension/ (., @base, xs:choice/(., xs:element/(., @name)))) | |
advanced | ComplexTypeAttributeGroupExtension | .//xs:complexType/xs:complexContent[xs:extension[@base]/xs:attributeGroup]/ (., xs:extension/ (., @base, xs:attributeGroup)) | |
advanced | Unique | .//xs:element/xs:unique/(.., .,xs:selector,xs:selector/@xpath,xs:field,xs:field/@xpath) | |
advanced | ElementDefaultAnytype | .//xs:element[@name and not(@type) and ./not(xs:simpleType or xs:complexType or xs:unique or xs:key or xs:keyref)]/(.) | |
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.