The document http://www.w3.org/TR/xmlenc-core/xenc-schema.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 | |
| advanced | FinalDefault | ./@finalDefault | |
| advanced | BlockDefault | ./@blockDefault | |
| 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) | |
| basic | GlobalElement | ./xs:element[@name and @type and contains(@type, ':')]/ (., @name, @type) | |
| advanced | ElementTypeDefaultNamespace | .//xs:element[@name and @type and not(contains(@type, ':'))]/ (@name, @type) | |
| basic | NotMixed | .//.[@mixed = 'false']/ (@mixed) | |
| 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 | ElementMinOccurs1MaxOccursUnbounded | .//xs:element[(not(@minOccurs) or @minOccurs = '1') and @maxOccurs = 'unbounded']/ (@minOccurs, @maxOccurs) | |
| basic | AttributeOptional | .//xs:attribute[@use = 'optional']/ (@use) | |
| advanced | AttributeRequired | .//xs:attribute[@use = 'required']/ (@use) | |
| basic | GlobalSimpleType | ./xs:simpleType[@name]/ (., @name) | |
| basic | GlobalComplexType | ./xs:complexType[@name]/ (., @name) | |
| advanced | GlobalComplexTypeAbstract | ./xs:complexType[@abstract='true']/ (@abstract) | |
| advanced | ComplexTypeChoice | .//xs:complexType/xs:choice/ (., xs:element/(., @name)) | |
| basic | ComplexTypeAttribute | .//xs:complexType/xs:attribute[@name]/ (., @name) | |
| basic | ComplexTypeSequence | .//xs:complexType/xs:sequence/ (., xs:element/(., @name)) | |
| advanced | GlobalElementChoice | ./xs:element[@name]/xs:complexType/xs:choice[xs:element]/ (../../(., @name), .., ., xs:element/(., @name)) | |
| advanced | ComplexTypeAnyAttribute | .//xs:complexType/xs:anyAttribute | |
| advanced | ExtendedSequenceStrictOther | .//xs:sequence/xs:any[(not(@processContents) or @processContents = 'strict') and (not (@minOccurs) or @minOccurs = '1' or @minOccurs = '0') and (not (@maxOccurs) or @maxOccurs = '1' or @maxOccurs='unbounded') and @namespace = '##other']/ (., @processContents, @minOccurs, @maxOccurs, @namespace) | |
| 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 | Base64BinaryElement | .//xs:element/@type[resolve-QName(.,..) = xs:QName('xs:base64Binary')] | |
| basic | AnyURIAttribute | .//xs:attribute/@type[resolve-QName(.,..) = xs:QName('xs:anyURI')] | |
| advanced | IDAttribute | .//xs:attribute/@type[resolve-QName(.,..) = xs:QName('xs:ID')] | |
| advanced | SimpleTypeRenamed | .//xs:simpleType/xs:restriction[@base and count(./*) = 0]/ (., @base) | |
| basic | ComplexTypeAttributeExtension | .//xs:complexType/xs:complexContent[xs:extension[@base]/xs:attribute]/ (., xs:extension/(., @base, xs:attribute/(., @name))) | |
| 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)) | |
| advanced | ChoiceMaxOccursUnbounded | .//xs:choice[@maxOccurs = 'unbounded']/ (@maxOccurs) | |
| advanced | GlobalElementComplexType | .//xs:element[parent::xs:schema]/xs:complexType / (.,..) | |
| advanced | ComplexTypeChoiceAny | .//xs:complexType/xs:choice/xs:any/(., @namespace, @processContents, @maxOccurs, @minOccurs) | |
| advanced | AnyAttributeNamespacedFinite | .//xs:complexType/xs:anyAttribute[@processContents and @namespace and (not (@namespace = '##targetNamespace')) and (not (@namespace = '##any')) and (not (@namespace = '##local')) and (not (@namespace = '##other'))]/ (., @processContents, @namespace) | |
| 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.