W3C

OASIS-DITA-softwareDomain

The document http://docs.oasis-open.org/dita/v1.0.1/schema/softwareDomain.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)
advanced AttributeFixed .//xs:attribute[@fixed] / (@fixed)
advanced AttributeDefault .//xs:attribute[@default] / (@default)
basic GlobalComplexType ./xs:complexType[@name]/ (., @name)
advanced ComplexTypeChoice .//xs:complexType/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)
advanced ChoiceElement .//xs:choice/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)
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)

<xs:schema NoTargetNamespace UnqualifiedLocalAttributes elementFormDefault="qualified" QualifiedLocalElements attributeFormDefault="unqualified" UnqualifiedLocalAttributes >
<!-- 20021227 EAS: Use xml:space (preserve) for pre derivs: codeblock, msgblock, screen -->
<xs:import ImportSchema namespace="http://www.w3.org/XML/1998/namespace" ImportSchema schemaLocation="xml.xsd" ImportSchema />
<xs:group name="sw-d-ph" NonIdentifierName ></xs:group>
<xs:group name="sw-d-keyword" NonIdentifierName ></xs:group>
<xs:group name="sw-d-pre" NonIdentifierName >
<xs:choice></xs:choice>
</xs:group>
<xs:element GlobalElementUnqualifiedType ElementTypeReferenceUnqualified name="msgph" IdentifierName GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified type="msgph.class" GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified >
<xs:annotation DocumentationElement >
<xs:documentation DocumentationElement >
The message phrase (<msgph>) element contains the text content of a message produced by an application or program. It can also contain the variable name (varname) element to illustrate where variable text content can occur in the message. This element is part of the DITA software domain, a special set of DITA elements designed to document software tasks, concepts and reference information.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType GlobalComplexType name="msgph.class" NonIdentifierName GlobalComplexType mixed="true" MixedContentType >
<xs:choice ComplexTypeChoice minOccurs="0" ChoiceMinOccurs0 maxOccurs="unbounded" ChoiceMaxOccursUnbounded >
<xs:group ref="words.cnt"/>
</xs:choice>
<xs:attribute ComplexTypeAttribute name="outputclass" IdentifierName ComplexTypeAttribute type="xs:string" StringAttribute />
<xs:attributeGroup AttributeGroup ref="univ-atts" AttributeGroup />
<xs:attributeGroup AttributeGroup ref="global-atts" AttributeGroup />
<xs:attribute AttributeReferenceUnqualified ref="class" AttributeReferenceUnqualified default="+ topic/ph sw-d/msgph " AttributeDefault />
</xs:complexType>
<xs:element GlobalElementUnqualifiedType ElementTypeReferenceUnqualified name="msgnum" IdentifierName GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified type="msgnum.class" GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified >
<xs:annotation DocumentationElement >
<xs:documentation DocumentationElement >
The message number (<
<keyword DocumentationElement >
msgnum
</keyword>
>) element contains the number of a message produced by an application or program. This element is part of the DITA software domain, a special set of DITA elements designed to document software tasks, concepts and reference information.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType GlobalComplexType ComplexTypeOnlyAttributeGroup name="msgnum.class" NonIdentifierName GlobalComplexType mixed="true" MixedContentType >
<xs:attribute ComplexTypeAttribute name="keyref" IdentifierName ComplexTypeAttribute type="xs:NMTOKEN" NMTOKENAttribute />
<xs:attribute ComplexTypeAttribute name="outputclass" IdentifierName ComplexTypeAttribute type="xs:string" StringAttribute />
<xs:attribute AttributeReferenceUnqualified ref="class" AttributeReferenceUnqualified default="+ topic/keyword sw-d/msgnum " AttributeDefault />
</xs:complexType>
<xs:element GlobalElementUnqualifiedType ElementTypeReferenceUnqualified name="varname" IdentifierName GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified type="varname.class" GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified >
<xs:annotation DocumentationElement >
<xs:documentation DocumentationElement >
The variable name (<
<keyword DocumentationElement >
varname
</keyword>
>) element defines a variable that must be supplied to a software application. The variable name element is very similar to the variable (var) element, but variable name is used outside of syntax diagrams, possibly within a message or API description to describe a system variable or environment variable. This element is part of the DITA software domain, a special set of DITA elements designed to document software tasks, concepts and reference information.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType GlobalComplexType ComplexTypeOnlyAttributeGroup name="varname.class" NonIdentifierName GlobalComplexType mixed="true" MixedContentType >
<xs:attribute ComplexTypeAttribute name="keyref" IdentifierName ComplexTypeAttribute type="xs:NMTOKEN" NMTOKENAttribute />
<xs:attribute ComplexTypeAttribute name="outputclass" IdentifierName ComplexTypeAttribute type="xs:string" StringAttribute />
<xs:attribute AttributeReferenceUnqualified ref="class" AttributeReferenceUnqualified default="+ topic/keyword sw-d/varname " AttributeDefault />
</xs:complexType>
<xs:element GlobalElementUnqualifiedType ElementTypeReferenceUnqualified name="msgblock" IdentifierName GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified type="msgblock.class" GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified >
<xs:annotation DocumentationElement >
<xs:documentation DocumentationElement >
The message block (<
<keyword DocumentationElement >
msgblock
</keyword>
>) element contains a multi-line message or set of messages. The message block can contain multiple message numbers and message descriptions, each enclosed in a <
<keyword DocumentationElement >
msgnum
</keyword>
> and <
<keyword DocumentationElement >
msgph
</keyword>
> element. It can also contain the message content directly. This element is part of the DITA software domain, a special set of DITA elements designed to document software tasks, concepts and reference information.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType GlobalComplexType name="msgblock.class" NonIdentifierName GlobalComplexType mixed="true" MixedContentType >
<xs:choice ComplexTypeChoice minOccurs="0" ChoiceMinOccurs0 maxOccurs="unbounded" ChoiceMaxOccursUnbounded >
<xs:group ref="words.cnt"/>
</xs:choice>
<xs:attribute ComplexTypeAttribute name="outputclass" IdentifierName ComplexTypeAttribute type="xs:string" StringAttribute />
<xs:attribute ComplexTypeAttribute name="spectitle" IdentifierName ComplexTypeAttribute type="xs:string" StringAttribute />
<xs:attribute AttributeReference ref="xml:space" AttributeReference fixed="preserve" AttributeFixed />
<xs:attributeGroup AttributeGroup ref="display-atts" AttributeGroup />
<xs:attributeGroup AttributeGroup ref="univ-atts" AttributeGroup />
<xs:attributeGroup AttributeGroup ref="global-atts" AttributeGroup />
<xs:attribute AttributeReferenceUnqualified ref="class" AttributeReferenceUnqualified default="+ topic/pre sw-d/msgblock " AttributeDefault />
</xs:complexType>
<xs:element GlobalElementUnqualifiedType ElementTypeReferenceUnqualified name="cmdname" IdentifierName GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified type="cmdname.class" GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified >
<xs:annotation DocumentationElement >
<xs:documentation DocumentationElement >
The command name (<cmdname>) element specifies the name of a command when it is part of a software discussion. This element is part of the DITA software domain, a special set of DITA elements designed to document software tasks, concepts and reference information.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType GlobalComplexType ComplexTypeOnlyAttributeGroup name="cmdname.class" NonIdentifierName GlobalComplexType mixed="true" MixedContentType >
<xs:attribute ComplexTypeAttribute name="keyref" IdentifierName ComplexTypeAttribute type="xs:NMTOKEN" NMTOKENAttribute />
<xs:attribute ComplexTypeAttribute name="outputclass" IdentifierName ComplexTypeAttribute type="xs:string" StringAttribute />
<xs:attribute AttributeReferenceUnqualified ref="class" AttributeReferenceUnqualified default="+ topic/keyword sw-d/cmdname " AttributeDefault />
</xs:complexType>
<xs:element GlobalElementUnqualifiedType ElementTypeReferenceUnqualified name="filepath" IdentifierName GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified type="filepath.class" GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified >
<xs:annotation DocumentationElement >
<xs:documentation DocumentationElement >
The <
<keyword DocumentationElement >
filepath
</keyword>
> element indicates the name and optionally the location of a referenced file by specifying the directory containing the file, and other directories that may precede it in the system hierarchy. This element is part of the DITA software domain, a special set of DITA elements designed to document software tasks, concepts and reference information.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType GlobalComplexType name="filepath.class" NonIdentifierName GlobalComplexType mixed="true" MixedContentType >
<xs:choice ComplexTypeChoice minOccurs="0" ChoiceMinOccurs0 maxOccurs="unbounded" ChoiceMaxOccursUnbounded >
<xs:group ref="words.cnt"/>
</xs:choice>
<xs:attribute ComplexTypeAttribute name="outputclass" IdentifierName ComplexTypeAttribute type="xs:string" StringAttribute />
<xs:attributeGroup AttributeGroup ref="univ-atts" AttributeGroup />
<xs:attributeGroup AttributeGroup ref="global-atts" AttributeGroup />
<xs:attribute AttributeReferenceUnqualified ref="class" AttributeReferenceUnqualified default="+ topic/ph sw-d/filepath " AttributeDefault />
</xs:complexType>
<xs:element GlobalElementUnqualifiedType ElementTypeReferenceUnqualified name="userinput" IdentifierName GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified type="userinput.class" GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified >
<xs:annotation DocumentationElement >
<xs:documentation DocumentationElement >
The user input (<
<keyword DocumentationElement >
userinput
</keyword>
>) element represens the text a user should input in response to a program or system prompt. This element is part of the DITA software domain, a special set of DITA elements designed to document software tasks, concepts and reference information.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType GlobalComplexType name="userinput.class" NonIdentifierName GlobalComplexType mixed="true" MixedContentType >
<xs:choice ComplexTypeChoice minOccurs="0" ChoiceMinOccurs0 maxOccurs="unbounded" ChoiceMaxOccursUnbounded >
<xs:group ref="words.cnt"/>
</xs:choice>
<xs:attribute ComplexTypeAttribute name="outputclass" IdentifierName ComplexTypeAttribute type="xs:string" StringAttribute />
<xs:attributeGroup AttributeGroup ref="univ-atts" AttributeGroup />
<xs:attributeGroup AttributeGroup ref="global-atts" AttributeGroup />
<xs:attribute AttributeReferenceUnqualified ref="class" AttributeReferenceUnqualified default="+ topic/ph sw-d/userinput " AttributeDefault />
</xs:complexType>
<xs:element GlobalElementUnqualifiedType ElementTypeReferenceUnqualified name="systemoutput" IdentifierName GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified type="systemoutput.class" GlobalElementUnqualifiedType ElementTypeDefaultNamespace ElementTypeReferenceUnqualified >
<xs:annotation DocumentationElement >
<xs:documentation DocumentationElement >
The system output (<
<keyword DocumentationElement >
systemoutput
</keyword>
>) element represents computer output or responses to a command or situation. A generalized element, it represents any kind of output from the computer, so the author may wish to choose more specific markup, such as msgph, for messages from the application. The system output element is part of the DITA software domain, a special set of DITA elements designed to document software tasks, concepts and reference information.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType GlobalComplexType name="systemoutput.class" NonIdentifierName GlobalComplexType mixed="true" MixedContentType >
<xs:choice ComplexTypeChoice minOccurs="0" ChoiceMinOccurs0 maxOccurs="unbounded" ChoiceMaxOccursUnbounded >
<xs:group ref="words.cnt"/>
</xs:choice>
<xs:attribute ComplexTypeAttribute name="outputclass" IdentifierName ComplexTypeAttribute type="xs:string" StringAttribute />
<xs:attributeGroup AttributeGroup ref="univ-atts" AttributeGroup />
<xs:attributeGroup AttributeGroup ref="global-atts" AttributeGroup />
<xs:attribute AttributeReferenceUnqualified ref="class" AttributeReferenceUnqualified default="+ topic/ph sw-d/systemoutput " AttributeDefault />
</xs:complexType>
</xs: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).