The document http://docs.oasis-open.org/dita/v1.0.1/schema/programmingDomain.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 |
---|---|---|---|
advanced | NoTargetNamespace | .[not(@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 | 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) | |
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) | |
advanced | MixedContentType | .//xs:complexType[@mixed = 'true']/ (@mixed) | |
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) | |
advanced | AttributeRequired | .//xs:attribute[@use = 'required']/ (@use) | |
advanced | AttributeFixed | .//xs:attribute[@fixed] / (@fixed) | |
advanced | AttributeDefault | .//xs:attribute[@default] / (@default) | |
basic | GlobalSimpleType | ./xs:simpleType[@name]/ (., @name) | |
basic | GlobalComplexType | ./xs:complexType[@name]/ (., @name) | |
advanced | SimpleTypeEnumerationType | .//xs:simpleType/xs:restriction[@base and namespace-uri-from-QName(resolve-QName(@base,.)) != 'http://www.w3.org/2001/XMLSchema' ]/ (., @base, xs:enumeration/(., @value)) | |
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 | 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)) | |
advanced | SequenceChoice | .//xs:sequence/xs:choice/(.) | |
advanced | ChoiceElement | .//xs:choice/xs:element/(.) | |
basic | SequenceElement | .//xs:sequence/xs:element/(.) | |
advanced | ElementTypeReferenceUnqualified | .//xs:element[@name and @type and namespace-uri-from-QName(resolve-QName(@type,.)) != 'http://www.w3.org/2001/XMLSchema' and not(contains(@type, ':'))]/ (., @name, @type) | |
advanced | ElementReferenceUnqualified | .//xs:element[@ref and not(contains(@ref, ':'))]/ (., @ref) | |
basic | AttributeReference | .//xs:attribute[@ref and contains(@ref, ":")]/ (., @ref) | |
advanced | AttributeReferenceUnqualified | .//xs:attribute[@ref and not(contains(@ref, ':'))]/ (., @ref) | |
advanced | AttributeTypeReferenceUnqualified | .//xs:attribute[@name and @type and namespace-uri-from-QName(resolve-QName(@type,.)) != 'http://www.w3.org/2001/XMLSchema' and not(contains(@type, ':'))]/ (., @name, @type) | |
basic | StringAttribute | .//xs:attribute/@type[resolve-QName(.,..) = xs:QName('xs:string')] | |
advanced | NMTOKENAttribute | .//xs:attribute/@type[resolve-QName(.,..) = xs:QName('xs:NMTOKEN')] | |
advanced | ChoiceMaxOccursUnbounded | .//xs:choice[@maxOccurs = 'unbounded']/ (@maxOccurs) | |
advanced | ChoiceMinOccurs0 | .//xs:choice[@minOccurs='0']/ (@minOccurs) | |
advanced | AttributeGroup | .//xs:attributeGroup/(.,@name,@ref,xs:attribute) |
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.