W3C

OASIS-SPMLV2-Batch

The document http://docs.oasis-open.org/provision/spml-2.0-cd-01/xsd/pstc_spmlv2_batch.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 DocumentationElement .//xs:annotation/xs:documentation/ (.., ., .//*, .//@*)
basic IdentifierName .//.[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)
basic AttributeOptional .//xs:attribute[@use = 'optional']/ (@use)
advanced AttributeDefault .//xs:attribute[@default] / (@default)
basic GlobalSimpleType ./xs:simpleType[@name]/ (., @name)
basic GlobalComplexType ./xs:complexType[@name]/ (., @name)
basic StringEnumerationType .//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) = xs:QName('xs:string') and xs:enumeration]/ (., @base, xs:enumeration/(., @value))
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 AttributeTypeReference .//xs:attribute[@name and @type and namespace-uri-from-QName(resolve-QName(@type,.)) != 'http://www.w3.org/2001/XMLSchema' and contains(@type, ':')]/ (., @name, @type)
basic ComplexTypeAttributeExtension .//xs:complexType/xs:complexContent[xs:extension[@base]/xs:attribute]/ (., xs:extension/(., @base, xs:attribute/(., @name)))
advanced ComplexTypeExtensionAnnotationOnly .//xs:complexType/xs:complexContent/xs:extension[@base]/xs:annotation[not(preceding-sibling::*) and not(following-sibling::*)]/ (../(., @base), ../../(.))
advanced ComplexTypeExtension .//xs:complexType/xs:complexContent/xs:extension[@base]/(., @base, ../(.))

<schema TargetNamespace UnqualifiedLocalAttributes targetNamespace="urn:oasis:names:tc:SPML:2:0:batch" TargetNamespace elementFormDefault="qualified" QualifiedLocalElements >
<import ImportSchema namespace="urn:oasis:names:tc:SPML:2:0" ImportSchema schemaLocation="pstc_spmlv2_core.xsd" ImportSchema />
<simpleType GlobalSimpleType name="ProcessingType" IdentifierName GlobalSimpleType >
<restriction StringEnumerationType base="string" StringEnumerationType >
<enumeration StringEnumerationType value="sequential" StringEnumerationType />
<enumeration StringEnumerationType value="parallel" StringEnumerationType />
</restriction>
</simpleType>
<simpleType GlobalSimpleType name="OnErrorType" IdentifierName GlobalSimpleType >
<restriction StringEnumerationType base="string" StringEnumerationType >
<enumeration StringEnumerationType value="resume" StringEnumerationType />
<enumeration StringEnumerationType value="exit" StringEnumerationType />
</restriction>
</simpleType>
<complexType GlobalComplexType name="BatchRequestType" IdentifierName GlobalComplexType >
<complexContent ComplexTypeAttributeExtension ComplexTypeExtension >
<extension ComplexTypeAttributeExtension ComplexTypeExtension base="spml:RequestType" ComplexTypeAttributeExtension ComplexTypeExtension >
<annotation DocumentationElement >
<documentation DocumentationElement >
Elements that extend spml:RequestType
</documentation>
</annotation>
</extension>
</complexContent>
</complexType>
<complexType GlobalComplexType name="BatchResponseType" IdentifierName GlobalComplexType >
<complexContent ComplexTypeExtensionAnnotationOnly ComplexTypeExtension >
<extension ComplexTypeExtensionAnnotationOnly ComplexTypeExtension base="spml:ResponseType" ComplexTypeExtensionAnnotationOnly ComplexTypeExtension >
<annotation DocumentationElement >
<documentation DocumentationElement >
Elements that extend spml:ResponseType
</documentation>
</annotation>
</extension>
</complexContent>
</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).