The document saved/public/HL7/coreschemas/datatypes-base.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/ (.., ., .//*, .//@*) | |
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 | Include | ./xs:include[@schemaLocation]/ (., @schemaLocation) | |
advanced | ElementTypeDefaultNamespace | .//xs:element[@name and @type and not(contains(@type, ':'))]/ (@name, @type) | |
advanced | MixedContentType | .//xs:complexType[@mixed = 'true']/ (@mixed) | |
basic | MinOccurs1 | .//.[@minOccurs = '1']/ (@minOccurs) | |
basic | MaxOccurs1 | .//.[@maxOccurs = '1']/ (@maxOccurs) | |
basic | Id | .//@id | |
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 | ElementMaxOccurs1 | .//xs:element[(not(@minOccurs) or @minOccurs = '1') and @maxOccurs = '1']/ (@minOccurs, @maxOccurs) | |
basic | ElementMinOccurs0MaxOccursUnbounded | .//xs:element[@minOccurs = '0' and @maxOccurs = 'unbounded']/ (@minOccurs, @maxOccurs) | |
basic | AttributeOptional | .//xs:attribute[@use = 'optional']/ (@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 | GlobalComplexTypeAbstract | ./xs:complexType[@abstract='true']/ (@abstract) | |
advanced | NMTOKENEnumerationType | .//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) = xs:QName('xs:NMTOKEN') and xs:enumeration]/ (., @base, xs:enumeration/(., @value)) | |
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)) | |
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 | 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) | |
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 | 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) | |
advanced | UnionMemberTypes | .//xs:simpleType/xs:union[@memberTypes and not(xs:simpleType)]/ (., @memberTypes) | |
advanced | List | .//xs:list[@itemType]/ (., @itemType) | |
advanced | StringSimpleTypePattern | .//xs:restriction[@base/resolve-QName(.,..) = xs:QName('xs:string')]/xs:pattern[@value]/ (.., ../@base, ., @value) | |
advanced | TokenSimpleTypePattern | .//xs:restriction[@base/resolve-QName(.,..) = xs:QName('xs:token')]/xs:pattern[@value]/ (.., ../@base, ., @value) | |
advanced | RestrictedStringMinLength | .//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) = xs:QName('xs:string')]/xs:minLength[@value]/ (.., ../@base, ., @value) | |
advanced | SimpleTypeRenamed | .//xs:simpleType/xs:restriction[@base and count(./*) = 0]/ (., @base) | |
advanced | RestrictedMinLength | .//xs:simpleType/xs:restriction/xs:minLength[@value]/(.., ../@base, ., @value) | |
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)) | |
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 | AttributeProhibited | .//xs:attribute[@use = 'prohibited']/ (@use) | |
advanced | ComplexTypeChoiceExtension | .//xs:complexType/xs:complexContent[xs:extension[@base]/xs:choice]/ (., xs:extension/ (., @base, xs:choice/(., xs:element/(., @name)))) | |
advanced | ComplexTypeAttributeRestriction | .//xs:complexType/xs:complexContent[xs:restriction[@base]/xs:attribute]/ (., xs:restriction/(., @base, xs:attribute/(., @name))) | |
advanced | ComplexTypeSequenceRestriction | .//xs:complexType/xs:complexContent[xs:restriction[@base]/xs:sequence]/ (., xs:restriction/(., @base, xs:sequence)) | |
advanced | ComplexTypeExtension | .//xs:complexType/xs:complexContent/xs:extension[@base]/(., @base, ../(.)) | |
advanced | MaxOccurs0 | .//xs:element[@maxOccurs='0']/(., @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.