The document http://www.w3.org/TR/xmldsig-core/xmldsig-core-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 | GlobalElement | ./xs:element[@name and @type and contains(@type, ':')]/ (., @name, @type) | |
| 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) | |
| 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 | ElementMinOccurs0MaxOccursUnbounded | .//xs:element[@minOccurs = '0' and @maxOccurs = 'unbounded']/ (@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 | 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) | |
| basic | ComplexTypeSequence | .//xs:complexType/xs:sequence/ (., xs:element/(., @name)) | |
| basic | SequenceSequenceElement | .//xs:sequence/xs:sequence/xs:element/ (., ..) | |
| advanced | SequenceMinOccurs0 | .//xs:sequence[@minOccurs = '0' and (not(@maxOccurs) or @maxOccurs = '1')]/ (@minOccurs, @maxOccurs) | |
| advanced | SequenceMinOccurs0MaxOccursUnbounded | .//xs:sequence[@minOccurs = '0' and @maxOccurs = 'unbounded']/ (@minOccurs, @maxOccurs) | |
| advanced | SequenceMinOccurs1MaxOccursUnbounded | .//xs:sequence[(not(@minOccurs) or @minOccurs = '1') and @maxOccurs = 'unbounded']/ (@minOccurs, @maxOccurs) | |
| advanced | ExtendedSequenceStrictAny | .//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 (not(@namespace) or @namespace = '##any')]/ (., @processContents, @minOccurs, @maxOccurs, @namespace) | |
| advanced | ExtendedSequenceLaxAny | .//xs:sequence/xs:any[@processContents = 'lax' and (not (@minOccurs) or @minOccurs = '1' or @minOccurs = '0') and (not (@maxOccurs) or @maxOccurs = '1' or @maxOccurs='unbounded') and (not(@namespace) or @namespace = '##any')]/ (., @processContents, @minOccurs, @maxOccurs, @namespace) | |
| 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 | ExtendedSequenceLaxOther | .//xs:sequence/xs:any[@processContents = 'lax' 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 | SequenceAnyStrict | .//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 (not (@namespace) or @namespace = '##any')]/ (., @processContents, @minOccurs, @maxOccurs, @namespace) | |
| advanced | ExtendedSimpleContent | .//xs:complexType/xs:simpleContent/xs:extension[@base]/ (.., ., ./@base, xs:attribute/ (., @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 | 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 | IntegerElement | .//xs:element/@type[resolve-QName(.,..) = xs:QName('xs:integer')] | |
| advanced | SimpleTypeRenamed | .//xs:simpleType/xs:restriction[@base and count(./*) = 0]/ (., @base) | |
| advanced | ChoiceMaxOccursUnbounded | .//xs:choice[@maxOccurs = 'unbounded']/ (@maxOccurs) | |
| advanced | ChoiceMinOccurs0 | .//xs:choice[@minOccurs='0']/ (@minOccurs) | |
| advanced | ComplexTypeChoiceAny | .//xs:complexType/xs:choice/xs:any/(., @namespace, @processContents, @maxOccurs, @minOccurs) | |
| advanced | ComplexTypeSequenceChoiceAny | .//xs:complexType/xs:sequence/xs:choice/xs:any/(., @namespace, @processContents, @maxOccurs, @minOccurs) |
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.