W3C

W3C-xenc

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, ../(.))

<schema TargetNamespace UnqualifiedLocalAttributes GlobalComplexTypeEmptyExtension version="1.0" SchemaVersion targetNamespace="http://www.w3.org/2001/04/xmlenc#" TargetNamespace elementFormDefault="qualified" QualifiedLocalElements finalDefault="" FinalDefault blockDefault="" BlockDefault attributeFormDefault="unqualified" UnqualifiedLocalAttributes >
<import ImportSchema namespace="http://www.w3.org/2000/09/xmldsig#" ImportSchema schemaLocation="http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd" ImportSchema />
<complexType GlobalComplexType name="EncryptedType" IdentifierName GlobalComplexType abstract="true" GlobalComplexTypeAbstract mixed="false" NotMixed >
<attribute ComplexTypeAttribute name="Type" IdentifierName ComplexTypeAttribute type="anyURI" AnyURIAttribute use="optional" AttributeOptional />
<attribute ComplexTypeAttribute name="MimeType" IdentifierName ComplexTypeAttribute type="string" StringAttribute use="optional" AttributeOptional />
<attribute ComplexTypeAttribute name="Encoding" IdentifierName ComplexTypeAttribute type="anyURI" AnyURIAttribute use="optional" AttributeOptional />
</complexType>
<simpleType GlobalSimpleType name="KeySizeType" IdentifierName GlobalSimpleType >
<restriction SimpleTypeRenamed base="integer" SimpleTypeRenamed />
</simpleType>
<complexType GlobalComplexType name="CipherDataType" IdentifierName GlobalComplexType mixed="false" NotMixed ></complexType>
<complexType GlobalComplexType name="CipherReferenceType" IdentifierName GlobalComplexType mixed="false" NotMixed >
<attribute ComplexTypeAttribute name="URI" IdentifierName ComplexTypeAttribute type="anyURI" AnyURIAttribute use="required" AttributeRequired />
</complexType>
<!-- Children of ds:KeyInfo -->
<complexType GlobalComplexType name="AgreementMethodType" IdentifierName GlobalComplexType mixed="true" MixedContentType >
<sequence ComplexTypeSequence >
<!-- <element ref="ds:DigestMethod" minOccurs="0"/> -->
<any ExtendedSequenceStrictOther namespace="##other" ExtendedSequenceStrictOther minOccurs="0" ExtendedSequenceStrictOther maxOccurs="unbounded" ExtendedSequenceStrictOther processContents="strict" ExtendedSequenceStrictOther />
</sequence>
<attribute ComplexTypeAttribute name="Algorithm" IdentifierName ComplexTypeAttribute type="anyURI" AnyURIAttribute use="required" AttributeRequired />
</complexType>
<!-- End Children of ds:KeyInfo -->
<complexType GlobalComplexType name="ReferenceType" IdentifierName GlobalComplexType mixed="false" NotMixed >
<sequence ComplexTypeSequence >
<any ExtendedSequenceStrictOther namespace="##other" ExtendedSequenceStrictOther minOccurs="0" ExtendedSequenceStrictOther maxOccurs="unbounded" ExtendedSequenceStrictOther processContents="strict" ExtendedSequenceStrictOther />
</sequence>
<attribute ComplexTypeAttribute name="URI" IdentifierName ComplexTypeAttribute type="anyURI" AnyURIAttribute use="required" AttributeRequired />
</complexType>
<element GlobalElement ElementTypeReference name="EncryptionProperties" IdentifierName GlobalElement ElementTypeReference type="xenc:EncryptionPropertiesType" GlobalElement ElementTypeReference />
<complexType GlobalComplexType name="EncryptionPropertiesType" IdentifierName GlobalComplexType mixed="false" NotMixed > </complexType>
<element GlobalElement ElementTypeReference name="EncryptionProperty" IdentifierName GlobalElement ElementTypeReference type="xenc:EncryptionPropertyType" GlobalElement ElementTypeReference />
<complexType GlobalComplexType name="EncryptionPropertyType" IdentifierName GlobalComplexType mixed="true" MixedContentType >
<choice ComplexTypeChoice maxOccurs="unbounded" ChoiceMaxOccursUnbounded >
<any ComplexTypeChoiceAny namespace="##other" ComplexTypeChoiceAny processContents="lax" ComplexTypeChoiceAny minOccurs="1" MinOccurs1 ComplexTypeChoiceAny maxOccurs="1" MaxOccurs1 ComplexTypeChoiceAny />
</choice>
<attribute ComplexTypeAttribute name="Target" IdentifierName ComplexTypeAttribute type="anyURI" AnyURIAttribute use="optional" AttributeOptional />
<anyAttribute ComplexTypeAnyAttribute AnyAttributeNamespacedFinite namespace="http://www.w3.org/XML/1998/namespace" AnyAttributeNamespacedFinite processContents="strict" AnyAttributeNamespacedFinite />
</complexType>
</schema>

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).