Another abandoned server code base... this is kind of an ancestor of taskrambler.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23130 lines
1.1 MiB

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-US" xmlns="http://www.w3.org/1999/xhtml" xml:lang=
"en-US">
<head>
<meta name="generator" content=
"HTML Tidy for Mac OS X (vers 31 October 2006 - Apple Inc. build 13), see www.w3.org" />
<title>Advanced XML Schema Patterns for Databinding Version
1.0</title>
<style type="text/css">
/*<![CDATA[*/
code { font-family: monospace; }
div.constraint,
div.issue,
div.note,
div.notice { margin-left: 2em; }
dt.label { display: run-in; }
li, p { margin-top: 0.3em;
margin-bottom: 0.3em; }
.diff-chg { background-color: yellow; }
.diff-del { background-color: red; text-decoration: line-through;}
.diff-add { background-color: lime; }
table { empty-cells: show; }
table caption {
font-weight: normal;
font-style: italic;
text-align: left;
margin-bottom: .5em;
}
div.issue {
color: red;
}
div.exampleInner pre { margin-left: 1em;
margin-top: 0em; margin-bottom: 0em}
div.exampleOuter {border: 4px double gray;
margin: 0em; padding: 0em}
div.exampleInner { background-color: #d5dee3;
border-top-width: 4px;
border-top-style: double;
border-top-color: #d3d3d3;
border-bottom-width: 4px;
border-bottom-style: double;
border-bottom-color: #d3d3d3;
padding: 4px; margin: 0em }
div.exampleWrapper { margin: 4px }
div.exampleHeader { font-weight: bold;
margin: 4px}
p { clear: both }
th
{
color: #000000;
background-color: #CCCC99;
}
span.test-assertion
{
background-color: #FFC0CB;
}
span.test-assertion-tr:hover
{
background-color: #FFC0CB;
}
.prefix
{
float:left; width: 15%;
background: yellow;
color: black;
border: solid black thin;
padding: .1em;
margin-left: 0%;
margin-right: 2%;
}
div.xpath
{
text-align: center;
background-color: #FFCC88;
border-top-width: 4px;
border-top-style: double;
border-top-color: #FFEECC;
border-bottom-width: 4px;
border-bottom-style: double;
border-bottom-color: #FFEECC;
padding: 8px;
margin: 0em
}
pre em
{
font-style: italic;
font-weight: bold;
}
/*]]>*/
</style>
<link rel="stylesheet" type="text/css" href=
"http://www.w3.org/StyleSheets/TR/W3C-WG-NOTE" />
<link rel="contents" href="#contents" />
</head>
<body>
<div class="head">
<p><a href="http://www.w3.org/"><img src=
"http://www.w3.org/Icons/w3c_home" alt="W3C" height="48" width=
"72" /></a></p>
<h1>Advanced XML Schema Patterns for Databinding Version 1.0</h1>
<h2>W3C Working Group Note 05 May 2009</h2>
<dl>
<dt>This version:</dt>
<dd><a href=
"http://www.w3.org/TR/2009/NOTE-xmlschema-patterns-advanced-20090505/">
http://www.w3.org/TR/2009/NOTE-xmlschema-patterns-advanced-20090505/</a></dd>
<dt>Latest version:</dt>
<dd><a href=
"http://www.w3.org/TR/xmlschema-patterns-advanced">http://www.w3.org/TR/xmlschema-patterns-advanced</a></dd>
<dt>Previous versions:</dt>
<dd><a href=
"http://www.w3.org/TR/2008/WD-xmlschema-patterns-advanced-20080328/">
http://www.w3.org/TR/2008/WD-xmlschema-patterns-advanced-20080328/</a></dd>
<dt>Editors:</dt>
<dd>Jonathan Calladine, BT</dd>
<dd>George Cowe, Origo Services Limited</dd>
<dd>Paul Downey, BT</dd>
<dd>Yves Lafon, W3C</dd>
</dl>
<p class="copyright"><a href=
"http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
© 2009 <a href="http://www.w3.org/"><acronym title=
"World Wide Web Consortium">W3C</acronym></a><sup>®</sup> (<a href=
"http://www.csail.mit.edu/"><acronym title=
"Massachusetts Institute of Technology">MIT</acronym></a>, <a href=
"http://www.ercim.org/"><acronym title=
"European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>,
<a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved.
W3C <a href=
"http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>,
<a href=
"http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a>
and <a href=
"http://www.w3.org/Consortium/Legal/copyright-documents">document
use</a> rules apply.</p>
</div>
<hr />
<div>
<h2><a name="abstract" id="abstract">Abstract</a></h2>
<p>This specification provides a set of commonly used <a href=
"#XMLSchema">[XML Schema 1.0]</a> patterns known to cause issues
with some state of the art databinding implementations. The
patterns in conjunction with the <a href="#BasicPatterns">[Basic
Patterns]</a> may be used to describe XML representations of
commonly used data structures. The data structures described are
intended to be independent of any particular programming language,
database or modelling environment.</p>
</div>
<div>
<h2><a name="status" id="status">Status of this Document</a></h2>
<p><em>This section describes the status of this document at the
time of its publication. Other documents may supersede this
document. A list of current W3C publications and the latest
revision of this technical report can be found in the <a href=
"http://www.w3.org/TR/">W3C technical reports index</a> at
http://www.w3.org/TR/.</em></p>
<p>This is a public Working Group Note produced by the <a href=
"http://www.w3.org/2002/ws/databinding/">XML Schema Patterns for
Databinding Working Group</a>, which is part of the <a href=
"http://www.w3.org/2002/ws/Activity">W3C Web Services Activity</a>.
This publication as a Working Group Note coincides with the end of
the Working Group's charter period, and represents the culmination
of the group's work.</p>
<p>This document was built using evidence and experience gained
examining the interoperability of a significant number of state of
the art databinding implementations using a <a href=
"http://www.w3.org/2002/ws/databinding/testsuite/">test suite</a>,
see the <a href=
"http://www.w3.org/2002/ws/databinding/edcopy/report/advanced.html">
Advanced Patterns Implementation Report</a> and a collection of
implementation reports including the <a href=
"http://www.w3.org/2002/ws/databinding/edcopy/collection/">collection</a>
of patterns detected from "the wild". Please send comments to the
public <a href=
"mailto:public-xsd-databinding-comments@w3.org">public-xsd-databinding-comments@w3.org</a>
mailing list (<a href=
"http://lists.w3.org/Archives/Public/public-xsd-databinding-comments/">public
archive</a>).</p>
<p>The Working Group also produced an accompanying <a href=
"#BasicPatterns">[Basic Patterns]</a> document, which includes
<a href="#XMLSchema">[XML Schema 1.0]</a> patterns in common use,
but which were discovered to be well supported by state of the art
databinding implementations.</p>
<p>Publication as a Working Group Note does not imply endorsement
by the W3C Membership. This is a draft document and may be updated,
replaced or obsoleted by other documents at any time. It is
inappropriate to cite this document as other than work in
progress.</p>
<p>This document was produced by a group operating under the
<a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5
February 2004 W3C Patent Policy</a>. W3C maintains a <a rel=
"disclosure" href=
"http://www.w3.org/2004/01/pp-impl/38435/status">public list of any
patent disclosures</a> made in connection with the deliverables of
the group; that page also includes instructions for disclosing a
patent. An individual who has actual knowledge of a patent which
the individual believes contains <a href=
"http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">
Essential Claim(s)</a> must disclose the information in accordance
with <a href=
"http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">
section 6 of the W3C Patent Policy</a>.</p>
</div>
<hr />
<div class="toc">
<h2><a name="contents" id="contents">Table of Contents</a></h2>
<p class="toc">1. <a href="#Introduction">Introduction</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;1.1 <a href="#notation">Notational
Conventions</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;1.2 <a href=
"#namespaces">Namespaces</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;1.3 <a href=
"#document-conformance">Document Conformance</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;1.4 <a href=
"#implementation-conformance">Implementation Conformance</a><br />
2. <a href="#patterns">Schema Patterns</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;2.1 <a href="#group-SchemaElement">Schema
Element</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;2.2 <a href=
"#group-Annotations">Annotations</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;2.3 <a href=
"#group-Properties">Properties</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;2.4 <a href="#group-Import">Import and
Include</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;2.5 <a href="#group-GlobalElement">Global
Element Declarations</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;2.6 <a href="#group-GlobalAttribute">Global
Attribute Declarations</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;2.7 <a href="#group-Element">Element
Declarations</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;2.8 <a href="#group-Attribute">Attribute
Declarations</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;2.9 <a href=
"#group-GlobalComplexType">Global ComplexType
Declarations</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;2.10 <a href="#group-SimpleType">SimpleType
Declarations</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;2.11 <a href=
"#group-ComplexType">ComplexType Declarations</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;2.12 <a href=
"#group-Sequence">Sequences</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;2.13 <a href=
"#group-Choice">Choices</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;2.14 <a href=
"#group-Unions">Unions</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;2.15 <a href="#group-lists">Lists</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;2.16 <a href=
"#group-ElementPredefinedTypes">Element Predefined Types</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;2.17 <a href=
"#group-AttributePredefinedTypes">Attribute Predefined
Types</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;2.18 <a href=
"#group-restriction">Restricted Schema Types</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;2.19 <a href=
"#group-numbers">Numbers</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;2.20 <a href="#group-Group">Group</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;2.21 <a href=
"#group-Redefines">Redefines</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;2.22 <a href=
"#group-Unique">Unique</a><br />
3. <a href="#structures">Data Types &amp; Structures</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;3.1 <a href="#default">Default
Value</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;3.2 <a href="#map">Map</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;3.3 <a href="#extended-enum">Extensible
Enumeration</a><br />
4. <a href="#refs">References</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;4.1 <a href="#normrefs">Normative
References</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;4.2 <a href="#informrefs">Informative
References</a><br /></p>
<h3><a name="appendix" id="appendix">Appendices</a></h3>
<p class="toc">A. <a href="#detection">Detecting Patterns</a>
(Non-Normative)<br />
B. <a href="#xpath-idioms">XPath 2.0 Idioms</a>
(Non-Normative)<br />
C. <a href="#patternsummary">Pattern Summary</a>
(Non-Normative)<br />
D. <a href="#assertionsummary">Assertion Summary</a>
(Non-Normative)<br />
E. <a href="#schemasummary">Supported XML Schema elements,
attributes and simple types</a> (Non-Normative)<br />
F. <a href="#WS-I">Relationship with the WS-I Basic Profile</a>
(Non-Normative)<br />
G. <a href="#acknowledgments">Acknowledgements</a>
(Non-Normative)<br /></p>
</div>
<hr />
<div class="body">
<div class="div1">
<h2><a name="Introduction" id="Introduction"></a>1.
Introduction</h2>
<p>A databinding tool generates a mapping between XML documents
which conform to an <a href="#XMLSchema">[XML Schema 1.0]</a>
schema and an internal data representation. For example, a Web
services databinding tool may use <a href="#XMLSchema">[XML Schema
1.0]</a> descriptions inside a <a href="#WSDL20">[WSDL 2.0]</a>
document to produce and consume <a href="#SOAP12">[SOAP 1.2]</a>
messages in terms of data structures in a programming language or
data held inside a database.</p>
<p>State of the art databinding implementations have displayed
uneven and inconsistent support of the W3C <a href=
"#XMLSchema">[XML Schema 1.0]</a> Recommendation. XML Schema
provides a wide variety of methods for describing the same XML
structure, conversely a concept such as "null" may be represented
in a wide variety of different ways.</p>
<p>The result of these issues is impaired interoperability and a
poor user experience of databinding tools:</p>
<ul>
<li>rejecting valid XML Schema documents,</li>
<li>rejecting valid XML instance documents, and</li>
<li>making the content of valid XML instance documents unavailable
in mapped data structures.</li>
</ul>
<p>This specification provides a advanced set of example <a href=
"#XMLSchema">[XML Schema 1.0]</a> constructs and types in the form
of concrete <a href="#XPath20">[XPath 2.0]</a> expressions. These
patterns are known to be in widespresd use and considered to be
compatible with databinding implementations.</p>
<p>Implementers of databinding tools may find these patterns useful
to represent simple and common place data structures. Ensuring
tools recognise at least these simple <a href="#XMLSchema">[XML
Schema 1.0]</a> patterns and present them in terms most appropriate
to the specific language, database or environment will provide an
improved user experience when using databinding tools. It is
inappropriate to use this specification to constrain the use of the
<a href="#XMLSchema">[XML Schema 1.0]</a> Recommendation.</p>
<div class="div2">
<h3><a name="notation" id="notation"></a>1.1 Notational
Conventions</h3>
<p>All parts of this specification are normative, with the
EXCEPTION of notes, examples, and sections explicitly marked as
Non-Normative.</p>
<p>The keywords "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL
NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL"
in this specification are to be interpreted as described in
<a href="#RFC2119">[RFC 2119]</a>.</p>
<p>Each <a href="#XMLSchema">[XML Schema 1.0]</a> pattern is
defined using a single <a href="#XPath20">[XPath 2.0]</a>
expression constraining one or more <a href="#XMLSchema">[XML
Schema 1.0]</a> items.</p>
<p id="ISSUE-52">Each <a href="#XMLSchema">[XML Schema 1.0]</a>
pattern is identified using a unique and stable URI <a href=
"#RFC3986">[RFC 3986]</a>.</p>
<p>Assertions about documents and implementations that are not
enforced by the normative patterns are marked by a dagger symbol
(†) at the end of a sentence. Each assertion has been assigned a
unique and stable identifier. The assertion identifiers may be used
by implementations of this specification for any purpose, such as
error reporting. The assertions and their identifiers are
summarized in section <a href="#assertionsummary"><b>D. Assertion
Summary</b></a>.</p>
</div>
<div class="div2">
<h3><a name="namespaces" id="namespaces"></a>1.2 Namespaces</h3>
<p>This specification uses a number of namespace prefixes
throughout; they are listed in <a href="#nsprefix">Table 1-1</a>.
Note that the choice of any namespace prefix is arbitrary and not
semantically significant (see <a href="#XMLNS">[XML
Namespaces]</a>).</p>
<a name="nsprefix" id="nsprefix"></a>
<table summary="Namespace prefixes usage in this specification"
border="1">
<caption>Table 1-1. Prefixes and Namespaces used in this
specification</caption>
<tbody>
<tr>
<th align="left" rowspan="1" colspan="1">Prefix</th>
<th align="left" rowspan="1" colspan="1">Namespace</th>
</tr>
<tr>
<td class="label" rowspan="1" colspan="1">xs</td>
<td rowspan="1" colspan="1">http://www.w3.org/2001/XMLSchema</td>
</tr>
<tr>
<td class="label" rowspan="1" colspan="1">xsi</td>
<td rowspan="1" colspan="1">
http://www.w3.org/2001/XMLSchema-instance</td>
</tr>
<tr>
<td class="label" rowspan="1" colspan="1">soap11</td>
<td rowspan="1" colspan="1">
http://schemas.xmlsoap.org/soap/envelope/</td>
</tr>
<tr>
<td class="label" rowspan="1" colspan="1">soap12</td>
<td rowspan="1" colspan="1">
http://www.w3.org/2003/05/soap-envelope</td>
</tr>
<tr>
<td class="label" rowspan="1" colspan="1">wsdl11</td>
<td rowspan="1" colspan="1">http://schemas.xmlsoap.org/wsdl/</td>
</tr>
<tr>
<td class="label" rowspan="1" colspan="1">wsdl20</td>
<td rowspan="1" colspan="1">http://www.w3.org/2005/08/wsdl</td>
</tr>
<tr>
<td class="label" rowspan="1" colspan="1">pat</td>
<td rowspan="1" colspan="1">
http://www.w3.org/2002/ws/databinding/patterns/6/09/</td>
</tr>
<tr>
<td class="label" rowspan="1" colspan="1">ex</td>
<td rowspan="1" colspan="1">
http://www.w3.org/2002/ws/databinding/examples/6/09/</td>
</tr>
</tbody>
</table>
<br /></div>
<div class="div2">
<h3><a name="document-conformance" id=
"document-conformance"></a>1.3 Document Conformance</h3>
<p id="ISSUE-40">A Document claiming conformance to this
specification:</p>
<ul>
<li><span id="assert-Unicode" class="test-assertion-tr">MUST use
either the UTF-8 or UTF-16 <a href="#Unicode">[Unicode]</a>
encoding.<sup><a href="#assert-Unicode-summary" title=
"Link to assertion assert-Unicode summary">†</a></sup></span></li>
<li><span id="assert-BOM" class="test-assertion-tr">MAY include the
<a href="#Unicode">[Unicode]</a> Byte Order Mark (<a href=
"#BOM">[BOM]</a>).<sup><a href="#assert-BOM-summary" title=
"Link to assertion assert-BOM summary">†</a></sup></span></li>
<li><span id="assert-XML10" class="test-assertion-tr">MUST be a
Well-formed <a href="#XML">[XML 1.0]</a> document<sup><a href=
"#assert-XML10-summary" title=
"Link to assertion assert-XML10 summary">†</a></sup></span></li>
<li><span id="assert-XMLSchema10" class="test-assertion-tr">MUST
conform to the <a href="#XMLSchema">[XML Schema 1.0]</a>
Recommendation<sup><a href="#assert-XMLSchema10-summary" title=
"Link to assertion assert-XMLSchema10 summary">†</a></sup></span></li>
<li><span id="assert-BasicPatterns" class="test-assertion-tr">MUST
only contain <a href="#XML">[XML 1.0]</a> element nodes and
attribute nodes which form a part of one or more complete patterns
contained in this and the <a href="#BasicPatterns">[Basic
Patterns]</a> specifications.<sup><a href=
"#assert-BasicPatterns-summary" title=
"Link to assertion assert-BasicPatterns summary">†</a></sup></span></li>
<li><span id="assert-CommentsAndPIs" class="test-assertion-tr">MAY
contain additional <a href="#XML">[XML 1.0]</a> comment nodes and
processing instruction nodes.<sup><a href=
"#assert-CommentsAndPIs-summary" title=
"Link to assertion assert-CommentsAndPIs summary">†</a></sup></span></li>
</ul>
</div>
<div class="div2">
<h3><a name="implementation-conformance" id=
"implementation-conformance"></a>1.4 Implementation
Conformance</h3>
<p>An implementation that claims conformance to this
specification:</p>
<ul>
<li><span id="assert-AnySchema" class="test-assertion-tr">MUST be
able to consume any valid <a href="#XMLSchema">[XML Schema 1.0]</a>
Document.<sup><a href="#assert-AnySchema-summary" title=
"Link to assertion assert-AnySchema summary">†</a></sup></span></li>
<li><span id="assert-SchemaValid" class="test-assertion-tr">MUST be
able to process any <a href="#XMLSchema">[XML Schema 1.0]</a>
Document conforming to this specification<sup><a href=
"#assert-SchemaValid-summary" title=
"Link to assertion assert-SchemaValid summary">†</a></sup></span></li>
<li><span id="assert-DataModel" class="test-assertion-tr">MUST
produce a data model exposing all of the <a href="#XML">[XML
1.0]</a> element node and attribute node content described by the
originating <a href="#XMLSchema">[XML Schema 1.0]</a>
Document.<sup><a href="#assert-DataModel-summary" title=
"Link to assertion assert-DataModel summary">†</a></sup></span></li>
<li><span id="assert-ConsumeXML" class="test-assertion-tr">MUST be
able to consume any Well-formed <a href="#XML">[XML 1.0]</a>
Document which satisfies local-schema validity against the
originating <a href="#XMLSchema">[XML Schema 1.0]</a> Document
exposing all of the <a href="#XML">[XML 1.0]</a> element node and
attribute node content in the data model.<sup><a href=
"#assert-ConsumeXML-summary" title=
"Link to assertion assert-ConsumeXML summary">†</a></sup></span></li>
<li><span id="assert-ProduceXML" class="test-assertion-tr">MUST be
able to produce Well-formed <a href="#XML">[XML 1.0]</a> instance
documents which satisfy local-schema validity against the
originating <a href="#XMLSchema">[XML Schema 1.0]</a> Document
containing values exposed in the data model.<sup><a href=
"#assert-ProduceXML-summary" title=
"Link to assertion assert-ProduceXML summary">†</a></sup></span></li>
<li><span id="assert-ConsumeInvalidAllowed" class=
"test-assertion-tr">MAY consume Well-formed <a href="#XML">[XML
1.0]</a> instance documents which do not satisfy local-schema
validity against the originating <a href="#XMLSchema">[XML Schema
1.0]</a> Document.<sup><a href=
"#assert-ConsumeInvalidAllowed-summary" title=
"Link to assertion assert-ConsumeInvalidAllowed summary">†</a></sup></span></li>
<li><span id="assert-ProduceInvalidAllowed" class=
"test-assertion-tr">MAY allow the production of Well-formed
<a href="#XML">[XML 1.0]</a> instance documents containing values
exposed in the data model which do not satisfy local-schema
validity against the originating <a href="#XMLSchema">[XML Schema
1.0]</a> Document.<sup><a href=
"#assert-ProduceInvalidAllowed-summary" title=
"Link to assertion assert-ProduceInvalidAllowed summary">†</a></sup></span></li>
</ul>
<p id="ISSUE-3">Describing the form of the data model provided by a
databinding implementation is beyond the scope of this
specification. For example, the unconstrained built-in numeric
primitive types, <code>xs:decimal</code>, <code>xs:integer</code>,
<code>xs:negativeInteger</code>, <code>xs:positiveInteger</code>,
<code>xs:nonNegativeInteger</code> and
<code>xs:nonPositiveInteger</code>, do not map directly to native
types in many programming languages and are likely to be presented
as a toolkit specific construct or more generalised ways, such as a
'string'.</p>
<p id="ISSUE-72">Note that although the patterns contained in this
document are defined using <a href="#XPath20">[XPath 2.0]</a>,
there is no requirement for a conformant implementation to support
<a href="#XPath20">[XPath 2.0]</a>.</p>
</div>
</div>
<div class="div1">
<h2><a name="patterns" id="patterns"></a>2. Schema Patterns</h2>
<p>This section defines the set of concrete <a href=
"#XMLSchema">[XML Schema 1.0]</a> patterns which may appear inside
a conformant document. A pattern definition includes the following
information:</p>
<dl>
<dt class="label"><a name="patterns-URI" id=
"patterns-URI"></a>URI</dt>
<dd>
<p>A URI <a href="#RFC3986">[RFC 3986]</a> is provided to identify
the pattern. The URI can be dereferenced to return informal
documentation for the pattern including a list of examples and
public schemas which exhibit the pattern.</p>
</dd>
<dt class="label"><a name="patterns-xpath" id=
"patterns-xpath"></a>XPath</dt>
<dd>
<p>A normative <a href="#XPath20">[XPath 2.0]</a> expression, used
to detect a pattern in an <a href="#XMLSchema">[XML Schema 1.0]</a>
document, returning a set of one or more XML element and attribute
nodes. The <a href="#XPath20">[XPath 2.0]</a> expression having a
context node of an <code>&lt;xs:schema&gt;</code> element node
which may be an <a href="#XMLSchema">[XML Schema 1.0]</a> document
element, or an <code>&lt;xs:schema&gt;</code> element contained
inside an <a href="#XML">[XML 1.0]</a> document such as <a href=
"#WSDL20">[WSDL 2.0]</a> description.</p>
<p>Note, the <a href="#XPath20">[XPath 2.0]</a> expressions used to
identify individual patterns may be wrapped inside an <a href=
"#XSLT20">[XSLT 2.0]</a> stylesheet or <a href=
"#Schematron">[Schematron]</a> schema and used to detect <a href=
"#XMLSchema">[XML Schema 1.0]</a> patterns contained in a <a href=
"#WSDL20">[WSDL 2.0]</a> or other document, see <a href=
"#detection"><b>A. Detecting Patterns</b></a> and <a href=
"#document-conformance"><b>1.3 Document Conformance</b></a>.
Readers unfamiliar with <a href="#XPath20">[XPath 2.0]</a> may find
the list of <a href="#xpath-idioms"><b>B. XPath 2.0 Idioms</b></a>
used within this specification useful.</p>
</dd>
<dt class="label"><a name="patterns-examples" id=
"patterns-examples"></a>Examples</dt>
<dd>
<p>Optionally one or more non-normative <a href="#XMLSchema">[XML
Schema 1.0]</a> documents or fragments, followed by one or more
valid instance document fragments.</p>
</dd>
</dl>
<p>A collection of patterns, including patterns beyond the scope of
this specification, are available from <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/">http://www.w3.org/2002/ws/databinding/patterns/6/09/</a>.
This document offers no additional semantics for the schema
patterns presented beyond those specified by the <a href=
"#XMLSchema">[XML Schema 1.0]</a> Recommendation.</p>
<div class="div2">
<h3><a name="group-SchemaElement" id="group-SchemaElement"></a>2.1
Schema Element</h3>
<div class="div3">
<h4><a name="pattern-NoTargetNamespace" id=
"pattern-NoTargetNamespace"></a>2.1.1 NoTargetNamespace</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NoTargetNamespace">
NoTargetNamespace</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NoTargetNamespace">
http://www.w3.org/2002/ws/databinding/patterns/6/09/NoTargetNamespace</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-NoTargetNamespace">
<code>.[not(@targetNamespace)]/ (.)</code></div>
<p>The following example <a href="#XMLSchema">[XML Schema 1.0]</a>
document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NoTargetNamespace">NoTargetNamespace</a>]
illustrates the use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NoTargetNamespace">
NoTargetNamespace</a> pattern:</p>
<div class="exampleInner">
<pre>
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:schema</b>&gt;
&lt;xs:element name="noTargetNamespace" type="xs:string" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:schema</b>&gt;
</pre></div>
<p id="instance-NoTargetNamespace01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NoTargetNamespace#NoTargetNamespace01">NoTargetNamespace01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;noTargetNamespace xsi:noNamespaceSchemaLocation="NoTargetNamespace.xsd"&gt;some data&lt;/noTargetNamespace&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-UnqualifiedLocalElements" id=
"pattern-UnqualifiedLocalElements"></a>2.1.2
UnqualifiedLocalElements</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnqualifiedLocalElements">
UnqualifiedLocalElements</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnqualifiedLocalElements">
http://www.w3.org/2002/ws/databinding/patterns/6/09/UnqualifiedLocalElements</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-UnqualifiedLocalElements">
<code>.[not(@elementFormDefault) or @elementFormDefault =
'unqualified']/ (., @elementFormDefault)</code></div>
<p>The following example <a href="#XMLSchema">[XML Schema 1.0]</a>
document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnqualifiedLocalElements">UnqualifiedLocalElements</a>]
illustrates the use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnqualifiedLocalElements">
UnqualifiedLocalElements</a> pattern:</p>
<div class="exampleInner">
<pre>
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:schema</b> targetNamespace="http://www.w3.org/2002/ws/databinding/examples/6/09/" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> elementFormDefault</b>="unqualified"&gt;
&lt;xs:element name="unqualifiedLocalElements" type="xs:string" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:schema</b>&gt;
</pre></div>
<p id="instance-UnqualifiedLocalElements01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnqualifiedLocalElements#UnqualifiedLocalElements01">UnqualifiedLocalElements01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;unqualifiedLocalElements&gt;some data&lt;/unqualifiedLocalElements&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-QualifiedLocalAttributes" id=
"pattern-QualifiedLocalAttributes"></a>2.1.3
QualifiedLocalAttributes</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/QualifiedLocalAttributes">
QualifiedLocalAttributes</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/QualifiedLocalAttributes">
http://www.w3.org/2002/ws/databinding/patterns/6/09/QualifiedLocalAttributes</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-QualifiedLocalAttributes">
<code>.[@attributeFormDefault = 'qualified']/
(@attributeFormDefault)</code></div>
<p>The following example <a href="#XMLSchema">[XML Schema 1.0]</a>
document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/QualifiedLocalAttributes">QualifiedLocalAttributes</a>]
illustrates the use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/QualifiedLocalAttributes">
QualifiedLocalAttributes</a> pattern:</p>
<div class="exampleInner">
<pre>
&lt;xs:schema targetNamespace="http://www.w3.org/2002/ws/databinding/examples/6/09/" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> attributeFormDefault</b>="qualified"&gt;
&lt;xs:element name="qualifiedLocalAttributes" type="xs:string" /&gt;
&lt;/xs:schema&gt;
</pre></div>
<p id="instance-QualifiedLocalAttributes01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/QualifiedLocalAttributes#QualifiedLocalAttributes01">QualifiedLocalAttributes01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:qualifiedLocalAttributes&gt;string&lt;/ex:qualifiedLocalAttributes&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-FinalDefault" id=
"pattern-FinalDefault"></a>2.1.4 FinalDefault</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/FinalDefault">FinalDefault</a>
pattern identified using the URI <a href="#RFC3986">[RFC 3986]</a>
<a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/FinalDefault">http://www.w3.org/2002/ws/databinding/patterns/6/09/FinalDefault</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-FinalDefault">
<code>./@finalDefault</code></div>
<p>The following example <a href="#XMLSchema">[XML Schema 1.0]</a>
document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/FinalDefault">FinalDefault</a>]
illustrates the use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/FinalDefault">FinalDefault</a>
pattern:</p>
<div class="exampleInner">
<pre>
&lt;xs:schema targetNamespace="http://www.w3.org/2002/ws/databinding/examples/6/09/" elementFormDefault="qualified" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> finalDefault</b>="#all"&gt;
&lt;xs:element name="finalDefault" type="xs:string" /&gt;
&lt;/xs:schema&gt;
</pre></div>
<p id="instance-FinalDefault01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/FinalDefault#FinalDefault01">FinalDefault01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:finalDefault&gt;foo&lt;/ex:finalDefault&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-BlockDefault" id=
"pattern-BlockDefault"></a>2.1.5 BlockDefault</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/BlockDefault">BlockDefault</a>
pattern identified using the URI <a href="#RFC3986">[RFC 3986]</a>
<a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/BlockDefault">http://www.w3.org/2002/ws/databinding/patterns/6/09/BlockDefault</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-BlockDefault">
<code>./@blockDefault</code></div>
<p>The following example <a href="#XMLSchema">[XML Schema 1.0]</a>
document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/BlockDefault">BlockDefault</a>]
illustrates the use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/BlockDefault">BlockDefault</a>
pattern:</p>
<div class="exampleInner">
<pre>
&lt;xs:schema targetNamespace="http://www.w3.org/2002/ws/databinding/examples/6/09/" elementFormDefault="qualified" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> blockDefault</b>="#all"&gt;
&lt;xs:element name="blockDefault" type="xs:string" /&gt;
&lt;/xs:schema&gt;
</pre></div>
<p id="instance-BlockDefault01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/BlockDefault#BlockDefault01">BlockDefault01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:blockDefault&gt;foo&lt;/ex:blockDefault&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-XmlLang" id="pattern-XmlLang"></a>2.1.6
XmlLang</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/XmlLang">XmlLang</a>
pattern identified using the URI <a href="#RFC3986">[RFC 3986]</a>
<a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/XmlLang">http://www.w3.org/2002/ws/databinding/patterns/6/09/XmlLang</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-XmlLang"><code>.[@xml:lang] /
(@xml:lang)</code></div>
<p>The following example <a href="#XMLSchema">[XML Schema 1.0]</a>
document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/XmlLang">XmlLang</a>]
illustrates the use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/XmlLang">XmlLang</a>
pattern:</p>
<div class="exampleInner">
<pre>
&lt;xs:schema targetNamespace="http://www.w3.org/2002/ws/databinding/examples/6/09/" elementFormDefault="qualified" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> xml:lang</b>="en"&gt;
&lt;xs:element name="xmlLang" type="xs:string" /&gt;
&lt;/xs:schema&gt;
</pre></div>
<p id="instance-XmlLang01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/XmlLang#XmlLang01">XmlLang01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:xmlLang&gt;foo&lt;/ex:xmlLang&gt;
</pre></div>
</div>
</div>
<div class="div2">
<h3><a name="group-Annotations" id="group-Annotations"></a>2.2
Annotations</h3>
<div class="div3">
<h4><a name="pattern-AppinfoElement" id=
"pattern-AppinfoElement"></a>2.2.1 AppinfoElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AppinfoElement">
AppinfoElement</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AppinfoElement">
http://www.w3.org/2002/ws/databinding/patterns/6/09/AppinfoElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-AppinfoElement">
<code>.//xs:annotation/xs:appinfo/ (.., ., .//*,
.//@*)</code></div>
<p id="example-AppinfoElement">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AppinfoElement">
AppinfoElement</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AppinfoElement">AppinfoElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="appinfoElement" type="xs:string"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:annotation</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:appinfo</b> /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:annotation</b>&gt;
&lt;/xs:element&gt;
</pre></div>
<p id="instance-AppinfoElement01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AppinfoElement#AppinfoElement01">AppinfoElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:appinfoElement&gt;some info&lt;/ex:appinfoElement&gt;
</pre></div>
</div>
</div>
<div class="div2">
<h3><a name="group-Properties" id="group-Properties"></a>2.3
Properties</h3>
<div class="div3">
<h4><a name="pattern-MixedComplexContent" id=
"pattern-MixedComplexContent"></a>2.3.1 MixedComplexContent</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/MixedComplexContent">
MixedComplexContent</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/MixedComplexContent">
http://www.w3.org/2002/ws/databinding/patterns/6/09/MixedComplexContent</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-MixedComplexContent">
<code>.//xs:complexContent[@mixed = 'true']/ (@mixed)</code></div>
<p id="example-MixedComplexContent">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/MixedComplexContent">
MixedComplexContent</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/MixedComplexContent">MixedComplexContent</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="mixedComplexContent" type="ex:MixedComplexContent" /&gt;
&lt;xs:complexType name="MixedComplexContent"&gt;
&lt;xs:complexContent <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> mixed</b>="true"&gt;
&lt;xs:restriction base="xs:anyType"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="element1" type="xs:string" /&gt;
&lt;xs:element name="element2" type="xs:string" /&gt;
&lt;xs:element name="element3" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:restriction&gt;
&lt;/xs:complexContent&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-MixedComplexContent01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/MixedComplexContent#MixedComplexContent01">MixedComplexContent01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:mixedComplexContent&gt;
&lt;ex:element1&gt;string&lt;/ex:element1&gt;
mixed content
&lt;ex:element2&gt;string&lt;/ex:element2&gt;
mixed content
&lt;ex:element3&gt;string&lt;/ex:element3&gt;
mixed content
&lt;/ex:mixedComplexContent&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-MixedContentType" id=
"pattern-MixedContentType"></a>2.3.2 MixedContentType</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/MixedContentType">
MixedContentType</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/MixedContentType">
http://www.w3.org/2002/ws/databinding/patterns/6/09/MixedContentType</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-MixedContentType">
<code>.//xs:complexType[@mixed = 'true']/ (@mixed)</code></div>
<p id="example-MixedContentType">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/MixedContentType">
MixedContentType</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/MixedContentType">MixedContentType</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="mixedContentType" type="ex:MixedContentType" /&gt;
&lt;xs:complexType name="MixedContentType" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> mixed</b>="true"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="elem1" type="xs:string" /&gt;
&lt;xs:element name="elem2" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-MixedContentType01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/MixedContentType#MixedContentType01">MixedContentType01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:mixedContentType&gt;
&lt;ex:elem1&gt;Tagged Value&lt;/ex:elem1&gt; mixed value &lt;ex:elem2&gt;Tagged Value&lt;/ex:elem2&gt;
&lt;/ex:mixedContentType&gt;
</pre></div>
<p id="instance-MixedContentType02">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/MixedContentType#MixedContentType02">MixedContentType02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:mixedContentType&gt; some text &lt;ex:elem1&gt;Tagged Value&lt;/ex:elem1&gt; more text &lt;ex:elem2&gt;Tagged
Value&lt;/ex:elem2&gt;
&lt;/ex:mixedContentType&gt;
</pre></div>
<p id="instance-MixedContentType03">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/MixedContentType#MixedContentType03">MixedContentType03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:mixedContentType&gt;
&lt;ex:elem1&gt;Tagged Value&lt;/ex:elem1&gt; mixed text value &lt;ex:elem2&gt;Tagged Value&lt;/ex:elem2&gt; mixed
text value &lt;/ex:mixedContentType&gt;
</pre></div>
<p id="instance-MixedContentType04">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/MixedContentType#MixedContentType04">MixedContentType04</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:mixedContentType&gt; text mixed value &lt;ex:elem1&gt;Tagged Value&lt;/ex:elem1&gt;
&lt;ex:elem2&gt;Tagged Value&lt;/ex:elem2&gt; some more text in a mixed value &lt;/ex:mixedContentType&gt;
</pre></div>
</div>
</div>
<div class="div2">
<h3><a name="group-Import" id="group-Import"></a>2.4 Import and
Include</h3>
<div class="div3">
<h4><a name="pattern-ImportSchemaNamespace" id=
"pattern-ImportSchemaNamespace"></a>2.4.1
ImportSchemaNamespace</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ImportSchemaNamespace">
ImportSchemaNamespace</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ImportSchemaNamespace">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ImportSchemaNamespace</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ImportSchemaNamespace">
<code>./xs:import[not(@schemaLocation) and @namespace =
'http://www.w3.org/2001/XMLSchema']/ (., @namespace)</code></div>
<p id="example-ImportSchemaNamespace">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ImportSchemaNamespace">
ImportSchemaNamespace</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ImportSchemaNamespace">ImportSchemaNamespace</a>]:</p>
<div class="exampleInner">
<pre>
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:import</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> namespace</b>="http://www.w3.org/2001/XMLSchema" /&gt;
</pre></div>
</div>
</div>
<div class="div2">
<h3><a name="group-GlobalElement" id="group-GlobalElement"></a>2.5
Global Element Declarations</h3>
<div class="div3">
<h4><a name="pattern-GlobalElementUnqualifiedType" id=
"pattern-GlobalElementUnqualifiedType"></a>2.5.1
GlobalElementUnqualifiedType</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementUnqualifiedType">
GlobalElementUnqualifiedType</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementUnqualifiedType">
http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementUnqualifiedType</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-GlobalElementUnqualifiedType">
<code>./xs:element[@name and @type and not(contains(@type, ':'))]/
(., @name, @type)</code></div>
<p id="example-GlobalElementUnqualifiedType">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementUnqualifiedType">
GlobalElementUnqualifiedType</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalElementUnqualifiedType">GlobalElementUnqualifiedType</a>]:</p>
<div class="exampleInner">
<pre>
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="globalElementUnqualifiedType" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="GlobalElementUnqualifiedType" /&gt;
&lt;xs:complexType name="GlobalElementUnqualifiedType"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="element1" type="xs:string" /&gt;
&lt;xs:element name="element2" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-GlobalElementUnqualifiedType01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalElementUnqualifiedType#GlobalElementUnqualifiedType01">GlobalElementUnqualifiedType01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:globalElementUnqualifiedType&gt;
&lt;ex:element1&gt;string1&lt;/ex:element1&gt;
&lt;ex:element2&gt;string2&lt;/ex:element2&gt;
&lt;/ex:globalElementUnqualifiedType&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ElementTypeDefaultNamespace" id=
"pattern-ElementTypeDefaultNamespace"></a>2.5.2
ElementTypeDefaultNamespace</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementTypeDefaultNamespace">
ElementTypeDefaultNamespace</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementTypeDefaultNamespace">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementTypeDefaultNamespace</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ElementTypeDefaultNamespace">
<code>.//xs:element[@name and @type and not(contains(@type, ':'))]/
(@name, @type)</code></div>
<p id="example-ElementTypeDefaultNamespace">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementTypeDefaultNamespace">
ElementTypeDefaultNamespace</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementTypeDefaultNamespace">ElementTypeDefaultNamespace</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="stringElementDefaultNamespace" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="string" /&gt;
</pre></div>
<p id="instance-ElementTypeDefaultNamespace01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementTypeDefaultNamespace#ElementTypeDefaultNamespace01">ElementTypeDefaultNamespace01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:stringElementDefaultNamespace/&gt;
</pre></div>
<p id="instance-ElementTypeDefaultNamespace02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementTypeDefaultNamespace#ElementTypeDefaultNamespace02">ElementTypeDefaultNamespace02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:stringElementDefaultNamespace&gt;This is a string!&lt;/ex:stringElementDefaultNamespace&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-GlobalElementAbstract" id=
"pattern-GlobalElementAbstract"></a>2.5.3
GlobalElementAbstract</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementAbstract">
GlobalElementAbstract</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementAbstract">
http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementAbstract</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-GlobalElementAbstract">
<code>./xs:element[@abstract='true']/ (@abstract)</code></div>
<p id="example-GlobalElementAbstract">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementAbstract">
GlobalElementAbstract</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalElementAbstract">GlobalElementAbstract</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="globalElementAbstract" type="ex:GlobalElementAbstract" /&gt;
&lt;xs:complexType name="GlobalElementAbstract"&gt;
&lt;xs:sequence&gt;
&lt;xs:element ref="ex:globalElementAbstractSubHead" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
&lt;xs:element name="globalElementAbstractSubHead" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> abstract</b>="true" /&gt;
&lt;xs:element name="globalElementAbstractSub" substitutionGroup="ex:globalElementAbstractSubHead" /&gt;
</pre></div>
<p id="instance-GlobalElementAbstract01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalElementAbstract#GlobalElementAbstract01">GlobalElementAbstract01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:globalElementAbstract&gt;
&lt;ex:globalElementAbstractSub&gt;String&lt;/ex:globalElementAbstractSub&gt;
&lt;/ex:globalElementAbstract&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-GlobalElementBlock" id=
"pattern-GlobalElementBlock"></a>2.5.4 GlobalElementBlock</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementBlock">
GlobalElementBlock</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementBlock">
http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementBlock</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-GlobalElementBlock">
<code>./xs:element/ (@block)</code></div>
<p id="example-GlobalElementBlock">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementBlock">
GlobalElementBlock</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalElementBlock">GlobalElementBlock</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="globalElementBlock" type="xs:string" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> block</b>="#all" /&gt;
</pre></div>
<p id="instance-GlobalElementBlockExample01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalElementBlock#GlobalElementBlockExample01">GlobalElementBlockExample01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:globalElementBlock&gt;Stuff&lt;/ex:globalElementBlock&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-GlobalElementFinal" id=
"pattern-GlobalElementFinal"></a>2.5.5 GlobalElementFinal</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementFinal">
GlobalElementFinal</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementFinal">
http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementFinal</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-GlobalElementFinal">
<code>./xs:element/ (@final)</code></div>
<p id="example-GlobalElementFinal">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementFinal">
GlobalElementFinal</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalElementFinal">GlobalElementFinal</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="globalElementFinal" type="xs:string" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> final</b>="#all" /&gt;
</pre></div>
<p id="instance-GlobalElementFinalExample01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalElementFinal#GlobalElementFinalExample01">GlobalElementFinalExample01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:globalElementFinal&gt;Stuff&lt;/ex:globalElementFinal&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-GlobalElementAll" id=
"pattern-GlobalElementAll"></a>2.5.6 GlobalElementAll</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementAll">
GlobalElementAll</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementAll">
http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementAll</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-GlobalElementAll">
<code>./xs:element[@name]/xs:complexType/xs:all[xs:element]/
(../../(., @name), .., ., xs:element/(., @name))</code></div>
<p id="example-GlobalElementAll">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementAll">
GlobalElementAll</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalElementAll">GlobalElementAll</a>]:</p>
<div class="exampleInner">
<pre>
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="globalElementAll"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexType</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:all</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="globalElementAllA" type="xs:string" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="globalElementAllB" type="xs:string" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:all</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexType</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b>&gt;
</pre></div>
<p id="instance-GlobalElementAll01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalElementAll#GlobalElementAll01">GlobalElementAll01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:globalElementAll&gt;
&lt;ex:globalElementAllA&gt;one&lt;/ex:globalElementAllA&gt;
&lt;ex:globalElementAllB&gt;42&lt;/ex:globalElementAllB&gt;
&lt;/ex:globalElementAll&gt;
</pre></div>
<p id="instance-GlobalElementAll02">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalElementAll#GlobalElementAll02">GlobalElementAll02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:globalElementAll&gt;
&lt;ex:globalElementAllB&gt;42&lt;/ex:globalElementAllB&gt;
&lt;ex:globalElementAllA&gt;douze&lt;/ex:globalElementAllA&gt;
&lt;/ex:globalElementAll&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-GlobalElementChoice" id=
"pattern-GlobalElementChoice"></a>2.5.7 GlobalElementChoice</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementChoice">
GlobalElementChoice</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementChoice">
http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementChoice</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-GlobalElementChoice">
<code>./xs:element[@name]/xs:complexType/xs:choice[xs:element]/
(../../(., @name), .., ., xs:element/(., @name))</code></div>
<p id="example-GlobalElementChoice">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementChoice">
GlobalElementChoice</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalElementChoice">GlobalElementChoice</a>]:</p>
<div class="exampleInner">
<pre>
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="globalElementChoice"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexType</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:choice</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="globalElementChoiceA" type="xs:string" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="globalElementChoiceB" type="xs:string" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:choice</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexType</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b>&gt;
</pre></div>
<p id="instance-GlobalElementChoice01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalElementChoice#GlobalElementChoice01">GlobalElementChoice01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:globalElementChoice&gt;
&lt;ex:globalElementChoiceA&gt;one&lt;/ex:globalElementChoiceA&gt;
&lt;/ex:globalElementChoice&gt;
</pre></div>
<p id="instance-GlobalElementChoice02">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalElementChoice#GlobalElementChoice02">GlobalElementChoice02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:globalElementChoice&gt;
&lt;ex:globalElementChoiceB&gt;two&lt;/ex:globalElementChoiceB&gt;
&lt;/ex:globalElementChoice&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-GlobalElementSimpleType" id=
"pattern-GlobalElementSimpleType"></a>2.5.8
GlobalElementSimpleType</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementSimpleType">
GlobalElementSimpleType</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementSimpleType">
http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementSimpleType</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-GlobalElementSimpleType">
<code>./xs:element[@name]/xs:simpleType/ (../(., @name),
.)</code></div>
<p id="example-GlobalElementSimpleType">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementSimpleType">
GlobalElementSimpleType</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalElementSimpleType">GlobalElementSimpleType</a>]:</p>
<div class="exampleInner">
<pre>
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="globalElementSimpleType"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:simpleType</b>&gt;
&lt;xs:restriction base="xs:string"&gt;
&lt;xs:enumeration value="value1" /&gt;
&lt;xs:enumeration value="value2" /&gt;
&lt;xs:enumeration value="value3" /&gt;
&lt;/xs:restriction&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:simpleType</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b>&gt;
</pre></div>
<p id="instance-GlobalElementSimpleType01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalElementSimpleType#GlobalElementSimpleType01">GlobalElementSimpleType01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:globalElementSimpleType&gt;value1&lt;/ex:globalElementSimpleType&gt;
</pre></div>
<p id="instance-GlobalElementSimpleType02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalElementSimpleType#GlobalElementSimpleType02">GlobalElementSimpleType02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:globalElementSimpleType&gt;value2&lt;/ex:globalElementSimpleType&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-GlobalElementComplexTypeSequenceExtension" id=
"pattern-GlobalElementComplexTypeSequenceExtension"></a>2.5.9
GlobalElementComplexTypeSequenceExtension</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementComplexTypeSequenceExtension">
GlobalElementComplexTypeSequenceExtension</a> pattern identified
using the URI <a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementComplexTypeSequenceExtension">
http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementComplexTypeSequenceExtension</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id=
"xpath-GlobalElementComplexTypeSequenceExtension">
<code>./xs:element[@name]/xs:complexType/xs:complexContent[xs:extension[@base]/xs:sequence]/
(../../(., @name), .., ., xs:extension/(., @base, xs:sequence/(.,
xs:element/(., @name), xs:attribute/(., @name))))</code></div>
<p id="example-GlobalElementComplexTypeSequenceExtension">The
following example <a href="#XMLSchema">[XML Schema 1.0]</a> extract
illustrates the use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementComplexTypeSequenceExtension">
GlobalElementComplexTypeSequenceExtension</a> pattern within an
<a href="#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalElementComplexTypeSequenceExtension">GlobalElementComplexTypeSequenceExtension</a>]:</p>
<div class="exampleInner">
<pre>
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="globalElementComplexTypeSequenceExtension"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexType</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexContent</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:extension</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:anyType"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:sequence</b> /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:extension</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexContent</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexType</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b>&gt;
</pre></div>
<p id="instance-GlobalElementComplexTypeSequenceExtension01">The
following example <a href="#XML">[XML 1.0]</a> element is valid
against the above example <a href="#XMLSchema">[XML Schema 1.0]</a>
when included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalElementComplexTypeSequenceExtension#GlobalElementComplexTypeSequenceExtension01">GlobalElementComplexTypeSequenceExtension01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:globalElementComplexTypeSequenceExtension&gt;
&lt;ex:data&gt; some data &lt;/ex:data&gt;
&lt;/ex:globalElementComplexTypeSequenceExtension&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-GlobalElementComplexTypeEmptyExtension" id=
"pattern-GlobalElementComplexTypeEmptyExtension"></a>2.5.10
GlobalElementComplexTypeEmptyExtension</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementComplexTypeEmptyExtension">
GlobalElementComplexTypeEmptyExtension</a> pattern identified using
the URI <a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementComplexTypeEmptyExtension">
http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementComplexTypeEmptyExtension</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id=
"xpath-GlobalElementComplexTypeEmptyExtension">
<code>./xs:element[@name]/xs:complexType/xs:complexContent[xs:extension[@base]/not(*)]/
(../../(., @name), .., ., xs:extension/(., @base))</code></div>
<p id="example-GlobalElementComplexTypeEmptyExtension">The
following example <a href="#XMLSchema">[XML Schema 1.0]</a> extract
illustrates the use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementComplexTypeEmptyExtension">
GlobalElementComplexTypeEmptyExtension</a> pattern within an
<a href="#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalElementComplexTypeEmptyExtension">GlobalElementComplexTypeEmptyExtension</a>]:</p>
<div class="exampleInner">
<pre>
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="globalElementComplexTypeEmptyExtension"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexType</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexContent</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:extension</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:anyType" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexContent</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexType</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b>&gt;
</pre></div>
<p id="instance-GlobalElementComplexTypeEmptyExtension01">The
following example <a href="#XML">[XML 1.0]</a> element is valid
against the above example <a href="#XMLSchema">[XML Schema 1.0]</a>
when included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalElementComplexTypeEmptyExtension#GlobalElementComplexTypeEmptyExtension01">GlobalElementComplexTypeEmptyExtension01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:globalElementComplexTypeEmptyExtension/&gt;
</pre></div>
</div>
</div>
<div class="div2">
<h3><a name="group-GlobalAttribute" id=
"group-GlobalAttribute"></a>2.6 Global Attribute Declarations</h3>
<div class="div3">
<h4><a name="pattern-GlobalAttributeUnqualifiedType" id=
"pattern-GlobalAttributeUnqualifiedType"></a>2.6.1
GlobalAttributeUnqualifiedType</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalAttributeUnqualifiedType">
GlobalAttributeUnqualifiedType</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalAttributeUnqualifiedType">
http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalAttributeUnqualifiedType</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-GlobalAttributeUnqualifiedType">
<code>./xs:attribute[@name and @type and not(contains(@type,
':'))]/ (., @name, @type)</code></div>
<p id="example-GlobalAttributeUnqualifiedType">The following
example <a href="#XMLSchema">[XML Schema 1.0]</a> extract
illustrates the use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalAttributeUnqualifiedType">
GlobalAttributeUnqualifiedType</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalAttributeUnqualifiedType">GlobalAttributeUnqualifiedType</a>]:</p>
<div class="exampleInner">
<pre>
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:attribute</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="globalAttributeUnqualifiedTypeAttr" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="GlobalAttributeUnqualifiedTypeSimpleType" /&gt;
&lt;xs:simpleType name="GlobalAttributeUnqualifiedTypeSimpleType"&gt;
&lt;xs:restriction base="xs:string"&gt;
&lt;xs:enumeration value="value1" /&gt;
&lt;xs:enumeration value="value2" /&gt;
&lt;/xs:restriction&gt;
&lt;/xs:simpleType&gt;
&lt;xs:complexType name="GlobalAttributeUnqualifiedType"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="globalAttributeUnqualifiedTypeElement" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute ref="ex:globalAttributeUnqualifiedTypeAttr" /&gt;
&lt;/xs:complexType&gt;
&lt;xs:element name="globalAttributeUnqualifiedType" type="ex:GlobalAttributeUnqualifiedType" /&gt;
</pre></div>
<p id="instance-GlobalAttributeUnqualifiedType01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalAttributeUnqualifiedType#GlobalAttributeUnqualifiedType01">GlobalAttributeUnqualifiedType01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:globalAttributeUnqualifiedType ex:globalAttributeUnqualifiedTypeAttr="value1"&gt;
&lt;ex:globalAttributeUnqualifiedTypeElement&gt;another string&lt;/ex:globalAttributeUnqualifiedTypeElement&gt;
&lt;/ex:globalAttributeUnqualifiedType&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-GlobalAttributeSimpleType" id=
"pattern-GlobalAttributeSimpleType"></a>2.6.2
GlobalAttributeSimpleType</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalAttributeSimpleType">
GlobalAttributeSimpleType</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalAttributeSimpleType">
http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalAttributeSimpleType</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-GlobalAttributeSimpleType">
<code>./xs:attribute/xs:simpleType/(../(., @name), .., .,
descendant::*, descendant::*/@value,
descendant::*/@base)</code></div>
<p id="example-GlobalAttributeSimpleType">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalAttributeSimpleType">
GlobalAttributeSimpleType</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalAttributeSimpleType">GlobalAttributeSimpleType</a>]:</p>
<div class="exampleInner">
<pre>
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:attribute</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="globalAttributeSimpleTypeAttr"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:simpleType</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:string"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="value1" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="value2" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="value3" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:simpleType</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:attribute</b>&gt;
&lt;xs:complexType name="globalAttributeSimpleTypeComplexType"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="globalAttributeSimpleTypeElement" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute ref="ex:globalAttributeSimpleTypeAttr" /&gt;
&lt;/xs:complexType&gt;
&lt;xs:element name="globalAttributeSimpleType" type="ex:globalAttributeSimpleTypeComplexType" /&gt;
</pre></div>
<p id="instance-GlobalAttributeSimpleType01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalAttributeSimpleType#GlobalAttributeSimpleType01">GlobalAttributeSimpleType01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:globalAttributeSimpleType ex:globalAttributeSimpleTypeAttr="value1"&gt;
&lt;ex:globalAttributeSimpleTypeElement&gt;string&lt;/ex:globalAttributeSimpleTypeElement&gt;
&lt;/ex:globalAttributeSimpleType&gt;
</pre></div>
</div>
</div>
<div class="div2">
<h3><a name="group-Element" id="group-Element"></a>2.7 Element
Declarations</h3>
<div class="div3">
<h4><a name="pattern-ElementMinOccursFinite" id=
"pattern-ElementMinOccursFinite"></a>2.7.1
ElementMinOccursFinite</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementMinOccursFinite">
ElementMinOccursFinite</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementMinOccursFinite">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementMinOccursFinite</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ElementMinOccursFinite">
<code>.//xs:element[xs:integer(@minOccurs) gt 1]/ (@minOccurs,
@maxOccurs)</code></div>
<p id="example-ElementMinOccursFinite">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementMinOccursFinite">
ElementMinOccursFinite</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementMinOccursFinite">ElementMinOccursFinite</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="elementMinOccursFinite" type="ex:ElementMinOccursFinite" /&gt;
&lt;xs:complexType name="ElementMinOccursFinite"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="elementMinOccursFiniteitem" type="xs:string" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> minOccurs</b>="3" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> maxOccurs</b>="3" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ElementMinOccursFinite01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementMinOccursFinite#ElementMinOccursFinite01">ElementMinOccursFinite01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:elementMinOccursFinite&gt;
&lt;ex:elementMinOccursFiniteitem&gt;item1&lt;/ex:elementMinOccursFiniteitem&gt;
&lt;ex:elementMinOccursFiniteitem&gt;item3&lt;/ex:elementMinOccursFiniteitem&gt;
&lt;ex:elementMinOccursFiniteitem&gt;item2&lt;/ex:elementMinOccursFiniteitem&gt;
&lt;/ex:elementMinOccursFinite&gt;
</pre></div>
<p id="example-ElementMinOccurs2MaxOccurs2">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementMinOccursFinite">
ElementMinOccursFinite</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementMinOccurs2MaxOccurs2">ElementMinOccurs2MaxOccurs2</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="itemColors2" type="ex:ItemColors2" /&gt;
&lt;xs:complexType name="ItemColors2"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="itemColor" type="xs:string" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> minOccurs</b>="2" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> maxOccurs</b>="2" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ElementMinOccurs2MaxOccurs201">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementMinOccurs2MaxOccurs2#ElementMinOccurs2MaxOccurs201">ElementMinOccurs2MaxOccurs201</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:itemColors2&gt;
&lt;ex:itemColor&gt;Red&lt;/ex:itemColor&gt;
&lt;ex:itemColor&gt;Yellow&lt;/ex:itemColor&gt;
&lt;/ex:itemColors2&gt;
</pre></div>
<p id="example-ElementMinOccurs2orMore">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementMinOccursFinite">
ElementMinOccursFinite</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementMinOccurs2orMore">ElementMinOccurs2orMore</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="itemColors" type="ex:ItemColors" /&gt;
&lt;xs:complexType name="ItemColors"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="itemColor" type="xs:string" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> minOccurs</b>="2" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> maxOccurs</b>="unbounded" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ElementMinOccurs2orMore01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementMinOccurs2orMore#ElementMinOccurs2orMore01">ElementMinOccurs2orMore01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:itemColors&gt;
&lt;ex:itemColor&gt;Red&lt;/ex:itemColor&gt;
&lt;ex:itemColor&gt;Black&lt;/ex:itemColor&gt;
&lt;ex:itemColor&gt;White&lt;/ex:itemColor&gt;
&lt;ex:itemColor&gt;Yellow&lt;/ex:itemColor&gt;
&lt;/ex:itemColors&gt;
</pre></div>
<p id="instance-ElementMinOccurs2orMore02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementMinOccurs2orMore#ElementMinOccurs2orMore02">ElementMinOccurs2orMore02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:itemColors&gt;
&lt;ex:itemColor&gt;Black&lt;/ex:itemColor&gt;
&lt;ex:itemColor&gt;White&lt;/ex:itemColor&gt;
&lt;/ex:itemColors&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ElementMinOccurs0MaxOccursFinite" id=
"pattern-ElementMinOccurs0MaxOccursFinite"></a>2.7.2
ElementMinOccurs0MaxOccursFinite</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementMinOccurs0MaxOccursFinite">
ElementMinOccurs0MaxOccursFinite</a> pattern identified using the
URI <a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementMinOccurs0MaxOccursFinite">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementMinOccurs0MaxOccursFinite</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ElementMinOccurs0MaxOccursFinite">
<code>.//xs:element[@minOccurs = '0' and @maxOccurs and
not(@maxOccurs = '0' or @maxOccurs = '1' or @maxOccurs =
'unbounded')]/ (@minOccurs, @maxOccurs)</code></div>
<p id="example-ElementMinOccurs0MaxOccursFinite">The following
example <a href="#XMLSchema">[XML Schema 1.0]</a> extract
illustrates the use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementMinOccurs0MaxOccursFinite">
ElementMinOccurs0MaxOccursFinite</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementMinOccurs0MaxOccursFinite">ElementMinOccurs0MaxOccursFinite</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="colorList" type="ex:ColorList" /&gt;
&lt;xs:complexType name="ColorList"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="colorValue" type="xs:string" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> minOccurs</b>="0" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> maxOccurs</b>="2" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ElementMinOccurs0MaxOccursFinite101">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementMinOccurs0MaxOccursFinite#ElementMinOccurs0MaxOccursFinite101">ElementMinOccurs0MaxOccursFinite101</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:colorList/&gt;
</pre></div>
<p id="instance-ElementMinOccurs0MaxOccursFinite102">as is the
following element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementMinOccurs0MaxOccursFinite#ElementMinOccurs0MaxOccursFinite102">ElementMinOccurs0MaxOccursFinite102</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:colorList&gt;
&lt;ex:colorValue&gt;red&lt;/ex:colorValue&gt;
&lt;ex:colorValue&gt;green&lt;/ex:colorValue&gt;
&lt;/ex:colorList&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ElementMaxOccursFinite" id=
"pattern-ElementMaxOccursFinite"></a>2.7.3
ElementMaxOccursFinite</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementMaxOccursFinite">
ElementMaxOccursFinite</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementMaxOccursFinite">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementMaxOccursFinite</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ElementMaxOccursFinite">
<code>.//xs:element[@maxOccurs and not(@maxOccurs = '0' or
@maxOccurs = '1' or @maxOccurs = 'unbounded')]/
(@maxOccurs)</code></div>
<p id="example-ElementMaxOccursFinite">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementMaxOccursFinite">
ElementMaxOccursFinite</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementMaxOccursFinite">ElementMaxOccursFinite</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="summer" type="ex:Summer" /&gt;
&lt;xs:complexType name="Summer"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="mnth" type="xs:string" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> maxOccurs</b>="4" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ElementMaxOccursFinite01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementMaxOccursFinite#ElementMaxOccursFinite01">ElementMaxOccursFinite01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:summer&gt;
&lt;ex:mnth&gt;May&lt;/ex:mnth&gt;
&lt;ex:mnth&gt;June&lt;/ex:mnth&gt;
&lt;ex:mnth&gt;July&lt;/ex:mnth&gt;
&lt;ex:mnth&gt;August&lt;/ex:mnth&gt;
&lt;/ex:summer&gt;
</pre></div>
<p id="instance-ElementMaxOccursFinite02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementMaxOccursFinite#ElementMaxOccursFinite02">ElementMaxOccursFinite02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:summer&gt;
&lt;ex:mnth&gt;August&lt;/ex:mnth&gt;
&lt;ex:mnth&gt;September&lt;/ex:mnth&gt;
&lt;/ex:summer&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ElementFormUnqualified" id=
"pattern-ElementFormUnqualified"></a>2.7.4
ElementFormUnqualified</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementFormUnqualified">
ElementFormUnqualified</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementFormUnqualified">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementFormUnqualified</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ElementFormUnqualified">
<code>.//xs:element[@form='unqualified']/ (@form)</code></div>
<p id="example-ElementFormUnqualified">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementFormUnqualified">
ElementFormUnqualified</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementFormUnqualified">ElementFormUnqualified</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="elementFormUnqualified" type="ex:ElementFormUnqualified" /&gt;
&lt;xs:complexType name="ElementFormUnqualified"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="element" type="xs:string" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> form</b>="unqualified" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ElementFormUnqualified01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementFormUnqualified#ElementFormUnqualified01">ElementFormUnqualified01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:elementFormUnqualified&gt;
&lt;element&gt;string&lt;/element&gt;
&lt;/ex:elementFormUnqualified&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ChoiceElement" id=
"pattern-ChoiceElement"></a>2.7.5 ChoiceElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ChoiceElement">
ChoiceElement</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ChoiceElement">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ChoiceElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ChoiceElement">
<code>.//xs:choice/xs:element/(.)</code></div>
<p id="example-ChoiceElement">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ChoiceElement">
ChoiceElement</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ChoiceElement">ChoiceElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="choiceElement" type="ex:ChoiceElement" /&gt;
&lt;xs:complexType name="ChoiceElement"&gt;
&lt;xs:choice&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b> name="AChoiceElement" type="xs:string" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b> name="BChoiceElement" type="xs:string" /&gt;
&lt;/xs:choice&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ChoiceElement01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ChoiceElement#ChoiceElement01">ChoiceElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:choiceElement&gt;
&lt;ex:AChoiceElement&gt;A&lt;/ex:AChoiceElement&gt;
&lt;/ex:choiceElement&gt;
</pre></div>
<p id="instance-ChoiceElement02">as is the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ChoiceElement#ChoiceElement02">ChoiceElement02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:choiceElement&gt;
&lt;ex:BChoiceElement&gt;B&lt;/ex:BChoiceElement&gt;
&lt;/ex:choiceElement&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-AllElement" id="pattern-AllElement"></a>2.7.6
AllElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AllElement">AllElement</a>
pattern identified using the URI <a href="#RFC3986">[RFC 3986]</a>
<a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AllElement">http://www.w3.org/2002/ws/databinding/patterns/6/09/AllElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-AllElement">
<code>.//xs:all/xs:element/(.)</code></div>
<p id="example-AllElement">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AllElement">AllElement</a>
pattern within an <a href="#XMLSchema">[XML Schema 1.0]</a>
document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AllElement">AllElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="allElement" type="ex:AllElement" /&gt;
&lt;xs:complexType name="AllElement"&gt;
&lt;xs:all&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b> name="element1" type="xs:string" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b> name="element2" type="xs:string" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b> name="element3" type="xs:string" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b> name="element4" type="xs:string" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b> name="element5" type="xs:string" /&gt;
&lt;/xs:all&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-AllElement01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AllElement#AllElement01">AllElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:allElement&gt;
&lt;ex:element1&gt;element1&lt;/ex:element1&gt;
&lt;ex:element2&gt;element2&lt;/ex:element2&gt;
&lt;ex:element3&gt;element3&lt;/ex:element3&gt;
&lt;ex:element4&gt;element4&lt;/ex:element4&gt;
&lt;ex:element5&gt;element5&lt;/ex:element5&gt;
&lt;/ex:allElement&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ElementFixed" id=
"pattern-ElementFixed"></a>2.7.7 ElementFixed</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementFixed">ElementFixed</a>
pattern identified using the URI <a href="#RFC3986">[RFC 3986]</a>
<a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementFixed">http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementFixed</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ElementFixed">
<code>.//xs:element[@fixed] / (@fixed)</code></div>
<p id="example-ElementFixed">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementFixed">ElementFixed</a>
pattern within an <a href="#XMLSchema">[XML Schema 1.0]</a>
document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementFixed">ElementFixed</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="elementFixed" type="xs:string" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> fixed</b>="yes" /&gt;
</pre></div>
<p id="instance-ElementFixed01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementFixed#ElementFixed01">ElementFixed01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:elementFixed&gt;yes&lt;/ex:elementFixed&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-AttributeElementNameClash" id=
"pattern-AttributeElementNameClash"></a>2.7.8
AttributeElementNameClash</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeElementNameClash">
AttributeElementNameClash</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeElementNameClash">
http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeElementNameClash</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-AttributeElementNameClash">
<code>.//xs:complexType/xs:sequence/xs:element[@name =
../../xs:attribute/@name]/ (@name)</code></div>
<p id="example-AttributeElementNameClash">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeElementNameClash">
AttributeElementNameClash</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AttributeElementNameClash">AttributeElementNameClash</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="clientDetails" type="ex:ClientDetails" /&gt;
&lt;xs:complexType name="ClientDetails"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="forename" type="xs:string" /&gt;
&lt;xs:element name="surname" type="xs:string" /&gt;
&lt;xs:element <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="title" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="phone" type="xs:string" /&gt;
&lt;xs:attribute name="title" type="xs:int" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-AttributeElementNameClash01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AttributeElementNameClash#AttributeElementNameClash01">AttributeElementNameClash01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:clientDetails phone="+15556667788" title="1"&gt;
&lt;ex:forename&gt;Bobby&lt;/ex:forename&gt;
&lt;ex:surname&gt;Sox&lt;/ex:surname&gt;
&lt;ex:title&gt;Mr&lt;/ex:title&gt;
&lt;/ex:clientDetails&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-NillableOptionalElement" id=
"pattern-NillableOptionalElement"></a>2.7.9
NillableOptionalElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NillableOptionalElement">
NillableOptionalElement</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NillableOptionalElement">
http://www.w3.org/2002/ws/databinding/patterns/6/09/NillableOptionalElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-NillableOptionalElement">
<code>.//xs:element[@nillable = 'true' and @minOccurs = '0']/
(@nillable, @minOccurs)</code></div>
<p id="ISSUE-7">Note, this specification places no particular
semantics on the difference between annotating an element with
<code>xsi:nil</code> and the absence of an element.</p>
<p id="example-NillableOptionalElement">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NillableOptionalElement">
NillableOptionalElement</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NillableOptionalElement">NillableOptionalElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="nillableOptionalMiddleName" type="ex:NillableOptionalMiddleName" /&gt;
&lt;xs:complexType name="NillableOptionalMiddleName"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="firstName" type="xs:string" /&gt;
&lt;xs:element name="middleName" type="xs:string" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> minOccurs</b>="0" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> nillable</b>="true" /&gt;
&lt;xs:element name="lastName" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-NillableOptionalElement01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NillableOptionalElement#NillableOptionalElement01">NillableOptionalElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:nillableOptionalMiddleName&gt;
&lt;ex:firstName&gt;Paul&lt;/ex:firstName&gt;
&lt;ex:lastName&gt;Downey&lt;/ex:lastName&gt;
&lt;/ex:nillableOptionalMiddleName&gt;
</pre></div>
<p id="instance-NillableOptionalElement02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NillableOptionalElement#NillableOptionalElement02">NillableOptionalElement02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:nillableOptionalMiddleName&gt;
&lt;ex:firstName&gt;Paul&lt;/ex:firstName&gt;
&lt;ex:middleName&gt;Sumner&lt;/ex:middleName&gt;
&lt;ex:lastName&gt;Downey&lt;/ex:lastName&gt;
&lt;/ex:nillableOptionalMiddleName&gt;
</pre></div>
<p id="instance-NillableOptionalElement03">and the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NillableOptionalElement#NillableOptionalElement03">NillableOptionalElement03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:nillableOptionalMiddleName&gt;
&lt;ex:firstName&gt;Paul&lt;/ex:firstName&gt;
&lt;ex:middleName xsi:nil="true"/&gt;
&lt;ex:lastName&gt;Downey&lt;/ex:lastName&gt;
&lt;/ex:nillableOptionalMiddleName&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ElementTypeReferenceUnqualified" id=
"pattern-ElementTypeReferenceUnqualified"></a>2.7.10
ElementTypeReferenceUnqualified</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementTypeReferenceUnqualified">
ElementTypeReferenceUnqualified</a> pattern identified using the
URI <a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementTypeReferenceUnqualified">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementTypeReferenceUnqualified</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ElementTypeReferenceUnqualified">
<code>.//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)</code></div>
<p id="example-ElementTypeReferenceUnqualified">The following
example <a href="#XMLSchema">[XML Schema 1.0]</a> extract
illustrates the use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementTypeReferenceUnqualified">
ElementTypeReferenceUnqualified</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementTypeReferenceUnqualified">ElementTypeReferenceUnqualified</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="elementTypeReferenceUnqualified" type="ex:ElementTypeReferenceUnqualified" /&gt;
&lt;xs:complexType name="ElementTypeReferenceUnqualifiedRef"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="referenced" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
&lt;xs:complexType name="ElementTypeReferenceUnqualified"&gt;
&lt;xs:sequence&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="text" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="ElementTypeReferenceUnqualifiedRef" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ElementTypeReferenceUnqualified01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementTypeReferenceUnqualified#ElementTypeReferenceUnqualified01">ElementTypeReferenceUnqualified01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:elementTypeReferenceUnqualified&gt;
&lt;ex:text&gt;
&lt;ex:referenced&gt;String&lt;/ex:referenced&gt;
&lt;/ex:text&gt;
&lt;/ex:elementTypeReferenceUnqualified&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ElementReferenceUnqualified" id=
"pattern-ElementReferenceUnqualified"></a>2.7.11
ElementReferenceUnqualified</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementReferenceUnqualified">
ElementReferenceUnqualified</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementReferenceUnqualified">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementReferenceUnqualified</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ElementReferenceUnqualified">
<code>.//xs:element[@ref and not(contains(@ref, ':'))]/ (.,
@ref)</code></div>
<p id="example-ElementReferenceUnqualified">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementReferenceUnqualified">
ElementReferenceUnqualified</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementReferenceUnqualified">ElementReferenceUnqualified</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="elementReferenceUnqualified" type="ex:ElementReferenceUnqualified" /&gt;
&lt;xs:element name="elementReferenceUnqualifiedElement1" type="xs:string" /&gt;
&lt;xs:element name="elementReferenceUnqualifiedElement2" type="xs:string" /&gt;
&lt;xs:complexType name="ElementReferenceUnqualified"&gt;
&lt;xs:sequence&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> ref</b>="elementReferenceUnqualifiedElement1" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> ref</b>="elementReferenceUnqualifiedElement2" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ElementReferenceUnqualified01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementReferenceUnqualified#ElementReferenceUnqualified01">ElementReferenceUnqualified01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:elementReferenceUnqualified&gt;
&lt;ex:elementReferenceUnqualifiedElement1&gt;String&lt;/ex:elementReferenceUnqualifiedElement1&gt;
&lt;ex:elementReferenceUnqualifiedElement2&gt;String&lt;/ex:elementReferenceUnqualifiedElement2&gt;
&lt;/ex:elementReferenceUnqualified&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-LocalElementSimpleType" id=
"pattern-LocalElementSimpleType"></a>2.7.12
LocalElementSimpleType</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/LocalElementSimpleType">
LocalElementSimpleType</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/LocalElementSimpleType">
http://www.w3.org/2002/ws/databinding/patterns/6/09/LocalElementSimpleType</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-LocalElementSimpleType">
<code>.//xs:element[not(parent::xs:schema)]/xs:simpleType</code></div>
<p id="example-LocalElementSimpleType">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/LocalElementSimpleType">
LocalElementSimpleType</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/LocalElementSimpleType">LocalElementSimpleType</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="localElementSimpleType" type="ex:LocalElementSimpleType" /&gt;
&lt;xs:complexType name="LocalElementSimpleType"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="localElement"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:simpleType</b>&gt;
&lt;xs:restriction base="xs:string"&gt;
&lt;xs:enumeration value="First" /&gt;
&lt;xs:enumeration value="Second" /&gt;
&lt;xs:enumeration value="Third" /&gt;
&lt;/xs:restriction&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:simpleType</b>&gt;
&lt;/xs:element&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-LocalElementSimpleType01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/LocalElementSimpleType#LocalElementSimpleType01">LocalElementSimpleType01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:localElementSimpleType&gt;
&lt;ex:localElement&gt;First&lt;/ex:localElement&gt;
&lt;/ex:localElementSimpleType&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-LocalElementComplexTypeEmptyExtension" id=
"pattern-LocalElementComplexTypeEmptyExtension"></a>2.7.13
LocalElementComplexTypeEmptyExtension</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/LocalElementComplexTypeEmptyExtension">
LocalElementComplexTypeEmptyExtension</a> pattern identified using
the URI <a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/LocalElementComplexTypeEmptyExtension">
http://www.w3.org/2002/ws/databinding/patterns/6/09/LocalElementComplexTypeEmptyExtension</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id=
"xpath-LocalElementComplexTypeEmptyExtension">
<code>.//xs:element[not(parent::xs:schema)]/xs:complexType[not(@name)]/xs:complexContent[xs:extension[@base]/not(*)]/
(../../(., @name), .., ., xs:extension/(., @base))</code></div>
<p id="example-LocalElementComplexTypeEmptyExtension">The following
example <a href="#XMLSchema">[XML Schema 1.0]</a> extract
illustrates the use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/LocalElementComplexTypeEmptyExtension">
LocalElementComplexTypeEmptyExtension</a> pattern within an
<a href="#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/LocalElementComplexTypeEmptyExtension">LocalElementComplexTypeEmptyExtension</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="localElementComplexTypeEmptyExtension"&gt;
&lt;xs:complexType&gt;
&lt;xs:sequence&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="extensionElement"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexType</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexContent</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:extension</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="ex:ExtensionType" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexContent</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexType</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b>&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
&lt;/xs:element&gt;
&lt;xs:complexType name="ExtensionType"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="element1" type="xs:string" /&gt;
&lt;xs:element name="element2" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-LocalElementComplexTypeEmptyExtension01">The
following example <a href="#XML">[XML 1.0]</a> element is valid
against the above example <a href="#XMLSchema">[XML Schema 1.0]</a>
when included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/LocalElementComplexTypeEmptyExtension#LocalElementComplexTypeEmptyExtension01">LocalElementComplexTypeEmptyExtension01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:localElementComplexTypeEmptyExtension&gt;
&lt;ex:extensionElement&gt;
&lt;ex:element1&gt;string&lt;/ex:element1&gt;
&lt;ex:element2&gt;string&lt;/ex:element2&gt;
&lt;/ex:extensionElement&gt;
&lt;/ex:localElementComplexTypeEmptyExtension&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ElementDefaultAnyType" id=
"pattern-ElementDefaultAnyType"></a>2.7.14
ElementDefaultAnyType</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementDefaultAnyType">
ElementDefaultAnyType</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementDefaultAnyType">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementDefaultAnyType</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ElementDefaultAnyType">
<code>.//xs:element[@name and not(@type) and ./not(xs:simpleType or
xs:complexType or xs:unique or xs:key or
xs:keyref)]/(.)</code></div>
<p id="example-ElementDefaultAnyType">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementDefaultAnyType">
ElementDefaultAnyType</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementDefaultAnyType">ElementDefaultAnyType</a>]:</p>
<div class="exampleInner">
<pre>
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b> name="elementDefaultAnyType" /&gt;
</pre></div>
<p id="instance-ElementDefaultAnyType01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementDefaultAnyType#ElementDefaultAnyType01">ElementDefaultAnyType01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:elementDefaultAnyType/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ElementKey" id="pattern-ElementKey"></a>2.7.15
ElementKey</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementKey">ElementKey</a>
pattern identified using the URI <a href="#RFC3986">[RFC 3986]</a>
<a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementKey">http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementKey</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ElementKey">
<code>.//xs:element/xs:key[xs:selector and xs:field]/(.,
xs:selector, xs:selector/(@xpath), xs:field,
xs:field/(@xpath))</code></div>
<p id="example-ElementKey">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementKey">ElementKey</a>
pattern within an <a href="#XMLSchema">[XML Schema 1.0]</a>
document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementKey">ElementKey</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="elementKey" type="ex:ElementKey"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:key</b> name="key"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:selector</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> xpath</b>=".//item" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:field</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> xpath</b>="number" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:key</b>&gt;
&lt;/xs:element&gt;
&lt;xs:complexType name="ElementKey"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="item" type="ex:itemType" maxOccurs="unbounded" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
&lt;xs:complexType name="itemType"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="number" type="xs:integer" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ElementKey01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementKey#ElementKey01">ElementKey01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:elementKey&gt;
&lt;ex:item&gt;
&lt;ex:number&gt;1234&lt;/ex:number&gt;
&lt;/ex:item&gt;
&lt;/ex:elementKey&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-MaxOccurs0" id="pattern-MaxOccurs0"></a>2.7.16
MaxOccurs0</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/MaxOccurs0">MaxOccurs0</a>
pattern identified using the URI <a href="#RFC3986">[RFC 3986]</a>
<a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/MaxOccurs0">http://www.w3.org/2002/ws/databinding/patterns/6/09/MaxOccurs0</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-MaxOccurs0">
<code>.//xs:element[@maxOccurs='0']/(., @maxOccurs,
@minOccurs)</code></div>
<p id="example-MaxOccurs0">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/MaxOccurs0">MaxOccurs0</a>
pattern within an <a href="#XMLSchema">[XML Schema 1.0]</a>
document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/MaxOccurs0">MaxOccurs0</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="maxOccurs0" type="ex:MaxOccurs0" /&gt;
&lt;xs:complexType name="MaxOccurs0"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="element1" type="xs:string" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b> name="element2" type="xs:string" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> maxOccurs</b>="0" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> minOccurs</b>="0" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-MaxOccurs001">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/MaxOccurs0#MaxOccurs001">MaxOccurs001</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:maxOccurs0&gt;
&lt;ex:element1&gt;string1&lt;/ex:element1&gt;
&lt;/ex:maxOccurs0&gt;
</pre></div>
</div>
</div>
<div class="div2">
<h3><a name="group-Attribute" id="group-Attribute"></a>2.8
Attribute Declarations</h3>
<div class="div3">
<h4><a name="pattern-AttributeFormQualified" id=
"pattern-AttributeFormQualified"></a>2.8.1
AttributeFormQualified</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeFormQualified">
AttributeFormQualified</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeFormQualified">
http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeFormQualified</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-AttributeFormQualified">
<code>.//xs:attribute[@form='qualified']/ (@form)</code></div>
<p id="example-AttributeFormQualified">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeFormQualified">
AttributeFormQualified</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AttributeFormQualified">AttributeFormQualified</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="attributeFormQualified" type="ex:AttributeFormQualified" /&gt;
&lt;xs:complexType name="AttributeFormQualified"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="element1" type="xs:string" /&gt;
&lt;xs:element name="element2" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="attribute" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> form</b>="qualified" type="xs:string" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-AttributeFormQualified01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AttributeFormQualified#AttributeFormQualified01">AttributeFormQualified01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:attributeFormQualified ex:attribute="string"&gt;
&lt;ex:element1&gt;string&lt;/ex:element1&gt;
&lt;ex:element2&gt;string&lt;/ex:element2&gt;
&lt;/ex:attributeFormQualified&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ElementDefault" id=
"pattern-ElementDefault"></a>2.8.2 ElementDefault</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementDefault">
ElementDefault</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementDefault">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementDefault</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ElementDefault"><code>.//xs:element/
(@default)</code></div>
<p id="example-GlobalElementDefault">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementDefault">
ElementDefault</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalElementDefault">GlobalElementDefault</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="globalElementDefault" type="xs:string" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> default</b>="theDefaultValue" /&gt;
</pre></div>
<p id="instance-GlobalElementDefault01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalElementDefault#GlobalElementDefault01">GlobalElementDefault01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:globalElementDefault/&gt;
</pre></div>
<p id="instance-GlobalElementDefault02">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalElementDefault#GlobalElementDefault02">GlobalElementDefault02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:globalElementDefault&gt;theDefaultValue&lt;/ex:globalElementDefault&gt;
</pre></div>
<p id="instance-GlobalElementDefault03">and the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalElementDefault#GlobalElementDefault03">GlobalElementDefault03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:globalElementDefault&gt;anotherValue&lt;/ex:globalElementDefault&gt;
</pre></div>
<p id="example-ElementDefault">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementDefault">
ElementDefault</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementDefault">ElementDefault</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="elementDefault" type="ex:ElementDefault" /&gt;
&lt;xs:complexType name="ElementDefault"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="element" type="xs:string" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> default</b>="default" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ElementDefault01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementDefault#ElementDefault01">ElementDefault01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:elementDefault&gt;
&lt;ex:element&gt;default&lt;/ex:element&gt;
&lt;/ex:elementDefault&gt;
</pre></div>
<p id="instance-ElementDefault02">as is the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementDefault#ElementDefault02">ElementDefault02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:elementDefault&gt;
&lt;ex:element&gt;wrong value&lt;/ex:element&gt;
&lt;/ex:elementDefault&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-AttributeRequired" id=
"pattern-AttributeRequired"></a>2.8.3 AttributeRequired</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeRequired">
AttributeRequired</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeRequired">
http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeRequired</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-AttributeRequired">
<code>.//xs:attribute[@use = 'required']/ (@use)</code></div>
<p id="example-AttributeRequired">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeRequired">
AttributeRequired</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AttributeRequired">AttributeRequired</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="attributeRequired" type="ex:AttributeRequired" /&gt;
&lt;xs:complexType name="AttributeRequired"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="percentage" type="xs:int" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="id" type="xs:string" /&gt;
&lt;xs:attribute name="seasonal" type="xs:string" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> use</b>="required" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-AttributeRequired01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AttributeRequired#AttributeRequired01">AttributeRequired01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:attributeRequired id="1611" seasonal="yes"&gt;
&lt;ex:percentage&gt;5&lt;/ex:percentage&gt;
&lt;/ex:attributeRequired&gt;
</pre></div>
<p id="instance-AttributeRequired02">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AttributeRequired#AttributeRequired02">AttributeRequired02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:attributeRequired id="1612" seasonal="no"&gt;
&lt;ex:percentage&gt;2&lt;/ex:percentage&gt;
&lt;/ex:attributeRequired&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-AttributeFixed" id=
"pattern-AttributeFixed"></a>2.8.4 AttributeFixed</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeFixed">
AttributeFixed</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeFixed">
http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeFixed</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-AttributeFixed">
<code>.//xs:attribute[@fixed] / (@fixed)</code></div>
<p id="example-AttributeFixed">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeFixed">
AttributeFixed</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AttributeFixed">AttributeFixed</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="attributeFixed" type="ex:AttributeFixed" /&gt;
&lt;xs:complexType name="AttributeFixed"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="fee" type="xs:int" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="id" type="xs:string" /&gt;
&lt;xs:attribute name="currency" type="xs:string" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> fixed</b>="GBP" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-AttributeFixed01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AttributeFixed#AttributeFixed01">AttributeFixed01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:attributeFixed id="1511" currency="GBP"&gt;
&lt;ex:fee&gt;500&lt;/ex:fee&gt;
&lt;/ex:attributeFixed&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-AttributeDefault" id=
"pattern-AttributeDefault"></a>2.8.5 AttributeDefault</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeDefault">
AttributeDefault</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeDefault">
http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeDefault</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-AttributeDefault">
<code>.//xs:attribute[@default] / (@default)</code></div>
<p id="example-AttributeDefault">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeDefault">
AttributeDefault</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AttributeDefault">AttributeDefault</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="attributeDefault" type="ex:AttributeDefault" /&gt;
&lt;xs:complexType name="AttributeDefault"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="text" type="xs:string" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="defaultedValue" type="xs:string" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> default</b>="theDefaultValue" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-AttributeDefault01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AttributeDefault#AttributeDefault01">AttributeDefault01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:attributeDefault/&gt;
</pre></div>
<p id="instance-AttributeDefault02">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AttributeDefault#AttributeDefault02">AttributeDefault02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:attributeDefault defaultedValue="theDefaultValue"/&gt;
</pre></div>
<p id="instance-AttributeDefault03">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AttributeDefault#AttributeDefault03">AttributeDefault03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:attributeDefault defaultedValue=""/&gt;
</pre></div>
<p id="instance-AttributeDefault04">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AttributeDefault#AttributeDefault04">AttributeDefault04</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:attributeDefault defaultedValue="anotherValue"/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-AttributeReferenceUnqualified" id=
"pattern-AttributeReferenceUnqualified"></a>2.8.6
AttributeReferenceUnqualified</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeReferenceUnqualified">
AttributeReferenceUnqualified</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeReferenceUnqualified">
http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeReferenceUnqualified</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-AttributeReferenceUnqualified">
<code>.//xs:attribute[@ref and not(contains(@ref, ':'))]/ (.,
@ref)</code></div>
<p id="example-AttributeReferenceUnqualified">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeReferenceUnqualified">
AttributeReferenceUnqualified</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AttributeReferenceUnqualified">AttributeReferenceUnqualified</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="attributeReferenceUnqualified" type="ex:AttributeReferenceUnqualified" /&gt;
&lt;xs:attribute name="attributeReferenceUnqualifiedAtt" type="xs:string" /&gt;
&lt;xs:complexType name="AttributeReferenceUnqualified"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="firstElement" type="xs:string" /&gt;
&lt;xs:element name="lastElement" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:attribute</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> ref</b>="attributeReferenceUnqualifiedAtt" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-AttributeReferenceUnqualified01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AttributeReferenceUnqualified#AttributeReferenceUnqualified01">AttributeReferenceUnqualified01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:attributeReferenceUnqualified ex:attributeReferenceUnqualifiedAtt="String"&gt;
&lt;ex:firstElement&gt;String&lt;/ex:firstElement&gt;
&lt;ex:lastElement&gt;String&lt;/ex:lastElement&gt;
&lt;/ex:attributeReferenceUnqualified&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-AttributeTypeReferenceUnqualified" id=
"pattern-AttributeTypeReferenceUnqualified"></a>2.8.7
AttributeTypeReferenceUnqualified</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeTypeReferenceUnqualified">
AttributeTypeReferenceUnqualified</a> pattern identified using the
URI <a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeTypeReferenceUnqualified">
http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeTypeReferenceUnqualified</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-AttributeTypeReferenceUnqualified">
<code>.//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)</code></div>
<p id="example-AttributeTypeReferenceUnqualified">The following
example <a href="#XMLSchema">[XML Schema 1.0]</a> extract
illustrates the use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeTypeReferenceUnqualified">
AttributeTypeReferenceUnqualified</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AttributeTypeReferenceUnqualified">AttributeTypeReferenceUnqualified</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="attributeTypeReferenceUnqualified" type="ex:AttributeTypeReferenceUnqualified" /&gt;
&lt;xs:simpleType name="AttributeTypeReferenceUnqualifiedType"&gt;
&lt;xs:restriction base="xs:decimal"&gt;
&lt;xs:totalDigits value="3" /&gt;
&lt;/xs:restriction&gt;
&lt;/xs:simpleType&gt;
&lt;xs:complexType name="AttributeTypeReferenceUnqualified"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="firstElement" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:attribute</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="localAttribute" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="AttributeTypeReferenceUnqualifiedType" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-AttributeTypeReferenceUnqualified01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AttributeTypeReferenceUnqualified#AttributeTypeReferenceUnqualified01">AttributeTypeReferenceUnqualified01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:attributeTypeReferenceUnqualified localAttribute="123"&gt;
&lt;ex:firstElement&gt;String&lt;/ex:firstElement&gt;
&lt;/ex:attributeTypeReferenceUnqualified&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-LocalAttributeSimpleType" id=
"pattern-LocalAttributeSimpleType"></a>2.8.8
LocalAttributeSimpleType</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/LocalAttributeSimpleType">
LocalAttributeSimpleType</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/LocalAttributeSimpleType">
http://www.w3.org/2002/ws/databinding/patterns/6/09/LocalAttributeSimpleType</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-LocalAttributeSimpleType">
<code>.//xs:attribute[not(parent::xs:schema)]/xs:simpleType</code></div>
<p id="example-LocalAttributeSimpleType">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/LocalAttributeSimpleType">
LocalAttributeSimpleType</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/LocalAttributeSimpleType">LocalAttributeSimpleType</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="localAttributeSimpleType" type="ex:LocalAttributeSimpleType" /&gt;
&lt;xs:complexType name="LocalAttributeSimpleType"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="localElement1" type="xs:string" /&gt;
&lt;xs:element name="localElement2" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="localAttribute"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:simpleType</b>&gt;
&lt;xs:restriction base="xs:string"&gt;
&lt;xs:enumeration value="First" /&gt;
&lt;xs:enumeration value="Second" /&gt;
&lt;xs:enumeration value="Third" /&gt;
&lt;/xs:restriction&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:simpleType</b>&gt;
&lt;/xs:attribute&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-LocalAttributeSimpleType01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/LocalAttributeSimpleType#LocalAttributeSimpleType01">LocalAttributeSimpleType01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:localAttributeSimpleType localAttribute="First"&gt;
&lt;ex:localElement1&gt;String&lt;/ex:localElement1&gt;
&lt;ex:localElement2&gt;String&lt;/ex:localElement2&gt;
&lt;/ex:localAttributeSimpleType&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-AttributeProhibited" id=
"pattern-AttributeProhibited"></a>2.8.9 AttributeProhibited</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeProhibited">
AttributeProhibited</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeProhibited">
http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeProhibited</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-AttributeProhibited">
<code>.//xs:attribute[@use = 'prohibited']/ (@use)</code></div>
<p id="example-AttributeProhibited">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeProhibited">
AttributeProhibited</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AttributeProhibited">AttributeProhibited</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="attributeProhibited" type="ex:AttributeProhibited" /&gt;
&lt;xs:complexType name="AttributeProhibited"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="element1" type="xs:string" /&gt;
&lt;xs:element name="element2" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="prohibitedAttribute" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> use</b>="prohibited" type="xs:string" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-AttributeProhibited01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AttributeProhibited#AttributeProhibited01">AttributeProhibited01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:attributeProhibited&gt;
&lt;ex:element1&gt;element1&lt;/ex:element1&gt;
&lt;ex:element2&gt;element2&lt;/ex:element2&gt;
&lt;/ex:attributeProhibited&gt;
</pre></div>
</div>
</div>
<div class="div2">
<h3><a name="group-GlobalComplexType" id=
"group-GlobalComplexType"></a>2.9 Global ComplexType
Declarations</h3>
<div class="div3">
<h4><a name="pattern-GlobalComplexTypeAbstract" id=
"pattern-GlobalComplexTypeAbstract"></a>2.9.1
GlobalComplexTypeAbstract</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalComplexTypeAbstract">
GlobalComplexTypeAbstract</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalComplexTypeAbstract">
http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalComplexTypeAbstract</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-GlobalComplexTypeAbstract">
<code>./xs:complexType[@abstract='true']/ (@abstract)</code></div>
<p id="example-GlobalComplexTypeAbstract">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalComplexTypeAbstract">
GlobalComplexTypeAbstract</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalComplexTypeAbstract">GlobalComplexTypeAbstract</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="globalComplexTypeAbstract" type="ex:GlobalComplexTypeAbstract" /&gt;
&lt;xs:complexType name="GlobalComplexTypeExtra" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> abstract</b>="true"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="premium" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
&lt;xs:complexType name="GlobalComplexTypeAbstract"&gt;
&lt;xs:complexContent&gt;
&lt;xs:extension base="ex:GlobalComplexTypeExtra" /&gt;
&lt;/xs:complexContent&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-GlobalComplexTypeAbstractExample01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalComplexTypeAbstract#GlobalComplexTypeAbstractExample01">GlobalComplexTypeAbstractExample01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:globalComplexTypeAbstract&gt;
&lt;ex:premium&gt;1175&lt;/ex:premium&gt;
&lt;/ex:globalComplexTypeAbstract&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-GlobalComplexTypeBlock" id=
"pattern-GlobalComplexTypeBlock"></a>2.9.2
GlobalComplexTypeBlock</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalComplexTypeBlock">
GlobalComplexTypeBlock</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalComplexTypeBlock">
http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalComplexTypeBlock</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-GlobalComplexTypeBlock">
<code>./xs:complexType/ (@block)</code></div>
<p id="example-GlobalComplexTypeBlock">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalComplexTypeBlock">
GlobalComplexTypeBlock</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalComplexTypeBlock">GlobalComplexTypeBlock</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="globalComplexTypeBlock" type="ex:BlockAll" /&gt;
&lt;xs:complexType name="BlockAll" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> block</b>="#all"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="amount" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-GlobalComplexTypeBlockExample01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalComplexTypeBlock#GlobalComplexTypeBlockExample01">GlobalComplexTypeBlockExample01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:globalComplexTypeBlock&gt;
&lt;ex:amount&gt;1175&lt;/ex:amount&gt;
&lt;/ex:globalComplexTypeBlock&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-GlobalComplexTypeEmptyExtension" id=
"pattern-GlobalComplexTypeEmptyExtension"></a>2.9.3
GlobalComplexTypeEmptyExtension</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalComplexTypeEmptyExtension">
GlobalComplexTypeEmptyExtension</a> pattern identified using the
URI <a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalComplexTypeEmptyExtension">
http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalComplexTypeEmptyExtension</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-GlobalComplexTypeEmptyExtension">
<code>./xs:complexType[@name]/xs:complexContent[xs:extension[@base]/not(*)]/
(../../(., @name), .., ., xs:extension/(., @base))</code></div>
<p id="example-GlobalComplexTypeEmptyExtension">The following
example <a href="#XMLSchema">[XML Schema 1.0]</a> extract
illustrates the use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalComplexTypeEmptyExtension">
GlobalComplexTypeEmptyExtension</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalComplexTypeEmptyExtension">GlobalComplexTypeEmptyExtension</a>]:</p>
<div class="exampleInner">
<pre>
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexType</b> name="GlobalComplexTypeEmptyExtension"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexContent</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:extension</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:anyType" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexContent</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexType</b>&gt;
&lt;xs:element name="globalComplexTypeEmptyExtension" type="ex:GlobalComplexTypeEmptyExtension" /&gt;
</pre></div>
<p id="instance-GlobalComplexTypeEmptyExtension01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalComplexTypeEmptyExtension#GlobalComplexTypeEmptyExtension01">GlobalComplexTypeEmptyExtension01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:globalComplexTypeEmptyExtension/&gt;
</pre></div>
</div>
</div>
<div class="div2">
<h3><a name="group-SimpleType" id="group-SimpleType"></a>2.10
SimpleType Declarations</h3>
<div class="div3">
<h4><a name="pattern-NMTOKENEnumerationType" id=
"pattern-NMTOKENEnumerationType"></a>2.10.1
NMTOKENEnumerationType</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NMTOKENEnumerationType">
NMTOKENEnumerationType</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NMTOKENEnumerationType">
http://www.w3.org/2002/ws/databinding/patterns/6/09/NMTOKENEnumerationType</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-NMTOKENEnumerationType">
<code>.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:NMTOKEN') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</code></div>
<p id="example-NMTOKENEnumerationType">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NMTOKENEnumerationType">
NMTOKENEnumerationType</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NMTOKENEnumerationType">NMTOKENEnumerationType</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="nMTOKENEnumerationType" type="ex:NMTOKENEnumerationType" /&gt;
&lt;xs:simpleType name="NMTOKENEnumerationType"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:NMTOKEN"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="token1" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="token2" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="token3" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-NMTOKENEnumerationType01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NMTOKENEnumerationType#NMTOKENEnumerationType01">NMTOKENEnumerationType01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:nMTOKENEnumerationType&gt;token1&lt;/ex:nMTOKENEnumerationType&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-IntEnumerationType" id=
"pattern-IntEnumerationType"></a>2.10.2 IntEnumerationType</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IntEnumerationType">
IntEnumerationType</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IntEnumerationType">
http://www.w3.org/2002/ws/databinding/patterns/6/09/IntEnumerationType</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-IntEnumerationType">
<code>.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:int') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</code></div>
<p id="example-IntEnumerationType">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IntEnumerationType">
IntEnumerationType</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IntEnumerationType">IntEnumerationType</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="intEnumerationType" type="ex:IntEnumerationType" /&gt;
&lt;xs:simpleType name="IntEnumerationType"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:int"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="2" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="3" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="5" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="7" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-IntEnumerationType01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IntEnumerationType#IntEnumerationType01">IntEnumerationType01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:intEnumerationType&gt;2&lt;/ex:intEnumerationType&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ShortEnumerationType" id=
"pattern-ShortEnumerationType"></a>2.10.3 ShortEnumerationType</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ShortEnumerationType">
ShortEnumerationType</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ShortEnumerationType">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ShortEnumerationType</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ShortEnumerationType">
<code>.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:short') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</code></div>
<p id="example-ShortEnumerationType">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ShortEnumerationType">
ShortEnumerationType</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ShortEnumerationType">ShortEnumerationType</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="shortEnumerationType" type="ex:ShortEnumerationType" /&gt;
&lt;xs:simpleType name="ShortEnumerationType"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:short"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="7" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="11" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="13" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-ShortEnumerationType01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ShortEnumerationType#ShortEnumerationType01">ShortEnumerationType01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:shortEnumerationType&gt;11&lt;/ex:shortEnumerationType&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-LongEnumerationType" id=
"pattern-LongEnumerationType"></a>2.10.4 LongEnumerationType</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/LongEnumerationType">
LongEnumerationType</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/LongEnumerationType">
http://www.w3.org/2002/ws/databinding/patterns/6/09/LongEnumerationType</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-LongEnumerationType">
<code>.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:long') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</code></div>
<p id="example-LongEnumerationType">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/LongEnumerationType">
LongEnumerationType</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/LongEnumerationType">LongEnumerationType</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="longEnumerationType" type="ex:LongEnumerationType" /&gt;
&lt;xs:simpleType name="LongEnumerationType"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:long"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="9152052" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="7816230" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="7235733" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-LongEnumerationType01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/LongEnumerationType#LongEnumerationType01">LongEnumerationType01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:longEnumerationType&gt;9152052&lt;/ex:longEnumerationType&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-DoubleEnumerationType" id=
"pattern-DoubleEnumerationType"></a>2.10.5
DoubleEnumerationType</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DoubleEnumerationType">
DoubleEnumerationType</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DoubleEnumerationType">
http://www.w3.org/2002/ws/databinding/patterns/6/09/DoubleEnumerationType</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-DoubleEnumerationType">
<code>.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:double') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</code></div>
<p id="example-DoubleEnumerationType">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DoubleEnumerationType">
DoubleEnumerationType</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DoubleEnumerationType">DoubleEnumerationType</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="doubleEnumerationType" type="ex:DoubleEnumerationType" /&gt;
&lt;xs:simpleType name="DoubleEnumerationType"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:double"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="1267.43233E12" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="7234.34541E12" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="5733.65565E12" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-DoubleEnumerationType01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DoubleEnumerationType#DoubleEnumerationType01">DoubleEnumerationType01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:doubleEnumerationType&gt;1267.43233E12&lt;/ex:doubleEnumerationType&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-IntegerEnumerationType" id=
"pattern-IntegerEnumerationType"></a>2.10.6
IntegerEnumerationType</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IntegerEnumerationType">
IntegerEnumerationType</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IntegerEnumerationType">
http://www.w3.org/2002/ws/databinding/patterns/6/09/IntegerEnumerationType</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-IntegerEnumerationType">
<code>.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:integer') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</code></div>
<p id="example-IntegerEnumerationType">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IntegerEnumerationType">
IntegerEnumerationType</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IntegerEnumerationType">IntegerEnumerationType</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="integerEnumerationType" type="ex:IntegerEnumerationType" /&gt;
&lt;xs:simpleType name="IntegerEnumerationType"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:integer"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="4000000" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="5000000" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="6000000" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-IntegerEnumerationType01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IntegerEnumerationType#IntegerEnumerationType01">IntegerEnumerationType01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:integerEnumerationType&gt;4000000&lt;/ex:integerEnumerationType&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-DecimalEnumerationType" id=
"pattern-DecimalEnumerationType"></a>2.10.7
DecimalEnumerationType</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DecimalEnumerationType">
DecimalEnumerationType</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DecimalEnumerationType">
http://www.w3.org/2002/ws/databinding/patterns/6/09/DecimalEnumerationType</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-DecimalEnumerationType">
<code>.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:decimal') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</code></div>
<p id="example-DecimalEnumerationType">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DecimalEnumerationType">
DecimalEnumerationType</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DecimalEnumerationType">DecimalEnumerationType</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="decimalEnumerationType" type="ex:DecimalEnumerationType" /&gt;
&lt;xs:simpleType name="DecimalEnumerationType"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:decimal"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="+1000.0001" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="-1000.0001" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="1000.0002" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-DecimalEnumerationType01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DecimalEnumerationType#DecimalEnumerationType01">DecimalEnumerationType01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:decimalEnumerationType&gt;1000.0002&lt;/ex:decimalEnumerationType&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-FloatEnumerationType" id=
"pattern-FloatEnumerationType"></a>2.10.8 FloatEnumerationType</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/FloatEnumerationType">
FloatEnumerationType</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/FloatEnumerationType">
http://www.w3.org/2002/ws/databinding/patterns/6/09/FloatEnumerationType</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-FloatEnumerationType">
<code>.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:float') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</code></div>
<p id="example-FloatEnumerationType">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/FloatEnumerationType">
FloatEnumerationType</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/FloatEnumerationType">FloatEnumerationType</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="floatEnumerationType" type="ex:FloatEnumerationType" /&gt;
&lt;xs:simpleType name="FloatEnumerationType"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:float"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="1267.43233E12" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="7234.34541E12" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="5733.65565E12" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-FloatEnumerationType01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/FloatEnumerationType#FloatEnumerationType01">FloatEnumerationType01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:floatEnumerationType&gt;1267.43233E12&lt;/ex:floatEnumerationType&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-NonNegativeIntegerEnumerationType" id=
"pattern-NonNegativeIntegerEnumerationType"></a>2.10.9
NonNegativeIntegerEnumerationType</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NonNegativeIntegerEnumerationType">
NonNegativeIntegerEnumerationType</a> pattern identified using the
URI <a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NonNegativeIntegerEnumerationType">
http://www.w3.org/2002/ws/databinding/patterns/6/09/NonNegativeIntegerEnumerationType</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-NonNegativeIntegerEnumerationType">
<code>.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:nonNegativeInteger') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</code></div>
<p id="example-NonNegativeIntegerEnumerationType">The following
example <a href="#XMLSchema">[XML Schema 1.0]</a> extract
illustrates the use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NonNegativeIntegerEnumerationType">
NonNegativeIntegerEnumerationType</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NonNegativeIntegerEnumerationType">NonNegativeIntegerEnumerationType</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="nonNegativeIntegerEnumerationType" type="ex:NonNegativeIntegerEnumerationType" /&gt;
&lt;xs:simpleType name="NonNegativeIntegerEnumerationType"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:nonNegativeInteger"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="12" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="24" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="33" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-NonNegativeIntegerEnumerationType01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NonNegativeIntegerEnumerationType#NonNegativeIntegerEnumerationType01">NonNegativeIntegerEnumerationType01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:nonNegativeIntegerEnumerationType&gt;12&lt;/ex:nonNegativeIntegerEnumerationType&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-PositiveIntegerEnumerationType" id=
"pattern-PositiveIntegerEnumerationType"></a>2.10.10
PositiveIntegerEnumerationType</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/PositiveIntegerEnumerationType">
PositiveIntegerEnumerationType</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/PositiveIntegerEnumerationType">
http://www.w3.org/2002/ws/databinding/patterns/6/09/PositiveIntegerEnumerationType</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-PositiveIntegerEnumerationType">
<code>.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:positiveInteger') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</code></div>
<p id="example-PositiveIntegerEnumerationType">The following
example <a href="#XMLSchema">[XML Schema 1.0]</a> extract
illustrates the use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/PositiveIntegerEnumerationType">
PositiveIntegerEnumerationType</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/PositiveIntegerEnumerationType">PositiveIntegerEnumerationType</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="positiveIntegerEnumerationType" type="ex:PositiveIntegerEnumerationType" /&gt;
&lt;xs:simpleType name="PositiveIntegerEnumerationType"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:positiveInteger"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="12" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="24" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="33" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-PositiveIntegerEnumerationType01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/PositiveIntegerEnumerationType#PositiveIntegerEnumerationType01">PositiveIntegerEnumerationType01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:positiveIntegerEnumerationType&gt;12&lt;/ex:positiveIntegerEnumerationType&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-UnsignedIntEnumerationType" id=
"pattern-UnsignedIntEnumerationType"></a>2.10.11
UnsignedIntEnumerationType</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedIntEnumerationType">
UnsignedIntEnumerationType</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedIntEnumerationType">
http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedIntEnumerationType</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-UnsignedIntEnumerationType">
<code>.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:unsignedInt') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</code></div>
<p id="example-UnsignedIntEnumerationType">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedIntEnumerationType">
UnsignedIntEnumerationType</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedIntEnumerationType">UnsignedIntEnumerationType</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="unsignedIntEnumerationType" type="ex:UnsignedIntEnumerationType" /&gt;
&lt;xs:simpleType name="UnsignedIntEnumerationType"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:unsignedInt"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="1111111111" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="2222222222" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="3333333333" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-UnsignedIntEnumerationType01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedIntEnumerationType#UnsignedIntEnumerationType01">UnsignedIntEnumerationType01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedIntEnumerationType&gt;3333333333&lt;/ex:unsignedIntEnumerationType&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-UnsignedLongEnumerationType" id=
"pattern-UnsignedLongEnumerationType"></a>2.10.12
UnsignedLongEnumerationType</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedLongEnumerationType">
UnsignedLongEnumerationType</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedLongEnumerationType">
http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedLongEnumerationType</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-UnsignedLongEnumerationType">
<code>.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:unsignedLong') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</code></div>
<p id="example-UnsignedLongEnumerationType">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedLongEnumerationType">
UnsignedLongEnumerationType</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedLongEnumerationType">UnsignedLongEnumerationType</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="unsignedLongEnumerationType" type="ex:UnsignedLongEnumerationType" /&gt;
&lt;xs:simpleType name="UnsignedLongEnumerationType"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:unsignedLong"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="11111111111111" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="22222222222222" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="33333333333333" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-UnsignedLongEnumerationType01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedLongEnumerationType#UnsignedLongEnumerationType01">UnsignedLongEnumerationType01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedLongEnumerationType&gt;33333333333333&lt;/ex:unsignedLongEnumerationType&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-UnsignedShortEnumerationType" id=
"pattern-UnsignedShortEnumerationType"></a>2.10.13
UnsignedShortEnumerationType</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedShortEnumerationType">
UnsignedShortEnumerationType</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedShortEnumerationType">
http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedShortEnumerationType</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-UnsignedShortEnumerationType">
<code>.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:unsignedShort') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</code></div>
<p id="example-UnsignedShortEnumerationType">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedShortEnumerationType">
UnsignedShortEnumerationType</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedShortEnumerationType">UnsignedShortEnumerationType</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="unsignedShortEnumerationType" type="ex:UnsignedShortEnumerationType" /&gt;
&lt;xs:simpleType name="UnsignedShortEnumerationType"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:unsignedShort"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="1111" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="2222" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="3333" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-UnsignedShortEnumerationType01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedShortEnumerationType#UnsignedShortEnumerationType01">UnsignedShortEnumerationType01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedShortEnumerationType&gt;3333&lt;/ex:unsignedShortEnumerationType&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-TokenEnumerationType" id=
"pattern-TokenEnumerationType"></a>2.10.14
TokenEnumerationType</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/TokenEnumerationType">
TokenEnumerationType</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/TokenEnumerationType">
http://www.w3.org/2002/ws/databinding/patterns/6/09/TokenEnumerationType</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-TokenEnumerationType">
<code>.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:token') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</code></div>
<p id="example-TokenEnumerationType">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/TokenEnumerationType">
TokenEnumerationType</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/TokenEnumerationType">TokenEnumerationType</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="tokenEnumerationType" type="ex:TokenEnumerationType" /&gt;
&lt;xs:simpleType name="TokenEnumerationType"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:token"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="1" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="2" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="3" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-TokenEnumerationType01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/TokenEnumerationType#TokenEnumerationType01">TokenEnumerationType01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:tokenEnumerationType&gt;1&lt;/ex:tokenEnumerationType&gt;
</pre></div>
<p id="instance-TokenEnumerationType02">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/TokenEnumerationType#TokenEnumerationType02">TokenEnumerationType02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:tokenEnumerationType&gt;2&lt;/ex:tokenEnumerationType&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-LanguageEnumerationType" id=
"pattern-LanguageEnumerationType"></a>2.10.15
LanguageEnumerationType</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/LanguageEnumerationType">
LanguageEnumerationType</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/LanguageEnumerationType">
http://www.w3.org/2002/ws/databinding/patterns/6/09/LanguageEnumerationType</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-LanguageEnumerationType">
<code>.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:language') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</code></div>
<p>Note, best current practice for the use of the
<code>xs:language</code> type is described in <a href="#BCP47">[BCP
47]</a>.</p>
<p id="example-LanguageEnumerationType">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/LanguageEnumerationType">
LanguageEnumerationType</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/LanguageEnumerationType">LanguageEnumerationType</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="languageEnumerationType" type="ex:LanguageEnumerationType" /&gt;
&lt;xs:simpleType name="LanguageEnumerationType"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:language"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="en" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="en-US" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="fr" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="de" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="it" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-LanguageEnumerationType01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/LanguageEnumerationType#LanguageEnumerationType01">LanguageEnumerationType01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:languageEnumerationType&gt;en&lt;/ex:languageEnumerationType&gt;
</pre></div>
<p id="instance-LanguageEnumerationType02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/LanguageEnumerationType#LanguageEnumerationType02">LanguageEnumerationType02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:languageEnumerationType&gt;it&lt;/ex:languageEnumerationType&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-SimpleTypeEnumerationType" id=
"pattern-SimpleTypeEnumerationType"></a>2.10.16
SimpleTypeEnumerationType</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SimpleTypeEnumerationType">
SimpleTypeEnumerationType</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SimpleTypeEnumerationType">
http://www.w3.org/2002/ws/databinding/patterns/6/09/SimpleTypeEnumerationType</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-SimpleTypeEnumerationType">
<code>.//xs:simpleType/xs:restriction[@base and
namespace-uri-from-QName(resolve-QName(@base,.)) !=
'http://www.w3.org/2001/XMLSchema' ]/ (., @base, xs:enumeration/(.,
@value))</code></div>
<p id="example-SimpleTypeEnumerationType">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SimpleTypeEnumerationType">
SimpleTypeEnumerationType</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SimpleTypeEnumerationType">SimpleTypeEnumerationType</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="simpleTypeEnumerationType" type="ex:SimpleTypeEnumerationType" /&gt;
&lt;xs:simpleType name="SimpleTypeEnumerationType"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="ex:SimpleTypeEnumerationTypeBase"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="One" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="Two" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
&lt;xs:simpleType name="SimpleTypeEnumerationTypeBase"&gt;
&lt;xs:restriction base="xs:string"&gt;
&lt;xs:enumeration value="One" /&gt;
&lt;xs:enumeration value="Two" /&gt;
&lt;xs:enumeration value="Three" /&gt;
&lt;/xs:restriction&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-SimpleTypeEnumerationType01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SimpleTypeEnumerationType#SimpleTypeEnumerationType01">SimpleTypeEnumerationType01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:simpleTypeEnumerationType&gt;One&lt;/ex:simpleTypeEnumerationType&gt;
</pre></div>
<p id="instance-SimpleTypeEnumerationType02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SimpleTypeEnumerationType#SimpleTypeEnumerationType02">SimpleTypeEnumerationType02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:simpleTypeEnumerationType&gt;Two&lt;/ex:simpleTypeEnumerationType&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-DecimalSimpleTypeTotalDigits" id=
"pattern-DecimalSimpleTypeTotalDigits"></a>2.10.17
DecimalSimpleTypeTotalDigits</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DecimalSimpleTypeTotalDigits">
DecimalSimpleTypeTotalDigits</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DecimalSimpleTypeTotalDigits">
http://www.w3.org/2002/ws/databinding/patterns/6/09/DecimalSimpleTypeTotalDigits</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-DecimalSimpleTypeTotalDigits">
<code>.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:decimal') and xs:totalDigits/@value]/ (., @base,
xs:totalDigits/(., @value))</code></div>
<p id="example-DecimalSimpleTypeTotalDigits">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DecimalSimpleTypeTotalDigits">
DecimalSimpleTypeTotalDigits</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DecimalSimpleTypeTotalDigits">DecimalSimpleTypeTotalDigits</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="decimalSimpleTypeTotalDigits" type="ex:DecimalSimpleTypeTotalDigits" /&gt;
&lt;xs:simpleType name="DecimalSimpleTypeTotalDigits"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:decimal"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:totalDigits</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="5" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-DecimalSimpleTypeTotalDigits01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DecimalSimpleTypeTotalDigits#DecimalSimpleTypeTotalDigits01">DecimalSimpleTypeTotalDigits01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:decimalSimpleTypeTotalDigits&gt;1234&lt;/ex:decimalSimpleTypeTotalDigits&gt;
</pre></div>
<p id="instance-DecimalSimpleTypeTotalDigits02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DecimalSimpleTypeTotalDigits#DecimalSimpleTypeTotalDigits02">DecimalSimpleTypeTotalDigits02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:decimalSimpleTypeTotalDigits&gt;12345&lt;/ex:decimalSimpleTypeTotalDigits&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-DecimalSimpleTypeFractionDigits" id=
"pattern-DecimalSimpleTypeFractionDigits"></a>2.10.18
DecimalSimpleTypeFractionDigits</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DecimalSimpleTypeFractionDigits">
DecimalSimpleTypeFractionDigits</a> pattern identified using the
URI <a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DecimalSimpleTypeFractionDigits">
http://www.w3.org/2002/ws/databinding/patterns/6/09/DecimalSimpleTypeFractionDigits</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-DecimalSimpleTypeFractionDigits">
<code>.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:decimal') and xs:fractionDigits/@value]/ (., @base,
xs:fractionDigits/(., @value))</code></div>
<p id="example-DecimalSimpleTypeFractionDigits">The following
example <a href="#XMLSchema">[XML Schema 1.0]</a> extract
illustrates the use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DecimalSimpleTypeFractionDigits">
DecimalSimpleTypeFractionDigits</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DecimalSimpleTypeFractionDigits">DecimalSimpleTypeFractionDigits</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="decimalSimpleTypeFractionDigits" type="ex:DecimalSimpleTypeFractionDigits" /&gt;
&lt;xs:simpleType name="DecimalSimpleTypeFractionDigits"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:decimal"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:fractionDigits</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="2" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-DecimalSimpleTypeFractionDigits01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DecimalSimpleTypeFractionDigits#DecimalSimpleTypeFractionDigits01">DecimalSimpleTypeFractionDigits01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:decimalSimpleTypeFractionDigits&gt;1234.00&lt;/ex:decimalSimpleTypeFractionDigits&gt;
</pre></div>
<p id="instance-DecimalSimpleTypeFractionDigits02">as is the
following element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DecimalSimpleTypeFractionDigits#DecimalSimpleTypeFractionDigits02">DecimalSimpleTypeFractionDigits02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:decimalSimpleTypeFractionDigits&gt;1234&lt;/ex:decimalSimpleTypeFractionDigits&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-QNameEnumerationType" id=
"pattern-QNameEnumerationType"></a>2.10.19
QNameEnumerationType</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/QNameEnumerationType">
QNameEnumerationType</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/QNameEnumerationType">
http://www.w3.org/2002/ws/databinding/patterns/6/09/QNameEnumerationType</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-QNameEnumerationType">
<code>.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:QName') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</code></div>
<p id="example-QNameEnumerationType">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/QNameEnumerationType">
QNameEnumerationType</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/QNameEnumerationType">QNameEnumerationType</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="qNameEnumerationType" type="ex:QNameSimpleType" /&gt;
&lt;xs:simpleType name="QNameSimpleType"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:QName"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="ex:firstQName" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="ex:secondQName" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-QNameEnumerationType01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/QNameEnumerationType#QNameEnumerationType01">QNameEnumerationType01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:qNameEnumerationType&gt;ex:firstQName&lt;/ex:qNameEnumerationType&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-AnyURIEnumerationType" id=
"pattern-AnyURIEnumerationType"></a>2.10.20
AnyURIEnumerationType</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyURIEnumerationType">
AnyURIEnumerationType</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyURIEnumerationType">
http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyURIEnumerationType</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-AnyURIEnumerationType">
<code>.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:anyURI') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</code></div>
<p id="example-AnyURIEnumerationType">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyURIEnumerationType">
AnyURIEnumerationType</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AnyURIEnumerationType">AnyURIEnumerationType</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="anyURIEnumerationType" type="ex:URISimpleType" /&gt;
&lt;xs:simpleType name="URISimpleType"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:anyURI"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="http://www.w3.org/2005/08/addressing/reply" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-AnyURIEnumerationType01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AnyURIEnumerationType#AnyURIEnumerationType01">AnyURIEnumerationType01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:anyURIEnumerationType&gt;http://www.w3.org/2005/08/addressing/reply&lt;/ex:anyURIEnumerationType&gt;
</pre></div>
</div>
</div>
<div class="div2">
<h3><a name="group-ComplexType" id="group-ComplexType"></a>2.11
ComplexType Declarations</h3>
<div class="div3">
<h4><a name="pattern-ComplexTypeAll" id=
"pattern-ComplexTypeAll"></a>2.11.1 ComplexTypeAll</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeAll">
ComplexTypeAll</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeAll">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeAll</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ComplexTypeAll">
<code>.//xs:complexType/xs:all/ (., xs:element/(.,
@name))</code></div>
<p id="example-ComplexTypeAll">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeAll">
ComplexTypeAll</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeAll">ComplexTypeAll</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="complexTypeAll" type="ex:ComplexTypeAll" /&gt;
&lt;xs:complexType name="ComplexTypeAll"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:all</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="name" type="xs:string" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="shade" type="xs:string" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="length" type="xs:int" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:all</b>&gt;
&lt;xs:attribute name="id" type="xs:string" /&gt;
&lt;xs:attribute name="inStock" type="xs:int" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ComplexTypeAll01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeAll#ComplexTypeAll01">ComplexTypeAll01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:complexTypeAll id="6026" inStock="232"&gt;
&lt;ex:name&gt;Widget&lt;/ex:name&gt;
&lt;ex:length&gt;33&lt;/ex:length&gt;
&lt;ex:shade&gt;Light Blue&lt;/ex:shade&gt;
&lt;/ex:complexTypeAll&gt;
</pre></div>
<p id="instance-ComplexTypeAll02">as is the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeAll#ComplexTypeAll02">ComplexTypeAll02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:complexTypeAll inStock="332" id="6026"&gt;
&lt;ex:shade&gt;Green&lt;/ex:shade&gt;
&lt;ex:length&gt;21&lt;/ex:length&gt;
&lt;ex:name&gt;Widget&lt;/ex:name&gt;
&lt;/ex:complexTypeAll&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ComplexTypeChoice" id=
"pattern-ComplexTypeChoice"></a>2.11.2 ComplexTypeChoice</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeChoice">
ComplexTypeChoice</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeChoice">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeChoice</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ComplexTypeChoice">
<code>.//xs:complexType/xs:choice/ (., xs:element/(.,
@name))</code></div>
<p id="example-ComplexTypeChoice">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeChoice">
ComplexTypeChoice</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeChoice">ComplexTypeChoice</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="fruit" type="ex:Fruit" /&gt;
&lt;xs:complexType name="Fruit"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:choice</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="apple" type="xs:int" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="orange" type="xs:string" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="banana" type="xs:int" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:choice</b>&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ComplexTypeChoice01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeChoice#ComplexTypeChoice01">ComplexTypeChoice01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:fruit&gt;
&lt;ex:apple&gt;21&lt;/ex:apple&gt;
&lt;/ex:fruit&gt;
</pre></div>
<p id="instance-ComplexTypeChoice02">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeChoice#ComplexTypeChoice02">ComplexTypeChoice02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:fruit&gt;
&lt;ex:orange&gt;Two Hundred&lt;/ex:orange&gt;
&lt;/ex:fruit&gt;
</pre></div>
<p id="instance-ComplexTypeChoice03">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeChoice#ComplexTypeChoice03">ComplexTypeChoice03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:fruit&gt;
&lt;ex:banana&gt;329&lt;/ex:banana&gt;
&lt;/ex:fruit&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ComplexTypeOnlyAttributes" id=
"pattern-ComplexTypeOnlyAttributes"></a>2.11.3
ComplexTypeOnlyAttributes</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeOnlyAttributes">
ComplexTypeOnlyAttributes</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeOnlyAttributes">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeOnlyAttributes</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ComplexTypeOnlyAttributes">
<code>.//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)</code></div>
<p id="example-ComplexTypeOnlyAttributes">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeOnlyAttributes">
ComplexTypeOnlyAttributes</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeOnlyAttributes">ComplexTypeOnlyAttributes</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="complexTypeOnlyAttributes" type="ex:ComplexTypeOnlyAttributes" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexType</b> name="ComplexTypeOnlyAttributes"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:attribute</b> name="a1" type="xs:string" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:attribute</b> name="a2" type="xs:int" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexType</b>&gt;
</pre></div>
<p id="instance-ComplexTypeOnlyAttributes01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeOnlyAttributes#ComplexTypeOnlyAttributes01">ComplexTypeOnlyAttributes01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:complexTypeOnlyAttributes a1="11226026" a2="223232"/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ComplexTypeOnlyAttributeGroup" id=
"pattern-ComplexTypeOnlyAttributeGroup"></a>2.11.4
ComplexTypeOnlyAttributeGroup</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeOnlyAttributeGroup">
ComplexTypeOnlyAttributeGroup</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeOnlyAttributeGroup">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeOnlyAttributeGroup</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ComplexTypeOnlyAttributeGroup">
<code>.//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)</code></div>
<p id="example-ComplexTypeOnlyAttributeGroup">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeOnlyAttributeGroup">
ComplexTypeOnlyAttributeGroup</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeOnlyAttributeGroup">ComplexTypeOnlyAttributeGroup</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="complexTypeOnlyAttributeGroup" type="ex:ComplexTypeOnlyAttributeGroup" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexType</b> name="ComplexTypeOnlyAttributeGroup"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:attributeGroup</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> ref</b>="ex:CommonOnlyAttributeGroup" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexType</b>&gt;
&lt;xs:attributeGroup name="CommonOnlyAttributeGroup"&gt;
&lt;xs:attribute name="id" type="xs:ID" use="optional" form="unqualified" /&gt;
&lt;/xs:attributeGroup&gt;
</pre></div>
<p id="instance-ComplexTypeOnlyAttributeGroup01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeOnlyAttributeGroup#ComplexTypeOnlyAttributeGroup01">ComplexTypeOnlyAttributeGroup01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:complexTypeOnlyAttributeGroup id="AttributeGroup_contract_001"/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-GlobalElementSequenceAny" id=
"pattern-GlobalElementSequenceAny"></a>2.11.5
GlobalElementSequenceAny</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementSequenceAny">
GlobalElementSequenceAny</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementSequenceAny">
http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementSequenceAny</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-GlobalElementSequenceAny">
<code>./xs:element[@name]/xs:complexType/xs:sequence[xs:any and
not(xs:element)]/ (../../(., @name))</code></div>
<p id="example-GlobalElementSequenceAny">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GlobalElementSequenceAny">
GlobalElementSequenceAny</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalElementSequenceAny">GlobalElementSequenceAny</a>]:</p>
<div class="exampleInner">
<pre>
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="globalElementSequenceAny"&gt;
&lt;xs:complexType&gt;
&lt;xs:sequence&gt;
&lt;xs:any processContents="skip" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b>&gt;
</pre></div>
<p id="instance-GlobalElementSequenceAny01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GlobalElementSequenceAny#GlobalElementSequenceAny01">GlobalElementSequenceAny01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:globalElementSequenceAny&gt;
&lt;ex:data&gt; some data &lt;/ex:data&gt;
&lt;/ex:globalElementSequenceAny&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ComplexTypeAnyAttribute" id=
"pattern-ComplexTypeAnyAttribute"></a>2.11.6
ComplexTypeAnyAttribute</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeAnyAttribute">
ComplexTypeAnyAttribute</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeAnyAttribute">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeAnyAttribute</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ComplexTypeAnyAttribute">
<code>.//xs:complexType/xs:anyAttribute</code></div>
<p id="example-ComplexTypeAnyAttribute">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeAnyAttribute">
ComplexTypeAnyAttribute</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeAnyAttribute">ComplexTypeAnyAttribute</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="complexTypeAnyAttribute" type="ex:ComplexTypeAnyAttribute" /&gt;
&lt;xs:complexType name="ComplexTypeAnyAttribute"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="element1" type="xs:string" /&gt;
&lt;xs:element name="element2" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:anyAttribute</b> processContents="skip" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ComplexTypeAnyAttribute01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeAnyAttribute#ComplexTypeAnyAttribute01">ComplexTypeAnyAttribute01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:complexTypeAnyAttribute anyattr="string"&gt;
&lt;ex:element1&gt;string&lt;/ex:element1&gt;
&lt;ex:element2&gt;string&lt;/ex:element2&gt;
&lt;/ex:complexTypeAnyAttribute&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-AnyAttributeStrict" id=
"pattern-AnyAttributeStrict"></a>2.11.7 AnyAttributeStrict</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyAttributeStrict">
AnyAttributeStrict</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyAttributeStrict">
http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyAttributeStrict</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-AnyAttributeStrict">
<code>.//xs:complexType/xs:anyAttribute[(not(@processContents) or
@processContents = 'strict') and (not(@namespace) or @namespace =
'##any')]/ (., @processContents, @namespace)</code></div>
<p id="example-AnyAttributeStrict">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyAttributeStrict">
AnyAttributeStrict</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AnyAttributeStrict">AnyAttributeStrict</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="anyAttributeStrict" type="ex:AnyAttributeStrict" /&gt;
&lt;xs:complexType name="AnyAttributeStrict"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="firstName" type="xs:string" /&gt;
&lt;xs:element name="lastName" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:anyAttribute</b> /&gt;
&lt;/xs:complexType&gt;
&lt;xs:attribute name="eyeColor" type="xs:string" /&gt;
&lt;xs:attribute name="hairColor" type="xs:string" /&gt;
</pre></div>
<p id="instance-AnyAttributeStrict01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AnyAttributeStrict#AnyAttributeStrict01">AnyAttributeStrict01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:anyAttributeStrict ex:eyeColor="blue"&gt;
&lt;ex:firstName&gt;Bobby&lt;/ex:firstName&gt;
&lt;ex:lastName&gt;Sox&lt;/ex:lastName&gt;
&lt;/ex:anyAttributeStrict&gt;
</pre></div>
<p id="instance-AnyAttributeStrict02">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AnyAttributeStrict#AnyAttributeStrict02">AnyAttributeStrict02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:anyAttributeStrict ex:hairColor="green"&gt;
&lt;ex:firstName&gt;Bobby&lt;/ex:firstName&gt;
&lt;ex:lastName&gt;Sox&lt;/ex:lastName&gt;
&lt;/ex:anyAttributeStrict&gt;
</pre></div>
<p id="instance-AnyAttributeStrict03">and the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AnyAttributeStrict#AnyAttributeStrict03">AnyAttributeStrict03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:anyAttributeStrict ex:eyeColor="blue" ex:hairColor="green"&gt;
&lt;ex:firstName&gt;Bobby&lt;/ex:firstName&gt;
&lt;ex:lastName&gt;Sox&lt;/ex:lastName&gt;
&lt;/ex:anyAttributeStrict&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-AnyAttributeLax" id=
"pattern-AnyAttributeLax"></a>2.11.8 AnyAttributeLax</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyAttributeLax">
AnyAttributeLax</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyAttributeLax">
http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyAttributeLax</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-AnyAttributeLax">
<code>.//xs:complexType/xs:anyAttribute[(@processContents = 'lax')
and (not(@namespace) or @namespace = '##any')]/ (.,
@processContents, @namespace)</code></div>
<p id="example-AnyAttributeLax">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyAttributeLax">
AnyAttributeLax</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AnyAttributeLax">AnyAttributeLax</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="anyAttributeLax" type="ex:AnyAttributeLax" /&gt;
&lt;xs:complexType name="AnyAttributeLax"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="firstName" type="xs:string" /&gt;
&lt;xs:element name="lastName" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:anyAttribute</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> processContents</b>="lax" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-AnyAttributeLax01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AnyAttributeLax#AnyAttributeLax01">AnyAttributeLax01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:anyAttributeLax eyeColor="blue"&gt;
&lt;ex:firstName&gt;Bobby&lt;/ex:firstName&gt;
&lt;ex:lastName&gt;Sox&lt;/ex:lastName&gt;
&lt;/ex:anyAttributeLax&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-AnyAttributeSkip" id=
"pattern-AnyAttributeSkip"></a>2.11.9 AnyAttributeSkip</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyAttributeSkip">
AnyAttributeSkip</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyAttributeSkip">
http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyAttributeSkip</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-AnyAttributeSkip">
<code>.//xs:complexType/xs:anyAttribute[(@processContents = 'skip')
and (not(@namespace) or @namespace = '##any')]/ (.,
@processContents, @namespace)</code></div>
<p id="example-AnyAttributeSkip">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyAttributeSkip">
AnyAttributeSkip</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AnyAttributeSkip">AnyAttributeSkip</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="anyAttributeSkip" type="ex:AnyAttributeSkip" /&gt;
&lt;xs:complexType name="AnyAttributeSkip"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="firstName" type="xs:string" /&gt;
&lt;xs:element name="lastName" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:anyAttribute</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> processContents</b>="skip" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-AnyAttributeSkip01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AnyAttributeSkip#AnyAttributeSkip01">AnyAttributeSkip01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:anyAttributeSkip eyeColor="blue"&gt;
&lt;ex:firstName&gt;Bobby&lt;/ex:firstName&gt;
&lt;ex:lastName&gt;Sox&lt;/ex:lastName&gt;
&lt;/ex:anyAttributeSkip&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-AnyAttributeOtherStrict" id=
"pattern-AnyAttributeOtherStrict"></a>2.11.10
AnyAttributeOtherStrict</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyAttributeOtherStrict">
AnyAttributeOtherStrict</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyAttributeOtherStrict">
http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyAttributeOtherStrict</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-AnyAttributeOtherStrict">
<code>.//xs:complexType/xs:anyAttribute[(not(@processContents) or
@processContents = 'strict') and (@namespace = '##other')]/ (.,
@processContents, @namespace)</code></div>
<p id="example-AnyAttributeOtherStrict">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyAttributeOtherStrict">
AnyAttributeOtherStrict</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AnyAttributeOtherStrict">AnyAttributeOtherStrict</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:import namespace="http://www.w3.org/2002/ws/databinding/examples/6/09/strict/" schemaLocation="../strict.xsd" /&gt;
&lt;xs:element name="anyAttributeOtherStrict" type="ex:AnyAttributeOtherStrict" /&gt;
&lt;xs:complexType name="AnyAttributeOtherStrict"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="firstElement" type="xs:string" /&gt;
&lt;xs:element name="lastElement" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:anyAttribute</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> processContents</b>="strict" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> namespace</b>="##other" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-AnyAttributeOtherStrict01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AnyAttributeOtherStrict#AnyAttributeOtherStrict01">AnyAttributeOtherStrict01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:anyAttributeOtherStrict ex2:strictAttribute="value1"&gt;
&lt;ex:firstElement&gt;String&lt;/ex:firstElement&gt;
&lt;ex:lastElement&gt;String&lt;/ex:lastElement&gt;
&lt;/ex:anyAttributeOtherStrict&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-AnyAttributeOtherLax" id=
"pattern-AnyAttributeOtherLax"></a>2.11.11
AnyAttributeOtherLax</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyAttributeOtherLax">
AnyAttributeOtherLax</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyAttributeOtherLax">
http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyAttributeOtherLax</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-AnyAttributeOtherLax">
<code>.//xs:complexType/xs:anyAttribute[(@processContents = 'lax')
and (@namespace = '##other')]/ (., @processContents,
@namespace)</code></div>
<p id="example-AnyAttributeOtherLax">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyAttributeOtherLax">
AnyAttributeOtherLax</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AnyAttributeOtherLax">AnyAttributeOtherLax</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="anyAttributeOtherLax" type="ex:AnyAttributeOtherLax" /&gt;
&lt;xs:complexType name="AnyAttributeOtherLax"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="firstElement" type="xs:string" /&gt;
&lt;xs:element name="lastElement" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:anyAttribute</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> processContents</b>="lax" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> namespace</b>="##other" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-AnyAttributeOtherLax01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AnyAttributeOtherLax#AnyAttributeOtherLax01">AnyAttributeOtherLax01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:anyAttributeOtherLax ex2:otherAttribute="text"&gt;
&lt;ex:firstElement&gt;String&lt;/ex:firstElement&gt;
&lt;ex:lastElement&gt;String&lt;/ex:lastElement&gt;
&lt;/ex:anyAttributeOtherLax&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-AnyAttributeOtherSkip" id=
"pattern-AnyAttributeOtherSkip"></a>2.11.12
AnyAttributeOtherSkip</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyAttributeOtherSkip">
AnyAttributeOtherSkip</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyAttributeOtherSkip">
http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyAttributeOtherSkip</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-AnyAttributeOtherSkip">
<code>.//xs:complexType/xs:anyAttribute[(@processContents = 'skip')
and (@namespace = '##other')]/ (., @processContents,
@namespace)</code></div>
<p id="example-AnyAttributeOtherSkip">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyAttributeOtherSkip">
AnyAttributeOtherSkip</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AnyAttributeOtherSkip">AnyAttributeOtherSkip</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="anyAttributeOtherSkip" type="ex:AnyAttributeOtherSkip" /&gt;
&lt;xs:complexType name="AnyAttributeOtherSkip"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="firstElement" type="xs:string" /&gt;
&lt;xs:element name="lastElement" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:anyAttribute</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> processContents</b>="skip" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> namespace</b>="##other" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-AnyAttributeOtherSkip01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AnyAttributeOtherSkip#AnyAttributeOtherSkip01">AnyAttributeOtherSkip01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:anyAttributeOtherSkip ex2:otherAttribute="text"&gt;
&lt;ex:firstElement&gt;String&lt;/ex:firstElement&gt;
&lt;ex:lastElement&gt;String&lt;/ex:lastElement&gt;
&lt;/ex:anyAttributeOtherSkip&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ExtendedSimpleContent" id=
"pattern-ExtendedSimpleContent"></a>2.11.13
ExtendedSimpleContent</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSimpleContent">
ExtendedSimpleContent</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSimpleContent">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSimpleContent</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ExtendedSimpleContent">
<code>.//xs:complexType/xs:simpleContent/xs:extension[@base]/ (..,
., ./@base, xs:attribute/ (., @name))</code></div>
<p id="example-ExtendedSimpleContent">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSimpleContent">
ExtendedSimpleContent</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ExtendedSimpleContent">ExtendedSimpleContent</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="extendedSimpleContent" type="ex:ExtendedSimpleContent" /&gt;
&lt;xs:complexType name="ExtendedSimpleContent"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:simpleContent</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:extension</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:string"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:attribute</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="attribute" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:extension</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:simpleContent</b>&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ExtendedSimpleContent01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ExtendedSimpleContent#ExtendedSimpleContent01">ExtendedSimpleContent01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:extendedSimpleContent attribute="string"&gt;string&lt;/ex:extendedSimpleContent&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-SOAPEncodedArray" id=
"pattern-SOAPEncodedArray"></a>2.11.14 SOAPEncodedArray</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SOAPEncodedArray">
SOAPEncodedArray</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SOAPEncodedArray">
http://www.w3.org/2002/ws/databinding/patterns/6/09/SOAPEncodedArray</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-SOAPEncodedArray">
<code>./xs:complexType[@name]/xs:complexContent/xs:restriction[
@base/resolve-QName(.,..) = xs:QName('soap11enc:Array')]/
xs:attribute[(@ref/resolve-QName(.,..) =
xs:QName('soap11enc:arrayType')) and @wsdl11:arrayType]/ (../..,
../(., @base), ., @ref, @wsdl11:arrayType)</code></div>
<p>The following example <a href="#XMLSchema">[XML Schema 1.0]</a>
document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SOAPEncodedArray">SOAPEncodedArray</a>]
illustrates the use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SOAPEncodedArray">
SOAPEncodedArray</a> pattern:</p>
<div class="exampleInner">
<pre>
&lt;xs:schema targetNamespace="http://www.w3.org/2002/ws/databinding/examples/6/09/" elementFormDefault="qualified"&gt;
&lt;xs:import namespace="http://schemas.xmlsoap.org/soap/encoding/" schemaLocation="http://schemas.xmlsoap.org/soap/encoding/" /&gt;
&lt;xs:element name="soapEncodedArray" type="ex:SOAPEncodedArray" /&gt;
&lt;xs:complexType name="SOAPEncodedArray"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexContent</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="soap11enc:Array"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:attribute</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> ref</b>="soap11enc:arrayType" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> wsdl11:arrayType</b>="string[]" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexContent</b>&gt;
&lt;/xs:complexType&gt;
&lt;/xs:schema&gt;
</pre></div>
<p id="instance-SOAPEncodedArray01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SOAPEncodedArray#SOAPEncodedArray01">SOAPEncodedArray01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:soapEncodedArray/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-RestrictedSimpleContent" id=
"pattern-RestrictedSimpleContent"></a>2.11.15
RestrictedSimpleContent</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedSimpleContent">
RestrictedSimpleContent</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedSimpleContent">
http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedSimpleContent</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-RestrictedSimpleContent">
<code>.//xs:complexType/xs:simpleContent/xs:restriction[@base]/(..,
., @base, child::*, child::*/@value)</code></div>
<p id="example-RestrictedSimpleContent">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedSimpleContent">
RestrictedSimpleContent</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedSimpleContent">RestrictedSimpleContent</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="restrictedSimpleContent" type="ex:RestrictedSimpleContent" /&gt;
&lt;xs:complexType name="RestrictedSimpleContent"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:simpleContent</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="ex:SomeSimpleContent"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:minInclusive</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="1" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:maxInclusive</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="99" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:simpleContent</b>&gt;
&lt;/xs:complexType&gt;
&lt;xs:complexType name="SomeSimpleContent"&gt;
&lt;xs:simpleContent&gt;
&lt;xs:extension base="ex:SimpleType"&gt;
&lt;xs:attribute name="Currency" type="xs:string" /&gt;
&lt;/xs:extension&gt;
&lt;/xs:simpleContent&gt;
&lt;/xs:complexType&gt;
&lt;xs:simpleType name="SimpleType"&gt;
&lt;xs:restriction base="xs:int"&gt;
&lt;xs:minExclusive value="0" /&gt;
&lt;xs:maxExclusive value="100" /&gt;
&lt;/xs:restriction&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-RestrictedSimpleContent01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedSimpleContent#RestrictedSimpleContent01">RestrictedSimpleContent01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:restrictedSimpleContent&gt;1&lt;/ex:restrictedSimpleContent&gt;
</pre></div>
<p id="instance-RestrictedSimpleContent02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedSimpleContent#RestrictedSimpleContent02">RestrictedSimpleContent02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:restrictedSimpleContent&gt;99&lt;/ex:restrictedSimpleContent&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ComplexTypeChoiceExtension" id=
"pattern-ComplexTypeChoiceExtension"></a>2.11.16
ComplexTypeChoiceExtension</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeChoiceExtension">
ComplexTypeChoiceExtension</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeChoiceExtension">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeChoiceExtension</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ComplexTypeChoiceExtension">
<code>.//xs:complexType/xs:complexContent[xs:extension[@base]/xs:choice]/
(., xs:extension/ (., @base, xs:choice/(., xs:element/(.,
@name))))</code></div>
<p id="example-ComplexTypeChoiceExtension">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeChoiceExtension">
ComplexTypeChoiceExtension</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeChoiceExtension">ComplexTypeChoiceExtension</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="complexTypeChoiceExtension" type="ex:ComplexTypeChoiceExtension" /&gt;
&lt;xs:complexType name="ComplexTypeChoiceBase"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="element1" type="xs:string" /&gt;
&lt;xs:element name="element2" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
&lt;xs:complexType name="ComplexTypeChoiceExtension"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexContent</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:extension</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="ex:ComplexTypeChoiceBase"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:choice</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="element3" type="xs:string" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="element4" type="xs:string" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:choice</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:extension</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexContent</b>&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ComplexTypeChoiceExtension01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeChoiceExtension#ComplexTypeChoiceExtension01">ComplexTypeChoiceExtension01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:complexTypeChoiceExtension&gt;
&lt;ex:element1&gt;element1&lt;/ex:element1&gt;
&lt;ex:element2&gt;element2&lt;/ex:element2&gt;
&lt;ex:element3&gt;element3&lt;/ex:element3&gt;
&lt;/ex:complexTypeChoiceExtension&gt;
</pre></div>
<p id="instance-ComplexTypeChoiceExtension02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeChoiceExtension#ComplexTypeChoiceExtension02">ComplexTypeChoiceExtension02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:complexTypeChoiceExtension&gt;
&lt;ex:element1&gt;element1&lt;/ex:element1&gt;
&lt;ex:element2&gt;element2&lt;/ex:element2&gt;
&lt;ex:element4&gt;element4&lt;/ex:element4&gt;
&lt;/ex:complexTypeChoiceExtension&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ComplexTypeAttributeGroupExtension" id=
"pattern-ComplexTypeAttributeGroupExtension"></a>2.11.17
ComplexTypeAttributeGroupExtension</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeAttributeGroupExtension">
ComplexTypeAttributeGroupExtension</a> pattern identified using the
URI <a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeAttributeGroupExtension">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeAttributeGroupExtension</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ComplexTypeAttributeGroupExtension">
<code>.//xs:complexType/xs:complexContent[xs:extension[@base]/xs:attributeGroup]/
(., xs:extension/ (., @base, xs:attributeGroup))</code></div>
<p id="example-ComplexTypeAttributeGroupExtension">The following
example <a href="#XMLSchema">[XML Schema 1.0]</a> extract
illustrates the use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeAttributeGroupExtension">
ComplexTypeAttributeGroupExtension</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeAttributeGroupExtension">ComplexTypeAttributeGroupExtension</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="complexTypeAttributeGroupExtension" type="ex:ComplexTypeAttributeGroupExtension" /&gt;
&lt;xs:complexType name="ComplexTypeAttributeGroupBase"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="element1" type="xs:string" /&gt;
&lt;xs:element name="element2" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
&lt;xs:complexType name="ComplexTypeAttributeGroupExtension"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexContent</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:extension</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="ex:ComplexTypeAttributeGroupBase"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:attributeGroup</b> ref="ex:CommonAttributes" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:extension</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexContent</b>&gt;
&lt;/xs:complexType&gt;
&lt;xs:attributeGroup name="CommonAttributes"&gt;
&lt;xs:attribute name="id" type="xs:ID" use="optional" form="unqualified" /&gt;
&lt;/xs:attributeGroup&gt;
</pre></div>
<p id="instance-ComplexTypeAttributeGroupExtension01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeAttributeGroupExtension#ComplexTypeAttributeGroupExtension01">ComplexTypeAttributeGroupExtension01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:complexTypeAttributeGroupExtension id="ComplexTypeAttributeGroupExtension_01"&gt;
&lt;ex:element1&gt;element1&lt;/ex:element1&gt;
&lt;ex:element2&gt;element2&lt;/ex:element2&gt;
&lt;/ex:complexTypeAttributeGroupExtension&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ComplexTypeAttributeRestriction" id=
"pattern-ComplexTypeAttributeRestriction"></a>2.11.18
ComplexTypeAttributeRestriction</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeAttributeRestriction">
ComplexTypeAttributeRestriction</a> pattern identified using the
URI <a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeAttributeRestriction">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeAttributeRestriction</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ComplexTypeAttributeRestriction">
<code>.//xs:complexType/xs:complexContent[xs:restriction[@base]/xs:attribute]/
(., xs:restriction/(., @base, xs:attribute/(.,
@name)))</code></div>
<p id="example-ComplexTypeAttributeRestriction">The following
example <a href="#XMLSchema">[XML Schema 1.0]</a> extract
illustrates the use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeAttributeRestriction">
ComplexTypeAttributeRestriction</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeAttributeRestriction">ComplexTypeAttributeRestriction</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="complexTypeAttributeRestriction" type="ex:ComplexTypeAttributeRestriction" /&gt;
&lt;xs:complexType name="ComplexTypeAttributeRestrictionBase"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="element1" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="attrRestriction" type="xs:string" /&gt;
&lt;/xs:complexType&gt;
&lt;xs:complexType name="ComplexTypeAttributeRestriction"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexContent</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="ex:ComplexTypeAttributeRestrictionBase"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="element1" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:attribute</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="attrRestriction" type="xs:string" use="required" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexContent</b>&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ComplexTypeAttributeRestriction01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeAttributeRestriction#ComplexTypeAttributeRestriction01">ComplexTypeAttributeRestriction01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:complexTypeAttributeRestriction attrRestriction="value"&gt;
&lt;ex:element1&gt;string&lt;/ex:element1&gt;
&lt;/ex:complexTypeAttributeRestriction&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ComplexTypeSequenceRestriction" id=
"pattern-ComplexTypeSequenceRestriction"></a>2.11.19
ComplexTypeSequenceRestriction</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeSequenceRestriction">
ComplexTypeSequenceRestriction</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeSequenceRestriction">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeSequenceRestriction</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ComplexTypeSequenceRestriction">
<code>.//xs:complexType/xs:complexContent[xs:restriction[@base]/xs:sequence]/
(., xs:restriction/(., @base, xs:sequence))</code></div>
<p id="example-ComplexTypeSequenceRestriction">The following
example <a href="#XMLSchema">[XML Schema 1.0]</a> extract
illustrates the use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeSequenceRestriction">
ComplexTypeSequenceRestriction</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeSequenceRestriction">ComplexTypeSequenceRestriction</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="complexTypeSequenceRestriction" type="ex:ComplexTypeSequenceRestriction" /&gt;
&lt;xs:complexType name="ComplexTypeSequenceRestrictionBase"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="element1" type="xs:string" minOccurs="0" maxOccurs="unbounded" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
&lt;xs:complexType name="ComplexTypeSequenceRestriction"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexContent</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="ex:ComplexTypeSequenceRestrictionBase"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:sequence</b>&gt;
&lt;xs:element name="element1" type="xs:string" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:sequence</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexContent</b>&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ComplexTypeSequenceRestriction01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeSequenceRestriction#ComplexTypeSequenceRestriction01">ComplexTypeSequenceRestriction01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:complexTypeSequenceRestriction&gt;
&lt;ex:element1&gt;string&lt;/ex:element1&gt;
&lt;/ex:complexTypeSequenceRestriction&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ComplexContentRestrictionAnyAttribute" id=
"pattern-ComplexContentRestrictionAnyAttribute"></a>2.11.20
ComplexContentRestrictionAnyAttribute</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexContentRestrictionAnyAttribute">
ComplexContentRestrictionAnyAttribute</a> pattern identified using
the URI <a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexContentRestrictionAnyAttribute">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexContentRestrictionAnyAttribute</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id=
"xpath-ComplexContentRestrictionAnyAttribute">
<code>.//xs:complexType/xs:complexContent/xs:restriction/xs:anyAttribute/(.,
@namespace, @processContents)</code></div>
<p id="example-ComplexContentRestrictionAnyAttribute">The following
example <a href="#XMLSchema">[XML Schema 1.0]</a> extract
illustrates the use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexContentRestrictionAnyAttribute">
ComplexContentRestrictionAnyAttribute</a> pattern within an
<a href="#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexContentRestrictionAnyAttribute">ComplexContentRestrictionAnyAttribute</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="complexContentRestrictionAnyAttribute" type="ex:ComplexContentRestrictionAnyAttribute" /&gt;
&lt;xs:complexType name="ComplexContentRestrictionAnyAttribute"&gt;
&lt;xs:complexContent&gt;
&lt;xs:restriction base="ex:ComplexTypeToBeRestricted"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="element1" type="xs:string" /&gt;
&lt;xs:element name="element2" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:anyAttribute</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> processContents</b>="skip" /&gt;
&lt;/xs:restriction&gt;
&lt;/xs:complexContent&gt;
&lt;/xs:complexType&gt;
&lt;xs:complexType name="ComplexTypeToBeRestricted"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="element1" type="xs:string" minOccurs="0" /&gt;
&lt;xs:element name="element2" type="xs:string" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:anyAttribute processContents="skip" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ComplexContentRestrictionAnyAttribute01">The
following example <a href="#XML">[XML 1.0]</a> element is valid
against the above example <a href="#XMLSchema">[XML Schema 1.0]</a>
when included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexContentRestrictionAnyAttribute#ComplexContentRestrictionAnyAttribute01">ComplexContentRestrictionAnyAttribute01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:complexContentRestrictionAnyAttribute&gt;
&lt;ex:element1&gt;value1&lt;/ex:element1&gt;
&lt;ex:element2&gt;value2&lt;/ex:element2&gt;
&lt;/ex:complexContentRestrictionAnyAttribute&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ComplexContentExtensionAnyAttribute" id=
"pattern-ComplexContentExtensionAnyAttribute"></a>2.11.21
ComplexContentExtensionAnyAttribute</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexContentExtensionAnyAttribute">
ComplexContentExtensionAnyAttribute</a> pattern identified using
the URI <a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexContentExtensionAnyAttribute">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexContentExtensionAnyAttribute</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ComplexContentExtensionAnyAttribute">
<code>.//xs:complexType/xs:complexContent/xs:extension/xs:anyAttribute/(.,
@namespace, @processContents)</code></div>
<p id="example-ComplexContentExtensionAnyAttribute">The following
example <a href="#XMLSchema">[XML Schema 1.0]</a> extract
illustrates the use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexContentExtensionAnyAttribute">
ComplexContentExtensionAnyAttribute</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexContentExtensionAnyAttribute">ComplexContentExtensionAnyAttribute</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="complexContentExtensionAnyAttribute" type="ex:ComplexContentExtensionAnyAttribute" /&gt;
&lt;xs:complexType name="ComplexContentExtensionAnyAttribute"&gt;
&lt;xs:complexContent&gt;
&lt;xs:extension base="ex:ComplexTypeToBeExtended"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="element3" type="xs:string" minOccurs="0" /&gt;
&lt;xs:element name="element4" type="xs:string" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:anyAttribute</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> processContents</b>="skip" /&gt;
&lt;/xs:extension&gt;
&lt;/xs:complexContent&gt;
&lt;/xs:complexType&gt;
&lt;xs:complexType name="ComplexTypeToBeExtended"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="element1" type="xs:string" /&gt;
&lt;xs:element name="element2" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:anyAttribute processContents="skip" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ComplexContentExtensionAnyAttribute01">The
following example <a href="#XML">[XML 1.0]</a> element is valid
against the above example <a href="#XMLSchema">[XML Schema 1.0]</a>
when included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexContentExtensionAnyAttribute#ComplexContentExtensionAnyAttribute01">ComplexContentExtensionAnyAttribute01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:complexContentExtensionAnyAttribute&gt;
&lt;ex:element1&gt;value1&lt;/ex:element1&gt;
&lt;ex:element2&gt;value2&lt;/ex:element2&gt;
&lt;/ex:complexContentExtensionAnyAttribute&gt;
</pre></div>
<p id="instance-ComplexContentExtensionAnyAttribute02">as is the
following element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexContentExtensionAnyAttribute#ComplexContentExtensionAnyAttribute02">ComplexContentExtensionAnyAttribute02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:complexContentExtensionAnyAttribute&gt;
&lt;ex:element1&gt;value1&lt;/ex:element1&gt;
&lt;ex:element2&gt;value2&lt;/ex:element2&gt;
&lt;ex:element3&gt;value3&lt;/ex:element3&gt;
&lt;ex:element4&gt;value4&lt;/ex:element4&gt;
&lt;/ex:complexContentExtensionAnyAttribute&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ComplexTypeFinal" id=
"pattern-ComplexTypeFinal"></a>2.11.22 ComplexTypeFinal</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeFinal">
ComplexTypeFinal</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeFinal">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeFinal</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ComplexTypeFinal">
<code>.//xs:complexType[@final]/(., @final)</code></div>
<p id="example-ComplexTypeFinal">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeFinal">
ComplexTypeFinal</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeFinal">ComplexTypeFinal</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="complexTypeFinal" type="ex:ComplexTypeFinal" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexType</b> name="ComplexTypeFinal" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> final</b>="#all"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="element1" type="xs:string" minOccurs="0" maxOccurs="unbounded" /&gt;
&lt;/xs:sequence&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexType</b>&gt;
</pre></div>
<p id="instance-ComplexTypeFinal01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeFinal#ComplexTypeFinal01">ComplexTypeFinal01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:complexTypeFinal&gt;
&lt;ex:element1&gt;value1&lt;/ex:element1&gt;
&lt;ex:element1&gt;value2&lt;/ex:element1&gt;
&lt;ex:element1&gt;value3&lt;/ex:element1&gt;
&lt;/ex:complexTypeFinal&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ComplexTypeExtensionAnnotationOnly" id=
"pattern-ComplexTypeExtensionAnnotationOnly"></a>2.11.23
ComplexTypeExtensionAnnotationOnly</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeExtensionAnnotationOnly">
ComplexTypeExtensionAnnotationOnly</a> pattern identified using the
URI <a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeExtensionAnnotationOnly">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeExtensionAnnotationOnly</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ComplexTypeExtensionAnnotationOnly">
<code>.//xs:complexType/xs:complexContent/xs:extension[@base]/xs:annotation[not(preceding-sibling::*)
and not(following-sibling::*)]/ (../(., @base),
../../(.))</code></div>
<p id="example-ComplexTypeExtensionAnnotationOnly">The following
example <a href="#XMLSchema">[XML Schema 1.0]</a> extract
illustrates the use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeExtensionAnnotationOnly">
ComplexTypeExtensionAnnotationOnly</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeExtensionAnnotationOnly">ComplexTypeExtensionAnnotationOnly</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="complexTypeExtensionAnnotationOnly" type="ex:ComplexTypeExtensionAnnotationOnly" /&gt;
&lt;xs:complexType name="ComplexTypeExtensionAnnotationOnly"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexContent</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:extension</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="ex:ComplexTypeExtension"&gt;
&lt;xs:annotation&gt;
&lt;xs:documentation /&gt;
&lt;/xs:annotation&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:extension</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexContent</b>&gt;
&lt;/xs:complexType&gt;
&lt;xs:complexType name="ComplexTypeExtension"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="element1" type="xs:string" /&gt;
&lt;xs:element name="element2" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ComplexTypeExtensionAnnotationOnly01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeExtensionAnnotationOnly#ComplexTypeExtensionAnnotationOnly01">ComplexTypeExtensionAnnotationOnly01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:complexTypeExtensionAnnotationOnly&gt;
&lt;ex:element1&gt;string&lt;/ex:element1&gt;
&lt;ex:element2&gt;string&lt;/ex:element2&gt;
&lt;/ex:complexTypeExtensionAnnotationOnly&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-SimpleContentAnyAttributeSkip" id=
"pattern-SimpleContentAnyAttributeSkip"></a>2.11.24
SimpleContentAnyAttributeSkip</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SimpleContentAnyAttributeSkip">
SimpleContentAnyAttributeSkip</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SimpleContentAnyAttributeSkip">
http://www.w3.org/2002/ws/databinding/patterns/6/09/SimpleContentAnyAttributeSkip</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-SimpleContentAnyAttributeSkip">
<code>.//xs:complexType/xs:simpleContent/xs:extension/xs:anyAttribute[(@processContents
= 'skip')]/ (., @processContents)</code></div>
<p id="example-SimpleContentAnyAttributeSkip">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SimpleContentAnyAttributeSkip">
SimpleContentAnyAttributeSkip</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SimpleContentAnyAttributeSkip">SimpleContentAnyAttributeSkip</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="simpleContentAnyAttributeSkip" type="ex:SimpleContentAnyAttributeSkip" /&gt;
&lt;xs:complexType name="SimpleContentAnyAttributeSkip"&gt;
&lt;xs:simpleContent&gt;
&lt;xs:extension base="xs:string"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:anyAttribute</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> processContents</b>="skip" /&gt;
&lt;/xs:extension&gt;
&lt;/xs:simpleContent&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-SimpleContentAnyAttributeSkip01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SimpleContentAnyAttributeSkip#SimpleContentAnyAttributeSkip01">SimpleContentAnyAttributeSkip01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:simpleContentAnyAttributeSkip skipAttribute="string"&gt;string&lt;/ex:simpleContentAnyAttributeSkip&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-SimpleContentAnyAttributeLax" id=
"pattern-SimpleContentAnyAttributeLax"></a>2.11.25
SimpleContentAnyAttributeLax</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SimpleContentAnyAttributeLax">
SimpleContentAnyAttributeLax</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SimpleContentAnyAttributeLax">
http://www.w3.org/2002/ws/databinding/patterns/6/09/SimpleContentAnyAttributeLax</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-SimpleContentAnyAttributeLax">
<code>.//xs:complexType/xs:simpleContent/xs:extension/xs:anyAttribute[(@processContents
= 'lax') and (@namespace = '##other')]/ (., @processContents,
@namespace)</code></div>
<p id="example-SimpleContentAnyAttributeLax">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SimpleContentAnyAttributeLax">
SimpleContentAnyAttributeLax</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SimpleContentAnyAttributeLax">SimpleContentAnyAttributeLax</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="simpleContentAnyAttributeLax" type="ex:SimpleContentAnyAttributeLax" /&gt;
&lt;xs:complexType name="SimpleContentAnyAttributeLax"&gt;
&lt;xs:simpleContent&gt;
&lt;xs:extension base="xs:string"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:anyAttribute</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> processContents</b>="lax" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> namespace</b>="##other" /&gt;
&lt;/xs:extension&gt;
&lt;/xs:simpleContent&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-SimpleContentAnyAttributeLax01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SimpleContentAnyAttributeLax#SimpleContentAnyAttributeLax01">SimpleContentAnyAttributeLax01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:simpleContentAnyAttributeLax ex2:laxAttribute="string"&gt;some data&lt;/ex:simpleContentAnyAttributeLax&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-SimpleContentAnyAttributeStrict" id=
"pattern-SimpleContentAnyAttributeStrict"></a>2.11.26
SimpleContentAnyAttributeStrict</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SimpleContentAnyAttributeStrict">
SimpleContentAnyAttributeStrict</a> pattern identified using the
URI <a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SimpleContentAnyAttributeStrict">
http://www.w3.org/2002/ws/databinding/patterns/6/09/SimpleContentAnyAttributeStrict</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-SimpleContentAnyAttributeStrict">
<code>.//xs:complexType/xs:simpleContent/xs:extension/xs:anyAttribute[not(@processContents)
or (@processContents = 'strict') and (@namespace = '##other')]/ (.,
@processContents, @namespace)</code></div>
<p id="example-SimpleContentAnyAttributeStrict">The following
example <a href="#XMLSchema">[XML Schema 1.0]</a> extract
illustrates the use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SimpleContentAnyAttributeStrict">
SimpleContentAnyAttributeStrict</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SimpleContentAnyAttributeStrict">SimpleContentAnyAttributeStrict</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:import namespace="http://www.w3.org/2002/ws/databinding/examples/6/09/strict/" schemaLocation="../strict.xsd" /&gt;
&lt;xs:element name="simpleContentAnyAttributeStrict" type="ex:SimpleContentAnyAttributeStrict" /&gt;
&lt;xs:complexType name="SimpleContentAnyAttributeStrict"&gt;
&lt;xs:simpleContent&gt;
&lt;xs:extension base="xs:string"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:anyAttribute</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> processContents</b>="strict" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> namespace</b>="##other" /&gt;
&lt;/xs:extension&gt;
&lt;/xs:simpleContent&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-SimpleContentAnyAttributeStrict01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SimpleContentAnyAttributeStrict#SimpleContentAnyAttributeStrict01">SimpleContentAnyAttributeStrict01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:simpleContentAnyAttributeStrict ex2:strictAttribute="value1"&gt;some data&lt;/ex:simpleContentAnyAttributeStrict&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-AnyAttributeNamespacedFinite" id=
"pattern-AnyAttributeNamespacedFinite"></a>2.11.27
AnyAttributeNamespacedFinite</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyAttributeNamespacedFinite">
AnyAttributeNamespacedFinite</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyAttributeNamespacedFinite">
http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyAttributeNamespacedFinite</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-AnyAttributeNamespacedFinite">
<code>.//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)</code></div>
<p id="example-AnyAttributeNamespacedFinite">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyAttributeNamespacedFinite">
AnyAttributeNamespacedFinite</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AnyAttributeNamespacedFinite">AnyAttributeNamespacedFinite</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="anyAttributeNamespacedFinite" type="ex:AnyAttributeNamespacedFinite" /&gt;
&lt;xs:complexType name="AnyAttributeNamespacedFinite"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="firstElement" type="xs:string" /&gt;
&lt;xs:element name="lastElement" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:anyAttribute</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> processContents</b>="lax" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> namespace</b>="http://www.w3.org/2002/ws/databinding/examples/6/09/" /&gt;
&lt;/xs:complexType&gt;
&lt;xs:attribute name="otherAttribute"&gt;
&lt;xs:simpleType&gt;
&lt;xs:restriction base="xs:string"&gt;
&lt;xs:enumeration value="value1" /&gt;
&lt;xs:enumeration value="value2" /&gt;
&lt;/xs:restriction&gt;
&lt;/xs:simpleType&gt;
&lt;/xs:attribute&gt;
</pre></div>
<p id="instance-AnyAttributeNamespacedFinite01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AnyAttributeNamespacedFinite#AnyAttributeNamespacedFinite01">AnyAttributeNamespacedFinite01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:anyAttributeNamespacedFinite ex:otherAttribute="value1"&gt;
&lt;ex:firstElement&gt;element1&lt;/ex:firstElement&gt;
&lt;ex:lastElement&gt;element2&lt;/ex:lastElement&gt;
&lt;/ex:anyAttributeNamespacedFinite&gt;
</pre></div>
</div>
</div>
<div class="div2">
<h3><a name="group-Sequence" id="group-Sequence"></a>2.12
Sequences</h3>
<div class="div3">
<h4><a name="pattern-ComplexTypeSequenceChoice" id=
"pattern-ComplexTypeSequenceChoice"></a>2.12.1
ComplexTypeSequenceChoice</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeSequenceChoice">
ComplexTypeSequenceChoice</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeSequenceChoice">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeSequenceChoice</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ComplexTypeSequenceChoice">
<code>.//xs:complexType/xs:sequence/xs:choice/ (., xs:element/(.,
@name))</code></div>
<p id="example-ComplexTypeSequenceChoice">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeSequenceChoice">
ComplexTypeSequenceChoice</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeSequenceChoice">ComplexTypeSequenceChoice</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="mortgage" type="ex:Mortgage" /&gt;
&lt;xs:complexType name="Mortgage"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="amount" type="xs:int" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:choice</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="repayment" type="ex:Repayment" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="interestonly" type="ex:InterestOnly" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:choice</b>&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
&lt;xs:complexType name="Repayment"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="years" type="xs:int" /&gt;
&lt;xs:element name="months" type="xs:int" /&gt;
&lt;xs:element name="rate" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
&lt;xs:complexType name="InterestOnly"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="years" type="xs:int" /&gt;
&lt;xs:element name="rate" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ComplexTypeSequenceChoice01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeSequenceChoice#ComplexTypeSequenceChoice01">ComplexTypeSequenceChoice01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:mortgage&gt;
&lt;ex:amount&gt;225000&lt;/ex:amount&gt;
&lt;ex:repayment&gt;
&lt;ex:years&gt;20&lt;/ex:years&gt;
&lt;ex:months&gt;6&lt;/ex:months&gt;
&lt;ex:rate&gt;5.25&lt;/ex:rate&gt;
&lt;/ex:repayment&gt;
&lt;/ex:mortgage&gt;
</pre></div>
<p id="instance-ComplexTypeSequenceChoice02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeSequenceChoice#ComplexTypeSequenceChoice02">ComplexTypeSequenceChoice02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:mortgage&gt;
&lt;ex:amount&gt;225000&lt;/ex:amount&gt;
&lt;ex:interestonly&gt;
&lt;ex:years&gt;25&lt;/ex:years&gt;
&lt;ex:rate&gt;5.50&lt;/ex:rate&gt;
&lt;/ex:interestonly&gt;
&lt;/ex:mortgage&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-SequenceSequenceElement" id=
"pattern-SequenceSequenceElement"></a>2.12.2
SequenceSequenceElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceSequenceElement">
SequenceSequenceElement</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceSequenceElement">
http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceSequenceElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-SequenceSequenceElement">
<code>.//xs:sequence/xs:sequence/xs:element/ (., ..)</code></div>
<p id="example-SequenceSequenceElement">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceSequenceElement">
SequenceSequenceElement</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SequenceSequenceElement">SequenceSequenceElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="sequenceSequenceElement" type="ex:SequenceSequenceElement" /&gt;
&lt;xs:complexType name="SequenceSequenceElement"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="firstName" type="xs:string" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:sequence</b> minOccurs="0"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b> name="middleName" type="xs:string" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:sequence</b> minOccurs="0"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b> name="lastName" type="xs:string" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:sequence</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:sequence</b>&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-SequenceSequenceElement01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SequenceSequenceElement#SequenceSequenceElement01">SequenceSequenceElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:sequenceSequenceElement&gt;
&lt;ex:firstName&gt;Paul&lt;/ex:firstName&gt;
&lt;/ex:sequenceSequenceElement&gt;
</pre></div>
<p id="instance-SequenceSequenceElement02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SequenceSequenceElement#SequenceSequenceElement02">SequenceSequenceElement02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:sequenceSequenceElement&gt;
&lt;ex:firstName&gt;Paul&lt;/ex:firstName&gt;
&lt;ex:middleName&gt;Sumner&lt;/ex:middleName&gt;
&lt;/ex:sequenceSequenceElement&gt;
</pre></div>
<p id="instance-SequenceSequenceElement03">and the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SequenceSequenceElement#SequenceSequenceElement03">SequenceSequenceElement03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:sequenceSequenceElement&gt;
&lt;ex:firstName&gt;Paul&lt;/ex:firstName&gt;
&lt;ex:middleName&gt;Sumner&lt;/ex:middleName&gt;
&lt;ex:lastName&gt;Downey&lt;/ex:lastName&gt;
&lt;/ex:sequenceSequenceElement&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-SequenceMinOccurs0" id=
"pattern-SequenceMinOccurs0"></a>2.12.3 SequenceMinOccurs0</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceMinOccurs0">
SequenceMinOccurs0</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceMinOccurs0">
http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceMinOccurs0</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-SequenceMinOccurs0">
<code>.//xs:sequence[@minOccurs = '0' and (not(@maxOccurs) or
@maxOccurs = '1')]/ (@minOccurs, @maxOccurs)</code></div>
<p id="example-SequenceMinOccurs0">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceMinOccurs0">
SequenceMinOccurs0</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SequenceMinOccurs0">SequenceMinOccurs0</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="sequenceMinOccurs0" type="ex:SequenceMinOccurs0" /&gt;
&lt;xs:complexType name="SequenceMinOccurs0"&gt;
&lt;xs:sequence <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> minOccurs</b>="0"&gt;
&lt;xs:element name="firstName" type="xs:string" /&gt;
&lt;xs:element name="middleName" type="xs:string" /&gt;
&lt;xs:element name="lastName" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-SequenceMinOccurs001">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SequenceMinOccurs0#SequenceMinOccurs001">SequenceMinOccurs001</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:sequenceMinOccurs0&gt;
&lt;ex:firstName&gt;Paul&lt;/ex:firstName&gt;
&lt;ex:middleName&gt;Sumner&lt;/ex:middleName&gt;
&lt;ex:lastName&gt;Downey&lt;/ex:lastName&gt;
&lt;/ex:sequenceMinOccurs0&gt;
</pre></div>
<p id="instance-SequenceMinOccurs002">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SequenceMinOccurs0#SequenceMinOccurs002">SequenceMinOccurs002</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:sequenceMinOccurs0/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-SequenceMinOccurs0MaxOccursUnbounded" id=
"pattern-SequenceMinOccurs0MaxOccursUnbounded"></a>2.12.4
SequenceMinOccurs0MaxOccursUnbounded</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceMinOccurs0MaxOccursUnbounded">
SequenceMinOccurs0MaxOccursUnbounded</a> pattern identified using
the URI <a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceMinOccurs0MaxOccursUnbounded">
http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceMinOccurs0MaxOccursUnbounded</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-SequenceMinOccurs0MaxOccursUnbounded">
<code>.//xs:sequence[@minOccurs = '0' and @maxOccurs =
'unbounded']/ (@minOccurs, @maxOccurs)</code></div>
<p id="example-SequenceMinOccurs0MaxOccursUnbounded">The following
example <a href="#XMLSchema">[XML Schema 1.0]</a> extract
illustrates the use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceMinOccurs0MaxOccursUnbounded">
SequenceMinOccurs0MaxOccursUnbounded</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SequenceMinOccurs0MaxOccursUnbounded">SequenceMinOccurs0MaxOccursUnbounded</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="durationListSequence" type="ex:DurationListSequence" /&gt;
&lt;xs:complexType name="DurationListSequence"&gt;
&lt;xs:sequence <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> minOccurs</b>="0" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> maxOccurs</b>="unbounded"&gt;
&lt;xs:element name="durationVal" type="xs:string" /&gt;
&lt;xs:element name="durationPercentage" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-SequenceMinOccurs0MaxOccursUnbounded101">The
following example <a href="#XML">[XML 1.0]</a> element is valid
against the above example <a href="#XMLSchema">[XML Schema 1.0]</a>
when included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SequenceMinOccurs0MaxOccursUnbounded#SequenceMinOccurs0MaxOccursUnbounded101">SequenceMinOccurs0MaxOccursUnbounded101</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:durationListSequence&gt;
&lt;ex:durationVal&gt;44&lt;/ex:durationVal&gt;
&lt;ex:durationPercentage&gt;33&lt;/ex:durationPercentage&gt;
&lt;ex:durationVal&gt;24&lt;/ex:durationVal&gt;
&lt;ex:durationPercentage&gt;45&lt;/ex:durationPercentage&gt;
&lt;ex:durationVal&gt;64&lt;/ex:durationVal&gt;
&lt;ex:durationPercentage&gt;22&lt;/ex:durationPercentage&gt;
&lt;/ex:durationListSequence&gt;
</pre></div>
<p id="instance-SequenceMinOccurs0MaxOccursUnbounded102">as is the
following element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SequenceMinOccurs0MaxOccursUnbounded#SequenceMinOccurs0MaxOccursUnbounded102">SequenceMinOccurs0MaxOccursUnbounded102</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:durationListSequence/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-SequenceMinOccurs1MaxOccursUnbounded" id=
"pattern-SequenceMinOccurs1MaxOccursUnbounded"></a>2.12.5
SequenceMinOccurs1MaxOccursUnbounded</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceMinOccurs1MaxOccursUnbounded">
SequenceMinOccurs1MaxOccursUnbounded</a> pattern identified using
the URI <a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceMinOccurs1MaxOccursUnbounded">
http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceMinOccurs1MaxOccursUnbounded</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-SequenceMinOccurs1MaxOccursUnbounded">
<code>.//xs:sequence[(not(@minOccurs) or @minOccurs = '1') and
@maxOccurs = 'unbounded']/ (@minOccurs, @maxOccurs)</code></div>
<p id="example-SequenceMinOccurs1MaxOccursUnbounded">The following
example <a href="#XMLSchema">[XML Schema 1.0]</a> extract
illustrates the use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceMinOccurs1MaxOccursUnbounded">
SequenceMinOccurs1MaxOccursUnbounded</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SequenceMinOccurs1MaxOccursUnbounded">SequenceMinOccurs1MaxOccursUnbounded</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="ageListSequence" type="ex:AgeListSequence" /&gt;
&lt;xs:complexType name="AgeListSequence"&gt;
&lt;xs:sequence <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> minOccurs</b>="1" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> maxOccurs</b>="unbounded"&gt;
&lt;xs:element name="ageVal" type="xs:string" /&gt;
&lt;xs:element name="agePercentage" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-SequenceMinOccurs1MaxOccursUnbounded101">The
following example <a href="#XML">[XML 1.0]</a> element is valid
against the above example <a href="#XMLSchema">[XML Schema 1.0]</a>
when included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SequenceMinOccurs1MaxOccursUnbounded#SequenceMinOccurs1MaxOccursUnbounded101">SequenceMinOccurs1MaxOccursUnbounded101</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:ageListSequence&gt;
&lt;ex:ageVal&gt;44&lt;/ex:ageVal&gt;
&lt;ex:agePercentage&gt;33&lt;/ex:agePercentage&gt;
&lt;ex:ageVal&gt;24&lt;/ex:ageVal&gt;
&lt;ex:agePercentage&gt;45&lt;/ex:agePercentage&gt;
&lt;ex:ageVal&gt;64&lt;/ex:ageVal&gt;
&lt;ex:agePercentage&gt;22&lt;/ex:agePercentage&gt;
&lt;/ex:ageListSequence&gt;
</pre></div>
<p id="instance-SequenceMinOccurs1MaxOccursUnbounded102">as is the
following element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SequenceMinOccurs1MaxOccursUnbounded#SequenceMinOccurs1MaxOccursUnbounded102">SequenceMinOccurs1MaxOccursUnbounded102</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:ageListSequence&gt;
&lt;ex:ageVal&gt;44&lt;/ex:ageVal&gt;
&lt;ex:agePercentage&gt;33&lt;/ex:agePercentage&gt;
&lt;/ex:ageListSequence&gt;
</pre></div>
<p id="example-SequenceMaxOccursUnbounded">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceMinOccurs1MaxOccursUnbounded">
SequenceMinOccurs1MaxOccursUnbounded</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SequenceMaxOccursUnbounded">SequenceMaxOccursUnbounded</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="bookPublications" type="ex:BookPublications" /&gt;
&lt;xs:complexType name="BookPublications"&gt;
&lt;xs:sequence <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> maxOccurs</b>="unbounded"&gt;
&lt;xs:element name="pubDate" type="xs:string" /&gt;
&lt;xs:element name="pubISBN" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-SequenceMaxOccursUnbounded01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SequenceMaxOccursUnbounded#SequenceMaxOccursUnbounded01">SequenceMaxOccursUnbounded01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:bookPublications&gt;
&lt;ex:pubDate&gt;2002-09-24&lt;/ex:pubDate&gt;
&lt;ex:pubISBN&gt;1-55960-907-6&lt;/ex:pubISBN&gt;
&lt;ex:pubDate&gt;2003-04-14&lt;/ex:pubDate&gt;
&lt;ex:pubISBN&gt;1-25466-908-6&lt;/ex:pubISBN&gt;
&lt;ex:pubDate&gt;2004-03-31&lt;/ex:pubDate&gt;
&lt;ex:pubISBN&gt;1-35460-909-6&lt;/ex:pubISBN&gt;
&lt;ex:pubDate&gt;2005-06-04&lt;/ex:pubDate&gt;
&lt;ex:pubISBN&gt;1-54560-910-6&lt;/ex:pubISBN&gt;
&lt;ex:pubDate&gt;2006-07-03&lt;/ex:pubDate&gt;
&lt;ex:pubISBN&gt;1-74869-911-6&lt;/ex:pubISBN&gt;
&lt;/ex:bookPublications&gt;
</pre></div>
<p id="instance-SequenceMaxOccursUnbounded02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SequenceMaxOccursUnbounded#SequenceMaxOccursUnbounded02">SequenceMaxOccursUnbounded02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:bookPublications&gt;
&lt;ex:pubDate&gt;2006-01-26&lt;/ex:pubDate&gt;
&lt;ex:pubISBN&gt;1-44795-912-6&lt;/ex:pubISBN&gt;
&lt;/ex:bookPublications&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-SequenceMinOccursFinite" id=
"pattern-SequenceMinOccursFinite"></a>2.12.6
SequenceMinOccursFinite</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceMinOccursFinite">
SequenceMinOccursFinite</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceMinOccursFinite">
http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceMinOccursFinite</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-SequenceMinOccursFinite">
<code>.//xs:sequence[xs:integer(@minOccurs) gt 1]/ (@minOccurs,
@maxOccurs)</code></div>
<p id="example-SequenceMinOccursFinite">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceMinOccursFinite">
SequenceMinOccursFinite</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SequenceMinOccursFinite">SequenceMinOccursFinite</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="articleColors" type="ex:ArticleColors" /&gt;
&lt;xs:complexType name="ArticleColors"&gt;
&lt;xs:sequence <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> minOccurs</b>="2" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> maxOccurs</b>="unbounded"&gt;
&lt;xs:element name="articleColor" type="xs:string" /&gt;
&lt;xs:element name="articleContrast" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-SequenceMinOccursFinite01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SequenceMinOccursFinite#SequenceMinOccursFinite01">SequenceMinOccursFinite01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:articleColors&gt;
&lt;ex:articleColor&gt;Red&lt;/ex:articleColor&gt;
&lt;ex:articleContrast&gt;Bright&lt;/ex:articleContrast&gt;
&lt;ex:articleColor&gt;Black&lt;/ex:articleColor&gt;
&lt;ex:articleContrast&gt;Bright&lt;/ex:articleContrast&gt;
&lt;ex:articleColor&gt;White&lt;/ex:articleColor&gt;
&lt;ex:articleContrast&gt;Low&lt;/ex:articleContrast&gt;
&lt;ex:articleColor&gt;Yellow&lt;/ex:articleColor&gt;
&lt;ex:articleContrast&gt;Normal&lt;/ex:articleContrast&gt;
&lt;/ex:articleColors&gt;
</pre></div>
<p id="instance-SequenceMinOccursFinite02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SequenceMinOccursFinite#SequenceMinOccursFinite02">SequenceMinOccursFinite02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:articleColors&gt;
&lt;ex:articleColor&gt;Black&lt;/ex:articleColor&gt;
&lt;ex:articleContrast&gt;Normal&lt;/ex:articleContrast&gt;
&lt;ex:articleColor&gt;White&lt;/ex:articleColor&gt;
&lt;ex:articleContrast&gt;Bright&lt;/ex:articleContrast&gt;
&lt;/ex:articleColors&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-SequenceMaxOccursFinite" id=
"pattern-SequenceMaxOccursFinite"></a>2.12.7
SequenceMaxOccursFinite</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceMaxOccursFinite">
SequenceMaxOccursFinite</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceMaxOccursFinite">
http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceMaxOccursFinite</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-SequenceMaxOccursFinite">
<code>.//xs:sequence[@maxOccurs and not(@maxOccurs = '0' or
@maxOccurs = '1' or @maxOccurs = 'unbounded')]/
(@maxOccurs)</code></div>
<p id="example-SequenceMaxOccursFinite">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceMaxOccursFinite">
SequenceMaxOccursFinite</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SequenceMaxOccursFinite">SequenceMaxOccursFinite</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="winter" type="ex:Winter" /&gt;
&lt;xs:complexType name="Winter"&gt;
&lt;xs:sequence <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> maxOccurs</b>="4"&gt;
&lt;xs:element name="mnth" type="xs:string" /&gt;
&lt;xs:element name="weather" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-SequenceMaxOccursFinite01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SequenceMaxOccursFinite#SequenceMaxOccursFinite01">SequenceMaxOccursFinite01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:winter&gt;
&lt;ex:mnth&gt;November&lt;/ex:mnth&gt;
&lt;ex:weather&gt;Rain&lt;/ex:weather&gt;
&lt;ex:mnth&gt;December&lt;/ex:mnth&gt;
&lt;ex:weather&gt;Snow&lt;/ex:weather&gt;
&lt;ex:mnth&gt;January&lt;/ex:mnth&gt;
&lt;ex:weather&gt;Snow&lt;/ex:weather&gt;
&lt;ex:mnth&gt;February&lt;/ex:mnth&gt;
&lt;ex:weather&gt;Rain&lt;/ex:weather&gt;
&lt;/ex:winter&gt;
</pre></div>
<p id="instance-SequenceMaxOccursFinite02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SequenceMaxOccursFinite#SequenceMaxOccursFinite02">SequenceMaxOccursFinite02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:winter&gt;
&lt;ex:mnth&gt;December&lt;/ex:mnth&gt;
&lt;ex:weather&gt;Snow&lt;/ex:weather&gt;
&lt;/ex:winter&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ExtendedSequenceStrict" id=
"pattern-ExtendedSequenceStrict"></a>2.12.8
ExtendedSequenceStrict</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceStrict">
ExtendedSequenceStrict</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceStrict">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceStrict</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ExtendedSequenceStrict">
<code>.//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 = '##targetNamespace']/
(., @processContents, @minOccurs, @maxOccurs,
@namespace)</code></div>
<p id="example-ExtendedSequenceStrict">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceStrict">
ExtendedSequenceStrict</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ExtendedSequenceStrict">ExtendedSequenceStrict</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="extendedSequenceStrict" type="ex:ExtendedSequenceStrict" /&gt;
&lt;xs:complexType name="ExtendedSequenceStrict"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="firstName" type="xs:string" /&gt;
&lt;xs:element name="lastName" type="xs:string" /&gt;
&lt;xs:element name="extension" type="ex:StrictExtension" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
&lt;xs:element name="title" type="xs:string" /&gt;
&lt;xs:element name="middleName" type="xs:string" /&gt;
&lt;xs:complexType name="StrictExtension"&gt;
&lt;xs:sequence&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:any</b><b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> processContents</b>="strict" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> minOccurs</b>="0" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> maxOccurs</b>="unbounded" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> namespace</b>="##targetNamespace" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ExtendedSequenceStrict01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ExtendedSequenceStrict#ExtendedSequenceStrict01">ExtendedSequenceStrict01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:extendedSequenceStrict&gt;
&lt;ex:firstName&gt;Bobby&lt;/ex:firstName&gt;
&lt;ex:lastName&gt;Sox&lt;/ex:lastName&gt;
&lt;/ex:extendedSequenceStrict&gt;
</pre></div>
<p id="instance-ExtendedSequenceStrict02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ExtendedSequenceStrict#ExtendedSequenceStrict02">ExtendedSequenceStrict02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:extendedSequenceStrict&gt;
&lt;ex:firstName&gt;Bobby&lt;/ex:firstName&gt;
&lt;ex:lastName&gt;Sox&lt;/ex:lastName&gt;
&lt;ex:extension&gt;
&lt;ex:middleName&gt;William&lt;/ex:middleName&gt;
&lt;ex:title&gt;Mr&lt;/ex:title&gt;
&lt;/ex:extension&gt;
&lt;/ex:extendedSequenceStrict&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ExtendedSequenceLax" id=
"pattern-ExtendedSequenceLax"></a>2.12.9 ExtendedSequenceLax</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceLax">
ExtendedSequenceLax</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceLax">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceLax</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ExtendedSequenceLax">
<code>.//xs:sequence/xs:any[@processContents = 'lax' and (not
(@minOccurs) or @minOccurs = '1' or @minOccurs = '0') and (not
(@maxOccurs) or @maxOccurs = '1' or @maxOccurs='unbounded') and
@namespace = '##targetNamespace']/ (., @processContents,
@minOccurs, @maxOccurs, @namespace)</code></div>
<p id="example-ExtendedSequenceLax">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceLax">
ExtendedSequenceLax</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ExtendedSequenceLax">ExtendedSequenceLax</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="extendedSequenceLax" type="ex:ExtendedSequenceLax" /&gt;
&lt;xs:complexType name="ExtendedSequenceLax"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="firstName" type="xs:string" /&gt;
&lt;xs:element name="lastName" type="xs:string" /&gt;
&lt;xs:element name="extension" type="ex:LaxExtension" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
&lt;xs:complexType name="LaxExtension"&gt;
&lt;xs:sequence&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:any</b><b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> processContents</b>="lax" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> minOccurs</b>="0" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> maxOccurs</b>="unbounded" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> namespace</b>="##targetNamespace" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ExtendedSequenceLax01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ExtendedSequenceLax#ExtendedSequenceLax01">ExtendedSequenceLax01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:extendedSequenceLax&gt;
&lt;ex:firstName&gt;Bobby&lt;/ex:firstName&gt;
&lt;ex:lastName&gt;Sox&lt;/ex:lastName&gt;
&lt;/ex:extendedSequenceLax&gt;
</pre></div>
<p id="instance-ExtendedSequenceLax02">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ExtendedSequenceLax#ExtendedSequenceLax02">ExtendedSequenceLax02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:extendedSequenceLax&gt;
&lt;ex:firstName&gt;Bobby&lt;/ex:firstName&gt;
&lt;ex:lastName&gt;Sox&lt;/ex:lastName&gt;
&lt;ex:extension&gt;
&lt;ex:middleName&gt;William&lt;/ex:middleName&gt;
&lt;ex:title&gt;Mr&lt;/ex:title&gt;
&lt;/ex:extension&gt;
&lt;/ex:extendedSequenceLax&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ExtendedSequenceSkip" id=
"pattern-ExtendedSequenceSkip"></a>2.12.10
ExtendedSequenceSkip</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceSkip">
ExtendedSequenceSkip</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceSkip">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceSkip</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ExtendedSequenceSkip">
<code>.//xs:sequence/xs:any[@processContents = 'skip' and (not
(@minOccurs) or @minOccurs = '1' or @minOccurs = '0') and (not
(@maxOccurs) or @maxOccurs = '1' or @maxOccurs='unbounded') and
@namespace = '##targetNamespace']/ (., @processContents,
@minOccurs, @maxOccurs, @namespace)</code></div>
<p id="example-ExtendedSequenceSkip">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceSkip">
ExtendedSequenceSkip</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ExtendedSequenceSkip">ExtendedSequenceSkip</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="extendedSequenceSkip" type="ex:ExtendedSequenceSkip" /&gt;
&lt;xs:complexType name="ExtendedSequenceSkip"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="firstName" type="xs:string" /&gt;
&lt;xs:element name="lastName" type="xs:string" /&gt;
&lt;xs:element name="extension" type="ex:SkipExtension" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
&lt;xs:complexType name="SkipExtension"&gt;
&lt;xs:sequence&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:any</b><b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> processContents</b>="skip" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> minOccurs</b>="0" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> maxOccurs</b>="unbounded" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> namespace</b>="##targetNamespace" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ExtendedSequenceSkip01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ExtendedSequenceSkip#ExtendedSequenceSkip01">ExtendedSequenceSkip01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:extendedSequenceSkip&gt;
&lt;ex:firstName&gt;Bobby&lt;/ex:firstName&gt;
&lt;ex:lastName&gt;Sox&lt;/ex:lastName&gt;
&lt;/ex:extendedSequenceSkip&gt;
</pre></div>
<p id="instance-ExtendedSequenceSkip02">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ExtendedSequenceSkip#ExtendedSequenceSkip02">ExtendedSequenceSkip02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:extendedSequenceSkip&gt;
&lt;ex:firstName&gt;Bobby&lt;/ex:firstName&gt;
&lt;ex:lastName&gt;Sox&lt;/ex:lastName&gt;
&lt;ex:extension&gt;
&lt;ex:middleName&gt;William&lt;/ex:middleName&gt;
&lt;ex:title&gt;Mr&lt;/ex:title&gt;
&lt;/ex:extension&gt;
&lt;/ex:extendedSequenceSkip&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ExtendedSequenceStrictAny" id=
"pattern-ExtendedSequenceStrictAny"></a>2.12.11
ExtendedSequenceStrictAny</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceStrictAny">
ExtendedSequenceStrictAny</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceStrictAny">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceStrictAny</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ExtendedSequenceStrictAny">
<code>.//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 (not(@namespace) or @namespace =
'##any')]/ (., @processContents, @minOccurs, @maxOccurs,
@namespace)</code></div>
<p id="example-ExtendedSequenceStrictAny">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceStrictAny">
ExtendedSequenceStrictAny</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ExtendedSequenceStrictAny">ExtendedSequenceStrictAny</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="extendedSequenceStrictAny" type="ex:ExtendedSequenceStrictAny" /&gt;
&lt;xs:element name="extendedSequenceStrictAnyElement" type="xs:string" /&gt;
&lt;xs:complexType name="ExtendedSequenceStrictAny"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="firstElement" type="xs:string" /&gt;
&lt;xs:element name="lastElement" type="xs:string" /&gt;
&lt;xs:element name="extension" type="ex:ExtendedSequenceStrictAnyExtension" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
&lt;xs:complexType name="ExtendedSequenceStrictAnyExtension"&gt;
&lt;xs:sequence&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:any</b><b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> namespace</b>="##any" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> processContents</b>="strict" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> minOccurs</b>="0" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> maxOccurs</b>="unbounded" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ExtendedSequenceStrictAny01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ExtendedSequenceStrictAny#ExtendedSequenceStrictAny01">ExtendedSequenceStrictAny01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:extendedSequenceStrictAny&gt;
&lt;ex:firstElement&gt;String&lt;/ex:firstElement&gt;
&lt;ex:lastElement&gt;String&lt;/ex:lastElement&gt;
&lt;ex:extension&gt;
&lt;ex:extendedSequenceStrictAnyElement&gt;Stuff&lt;/ex:extendedSequenceStrictAnyElement&gt;
&lt;/ex:extension&gt;
&lt;/ex:extendedSequenceStrictAny&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ExtendedSequenceLaxAny" id=
"pattern-ExtendedSequenceLaxAny"></a>2.12.12
ExtendedSequenceLaxAny</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceLaxAny">
ExtendedSequenceLaxAny</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceLaxAny">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceLaxAny</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ExtendedSequenceLaxAny">
<code>.//xs:sequence/xs:any[@processContents = 'lax' and (not
(@minOccurs) or @minOccurs = '1' or @minOccurs = '0') and (not
(@maxOccurs) or @maxOccurs = '1' or @maxOccurs='unbounded') and
(not(@namespace) or @namespace = '##any')]/ (., @processContents,
@minOccurs, @maxOccurs, @namespace)</code></div>
<p id="example-ExtendedSequenceLaxAny">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceLaxAny">
ExtendedSequenceLaxAny</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ExtendedSequenceLaxAny">ExtendedSequenceLaxAny</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="extendedSequenceLaxAny" type="ex:ExtendedSequenceLaxAny" /&gt;
&lt;xs:complexType name="ExtendedSequenceLaxAny"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="firstElement" type="xs:string" /&gt;
&lt;xs:element name="lastElement" type="xs:string" /&gt;
&lt;xs:element name="extension" type="ex:ExtendedSequenceLaxAnyExtension" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
&lt;xs:complexType name="ExtendedSequenceLaxAnyExtension"&gt;
&lt;xs:sequence&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:any</b><b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> namespace</b>="##any" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> processContents</b>="lax" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> minOccurs</b>="0" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> maxOccurs</b>="unbounded" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ExtendedSequenceLaxAny01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ExtendedSequenceLaxAny#ExtendedSequenceLaxAny01">ExtendedSequenceLaxAny01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:extendedSequenceLaxAny&gt;
&lt;ex:firstElement&gt;String&lt;/ex:firstElement&gt;
&lt;ex:lastElement&gt;String&lt;/ex:lastElement&gt;
&lt;ex:extension&gt;
&lt;ex2:anyElement&gt;Stuff&lt;/ex2:anyElement&gt;
&lt;/ex:extension&gt;
&lt;/ex:extendedSequenceLaxAny&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ExtendedSequenceSkipAny" id=
"pattern-ExtendedSequenceSkipAny"></a>2.12.13
ExtendedSequenceSkipAny</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceSkipAny">
ExtendedSequenceSkipAny</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceSkipAny">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceSkipAny</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ExtendedSequenceSkipAny">
<code>.//xs:sequence/xs:any[@processContents = 'skip' and (not
(@minOccurs) or @minOccurs = '1' or @minOccurs = '0') and (not
(@maxOccurs) or @maxOccurs = '1' or @maxOccurs='unbounded') and
(not(@namespace) or @namespace = '##any')]/ (., @processContents,
@minOccurs, @maxOccurs, @namespace)</code></div>
<p id="example-ExtendedSequenceSkipAny">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceSkipAny">
ExtendedSequenceSkipAny</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ExtendedSequenceSkipAny">ExtendedSequenceSkipAny</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="extendedSequenceSkipAny" type="ex:ExtendedSequenceSkipAny" /&gt;
&lt;xs:complexType name="ExtendedSequenceSkipAny"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="firstElement" type="xs:string" /&gt;
&lt;xs:element name="lastElement" type="xs:string" /&gt;
&lt;xs:element name="extension" type="ex:ExtendedSequenceSkipAnyExtension" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
&lt;xs:complexType name="ExtendedSequenceSkipAnyExtension"&gt;
&lt;xs:sequence&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:any</b><b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> namespace</b>="##any" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> processContents</b>="skip" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> minOccurs</b>="0" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> maxOccurs</b>="unbounded" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ExtendedSequenceSkipAny01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ExtendedSequenceSkipAny#ExtendedSequenceSkipAny01">ExtendedSequenceSkipAny01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:extendedSequenceSkipAny&gt;
&lt;ex:firstElement&gt;String&lt;/ex:firstElement&gt;
&lt;ex:lastElement&gt;String&lt;/ex:lastElement&gt;
&lt;ex:extension&gt;
&lt;ex2:anyElement&gt;Stuff&lt;/ex2:anyElement&gt;
&lt;/ex:extension&gt;
&lt;/ex:extendedSequenceSkipAny&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ExtendedSequenceStrictOther" id=
"pattern-ExtendedSequenceStrictOther"></a>2.12.14
ExtendedSequenceStrictOther</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceStrictOther">
ExtendedSequenceStrictOther</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceStrictOther">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceStrictOther</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ExtendedSequenceStrictOther">
<code>.//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)</code></div>
<p id="example-ExtendedSequenceStrictOther">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceStrictOther">
ExtendedSequenceStrictOther</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ExtendedSequenceStrictOther">ExtendedSequenceStrictOther</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:import namespace="http://www.w3.org/2002/ws/databinding/examples/6/09/strict/" schemaLocation="../strict.xsd" /&gt;
&lt;xs:element name="extendedSequenceStrictOther" type="ex:ExtendedSequenceStrictOther" /&gt;
&lt;xs:complexType name="ExtendedSequenceStrictOther"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="element1" type="xs:string" /&gt;
&lt;xs:element name="element2" type="xs:string" /&gt;
&lt;xs:element name="extension" type="ex:ExtendedSequenceStrictOtherExtension" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
&lt;xs:complexType name="ExtendedSequenceStrictOtherExtension"&gt;
&lt;xs:sequence&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:any</b><b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> namespace</b>="##other" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> processContents</b>="strict" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> minOccurs</b>="0" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> maxOccurs</b>="unbounded" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ExtendedSequenceStrictOther01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ExtendedSequenceStrictOther#ExtendedSequenceStrictOther01">ExtendedSequenceStrictOther01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:extendedSequenceStrictOther&gt;
&lt;ex:element1&gt;firstElement&lt;/ex:element1&gt;
&lt;ex:element2&gt;lastElement&lt;/ex:element2&gt;
&lt;ex:extension&gt;
&lt;strictElement&gt;strictElement&lt;/strictElement&gt;
&lt;/ex:extension&gt;
&lt;/ex:extendedSequenceStrictOther&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ExtendedSequenceLaxOther" id=
"pattern-ExtendedSequenceLaxOther"></a>2.12.15
ExtendedSequenceLaxOther</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceLaxOther">
ExtendedSequenceLaxOther</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceLaxOther">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceLaxOther</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ExtendedSequenceLaxOther">
<code>.//xs:sequence/xs:any[@processContents = 'lax' 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)</code></div>
<p id="example-ExtendedSequenceLaxOther">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceLaxOther">
ExtendedSequenceLaxOther</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ExtendedSequenceLaxOther">ExtendedSequenceLaxOther</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="extendedSequenceLaxOther" type="ex:ExtendedSequenceLaxOther" /&gt;
&lt;xs:complexType name="ExtendedSequenceLaxOther"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="firstElement" type="xs:string" /&gt;
&lt;xs:element name="lastElement" type="xs:string" /&gt;
&lt;xs:element name="extension" type="ex:ExtendedSequenceLaxOtherExtension" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
&lt;xs:complexType name="ExtendedSequenceLaxOtherExtension"&gt;
&lt;xs:sequence&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:any</b><b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> namespace</b>="##other" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> processContents</b>="lax" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> minOccurs</b>="0" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> maxOccurs</b>="unbounded" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ExtendedSequenceLaxOther01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ExtendedSequenceLaxOther#ExtendedSequenceLaxOther01">ExtendedSequenceLaxOther01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:extendedSequenceLaxOther&gt;
&lt;ex:firstElement&gt;String&lt;/ex:firstElement&gt;
&lt;ex:lastElement&gt;String&lt;/ex:lastElement&gt;
&lt;ex:extension&gt;
&lt;ex2:anyElement&gt;Stuff&lt;/ex2:anyElement&gt;
&lt;/ex:extension&gt;
&lt;/ex:extendedSequenceLaxOther&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ExtendedSequenceSkipOther" id=
"pattern-ExtendedSequenceSkipOther"></a>2.12.16
ExtendedSequenceSkipOther</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceSkipOther">
ExtendedSequenceSkipOther</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceSkipOther">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceSkipOther</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ExtendedSequenceSkipOther">
<code>.//xs:sequence/xs:any[@processContents = 'skip' 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)</code></div>
<p id="example-ExtendedSequenceSkipOther">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceSkipOther">
ExtendedSequenceSkipOther</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ExtendedSequenceSkipOther">ExtendedSequenceSkipOther</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="extendedSequenceSkipOther" type="ex:ExtendedSequenceSkipOther" /&gt;
&lt;xs:complexType name="ExtendedSequenceSkipOther"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="firstElement" type="xs:string" /&gt;
&lt;xs:element name="lastElement" type="xs:string" /&gt;
&lt;xs:element name="extension" type="ex:ExtendedSequenceSkipOtherExtension" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
&lt;xs:complexType name="ExtendedSequenceSkipOtherExtension"&gt;
&lt;xs:sequence&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:any</b><b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> namespace</b>="##other" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> processContents</b>="skip" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> minOccurs</b>="0" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> maxOccurs</b>="unbounded" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ExtendedSequenceSkipOther01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ExtendedSequenceSkipOther#ExtendedSequenceSkipOther01">ExtendedSequenceSkipOther01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:extendedSequenceSkipOther&gt;
&lt;ex:firstElement&gt;String&lt;/ex:firstElement&gt;
&lt;ex:lastElement&gt;String&lt;/ex:lastElement&gt;
&lt;ex:extension&gt;
&lt;ex2:anyElement&gt;Stuff&lt;/ex2:anyElement&gt;
&lt;/ex:extension&gt;
&lt;/ex:extendedSequenceSkipOther&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-SequenceAnyStrict" id=
"pattern-SequenceAnyStrict"></a>2.12.17 SequenceAnyStrict</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceAnyStrict">
SequenceAnyStrict</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceAnyStrict">
http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceAnyStrict</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-SequenceAnyStrict">
<code>.//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 (not (@namespace) or @namespace =
'##any')]/ (., @processContents, @minOccurs, @maxOccurs,
@namespace)</code></div>
<p id="example-SequenceAnyStrict">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceAnyStrict">
SequenceAnyStrict</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SequenceAnyStrict">SequenceAnyStrict</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="sequenceAnyStrict" type="ex:SequenceAnyStrict" /&gt;
&lt;xs:complexType name="SequenceAnyStrict"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="element1" type="xs:string" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:any</b><b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> processContents</b>="strict" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> namespace</b>="##any" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> minOccurs</b>="0" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> maxOccurs</b>="unbounded" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-SequenceAnyStrict01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SequenceAnyStrict#SequenceAnyStrict01">SequenceAnyStrict01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:sequenceAnyStrict&gt;
&lt;ex:element1&gt;string&lt;/ex:element1&gt;
&lt;/ex:sequenceAnyStrict&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ExtendedSequenceNamespacedFinite" id=
"pattern-ExtendedSequenceNamespacedFinite"></a>2.12.18
ExtendedSequenceNamespacedFinite</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceNamespacedFinite">
ExtendedSequenceNamespacedFinite</a> pattern identified using the
URI <a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceNamespacedFinite">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceNamespacedFinite</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ExtendedSequenceNamespacedFinite">
<code>.//xs:sequence/xs:any[@processContents and @namespace and
@maxOccurs and (not (@minOccurs) or @minOccurs = '1' or @minOccurs
= '0') and (not (@maxOccurs = '1') ) and (not
(@maxOccurs='unbounded')) and (not (@namespace =
'##targetNamespace')) and (not (@namespace = '##any')) and (not
(@namespace = '##local')) and (not (@namespace = '##other'))]/ (.,
@processContents, @minOccurs, @maxOccurs, @namespace)</code></div>
<p id="example-ExtendedSequenceNamespacedFinite">The following
example <a href="#XMLSchema">[XML Schema 1.0]</a> extract
illustrates the use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ExtendedSequenceNamespacedFinite">
ExtendedSequenceNamespacedFinite</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ExtendedSequenceNamespacedFinite">ExtendedSequenceNamespacedFinite</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="extendedSequenceNamespacedFinite" type="ex:ExtendedSequenceNamespacedFinite" /&gt;
&lt;xs:complexType name="ExtendedSequenceNamespacedFinite"&gt;
&lt;xs:sequence&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:any</b><b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> maxOccurs</b>="2" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> processContents</b>="lax" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> namespace</b>="http://www.w3.org/2002/ws/databinding/examples/6/09/" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ExtendedSequenceNamespacedFinite01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ExtendedSequenceNamespacedFinite#ExtendedSequenceNamespacedFinite01">ExtendedSequenceNamespacedFinite01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:extendedSequenceNamespacedFinite&gt;
&lt;ex:anyElement&gt;any data&lt;/ex:anyElement&gt;
&lt;/ex:extendedSequenceNamespacedFinite&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-SequenceSequenceGroup" id=
"pattern-SequenceSequenceGroup"></a>2.12.19
SequenceSequenceGroup</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceSequenceGroup">
SequenceSequenceGroup</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceSequenceGroup">
http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceSequenceGroup</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-SequenceSequenceGroup">
<code>.//xs:sequence/xs:sequence/xs:group/(., ..)</code></div>
<p id="example-SequenceSequenceGroup">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceSequenceGroup">
SequenceSequenceGroup</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SequenceSequenceGroup">SequenceSequenceGroup</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="sequenceSequenceGroup" type="ex:SequenceSequenceGroup" /&gt;
&lt;xs:complexType name="SequenceSequenceGroup"&gt;
&lt;xs:sequence&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:sequence</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:group</b> ref="ex:SeqSeqGroup" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:sequence</b>&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
&lt;xs:group name="SeqSeqGroup"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="element1" type="xs:string" /&gt;
&lt;xs:element name="element2" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:group&gt;
</pre></div>
<p id="instance-SequenceSequenceGroup01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SequenceSequenceGroup#SequenceSequenceGroup01">SequenceSequenceGroup01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:sequenceSequenceGroup&gt;
&lt;ex:element1&gt;string1&lt;/ex:element1&gt;
&lt;ex:element2&gt;string2&lt;/ex:element2&gt;
&lt;/ex:sequenceSequenceGroup&gt;
</pre></div>
</div>
</div>
<div class="div2">
<h3><a name="group-Choice" id="group-Choice"></a>2.13 Choices</h3>
<div class="div3">
<h4><a name="pattern-ChoiceSequence" id=
"pattern-ChoiceSequence"></a>2.13.1 ChoiceSequence</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ChoiceSequence">
ChoiceSequence</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ChoiceSequence">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ChoiceSequence</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ChoiceSequence">
<code>.//xs:choice/xs:sequence/(.)</code></div>
<p id="example-ChoiceSequence">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ChoiceSequence">
ChoiceSequence</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ChoiceSequence">ChoiceSequence</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="choiceSequence" type="ex:ChoiceSequenceType" /&gt;
&lt;xs:complexType name="ChoiceSequenceType"&gt;
&lt;xs:choice&gt;
&lt;xs:element name="Avalue" type="xs:string" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:sequence</b>&gt;
&lt;xs:element name="Bvalue" type="xs:string" /&gt;
&lt;xs:element name="Cvalue" type="xs:string" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:sequence</b>&gt;
&lt;/xs:choice&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ChoiceSequence01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ChoiceSequence#ChoiceSequence01">ChoiceSequence01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:choiceSequence&gt;
&lt;ex:Avalue&gt;home&lt;/ex:Avalue&gt;
&lt;/ex:choiceSequence&gt;
</pre></div>
<p id="instance-ChoiceSequence02">as is the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ChoiceSequence#ChoiceSequence02">ChoiceSequence02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:choiceSequence&gt;
&lt;ex:Bvalue&gt;home&lt;/ex:Bvalue&gt;
&lt;ex:Cvalue&gt;home&lt;/ex:Cvalue&gt;
&lt;/ex:choiceSequence&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-SequenceChoice" id=
"pattern-SequenceChoice"></a>2.13.2 SequenceChoice</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceChoice">
SequenceChoice</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceChoice">
http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceChoice</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-SequenceChoice">
<code>.//xs:sequence/xs:choice/(.)</code></div>
<p id="example-SequenceChoice">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SequenceChoice">
SequenceChoice</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SequenceChoice">SequenceChoice</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="sequenceChoice" type="ex:SequenceChoiceType" /&gt;
&lt;xs:complexType name="SequenceChoiceType"&gt;
&lt;xs:sequence&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:choice</b>&gt;
&lt;xs:element name="Avalue" type="xs:string" /&gt;
&lt;xs:element name="Bvalue" type="xs:string" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:choice</b>&gt;
&lt;xs:element name="Cvalue" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-SequenceChoice01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SequenceChoice#SequenceChoice01">SequenceChoice01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:sequenceChoice&gt;
&lt;ex:Avalue&gt;home&lt;/ex:Avalue&gt;
&lt;ex:Cvalue&gt;home&lt;/ex:Cvalue&gt;
&lt;/ex:sequenceChoice&gt;
</pre></div>
<p id="instance-SequenceChoice02">as is the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SequenceChoice#SequenceChoice02">SequenceChoice02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:sequenceChoice&gt;
&lt;ex:Bvalue&gt;home&lt;/ex:Bvalue&gt;
&lt;ex:Cvalue&gt;home&lt;/ex:Cvalue&gt;
&lt;/ex:sequenceChoice&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ChoiceChoice" id=
"pattern-ChoiceChoice"></a>2.13.3 ChoiceChoice</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ChoiceChoice">ChoiceChoice</a>
pattern identified using the URI <a href="#RFC3986">[RFC 3986]</a>
<a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ChoiceChoice">http://www.w3.org/2002/ws/databinding/patterns/6/09/ChoiceChoice</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ChoiceChoice">
<code>.//xs:choice/xs:choice/(.)</code></div>
<p id="example-ChoiceChoice">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ChoiceChoice">ChoiceChoice</a>
pattern within an <a href="#XMLSchema">[XML Schema 1.0]</a>
document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ChoiceChoice">ChoiceChoice</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="choiceChoice" type="ex:ChoiceChoice" /&gt;
&lt;xs:complexType name="ChoiceChoice"&gt;
&lt;xs:choice&gt;
&lt;xs:element name="Avalue" type="xs:string" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:choice</b>&gt;
&lt;xs:element name="Bvalue" type="xs:string" /&gt;
&lt;xs:element name="Cvalue" type="xs:string" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:choice</b>&gt;
&lt;/xs:choice&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ChoiceChoice01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ChoiceChoice#ChoiceChoice01">ChoiceChoice01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:choiceChoice&gt;
&lt;ex:Avalue&gt;home&lt;/ex:Avalue&gt;
&lt;/ex:choiceChoice&gt;
</pre></div>
<p id="instance-ChoiceChoice02">as is the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ChoiceChoice#ChoiceChoice02">ChoiceChoice02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:choiceChoice&gt;
&lt;ex:Bvalue&gt;home&lt;/ex:Bvalue&gt;
&lt;/ex:choiceChoice&gt;
</pre></div>
<p id="instance-ChoiceChoice03">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ChoiceChoice#ChoiceChoice03">ChoiceChoice03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:choiceChoice&gt;
&lt;ex:Cvalue&gt;home&lt;/ex:Cvalue&gt;
&lt;/ex:choiceChoice&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ChoiceMaxOccursUnbounded" id=
"pattern-ChoiceMaxOccursUnbounded"></a>2.13.4
ChoiceMaxOccursUnbounded</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ChoiceMaxOccursUnbounded">
ChoiceMaxOccursUnbounded</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ChoiceMaxOccursUnbounded">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ChoiceMaxOccursUnbounded</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ChoiceMaxOccursUnbounded">
<code>.//xs:choice[@maxOccurs = 'unbounded']/
(@maxOccurs)</code></div>
<p id="example-ChoiceMaxOccursUnbounded">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ChoiceMaxOccursUnbounded">
ChoiceMaxOccursUnbounded</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ChoiceMaxOccursUnbounded">ChoiceMaxOccursUnbounded</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="choiceMaxOccursUnbounded" type="ex:ChoiceMaxOccursUnbounded" /&gt;
&lt;xs:complexType name="ChoiceMaxOccursUnbounded"&gt;
&lt;xs:choice <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> maxOccurs</b>="unbounded"&gt;
&lt;xs:element name="choiceA" type="xs:string" /&gt;
&lt;xs:element name="choiceB" type="xs:string" /&gt;
&lt;/xs:choice&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ChoiceMaxOccursUnbounded01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ChoiceMaxOccursUnbounded#ChoiceMaxOccursUnbounded01">ChoiceMaxOccursUnbounded01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:choiceMaxOccursUnbounded&gt;
&lt;ex:choiceB&gt;1st&lt;/ex:choiceB&gt;
&lt;ex:choiceB&gt;2nd&lt;/ex:choiceB&gt;
&lt;ex:choiceB&gt;3rd&lt;/ex:choiceB&gt;
&lt;/ex:choiceMaxOccursUnbounded&gt;
</pre></div>
<p id="instance-ChoiceMaxOccursUnbounded02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ChoiceMaxOccursUnbounded#ChoiceMaxOccursUnbounded02">ChoiceMaxOccursUnbounded02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:choiceMaxOccursUnbounded&gt;
&lt;ex:choiceA&gt;first&lt;/ex:choiceA&gt;
&lt;ex:choiceA&gt;second&lt;/ex:choiceA&gt;
&lt;/ex:choiceMaxOccursUnbounded&gt;
</pre></div>
<p id="instance-ChoiceMaxOccursUnbounded03">and the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ChoiceMaxOccursUnbounded#ChoiceMaxOccursUnbounded03">ChoiceMaxOccursUnbounded03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:choiceMaxOccursUnbounded&gt;
&lt;ex:choiceA&gt;1st&lt;/ex:choiceA&gt;
&lt;ex:choiceB&gt;second&lt;/ex:choiceB&gt;
&lt;ex:choiceA&gt;3rd&lt;/ex:choiceA&gt;
&lt;/ex:choiceMaxOccursUnbounded&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ChoiceMaxOccursFinite" id=
"pattern-ChoiceMaxOccursFinite"></a>2.13.5
ChoiceMaxOccursFinite</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ChoiceMaxOccursFinite">
ChoiceMaxOccursFinite</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ChoiceMaxOccursFinite">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ChoiceMaxOccursFinite</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ChoiceMaxOccursFinite">
<code>.//xs:choice[@maxOccurs and not(@maxOccurs = '0' or
@maxOccurs = '1' or @maxOccurs = 'unbounded')]/
(@maxOccurs)</code></div>
<p id="example-ChoiceMaxOccursFinite">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ChoiceMaxOccursFinite">
ChoiceMaxOccursFinite</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ChoiceMaxOccursFinite">ChoiceMaxOccursFinite</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="choiceMaxOccursFinite" type="ex:ChoiceMaxOccursFinite" /&gt;
&lt;xs:complexType name="ChoiceMaxOccursFinite"&gt;
&lt;xs:choice <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> maxOccurs</b>="2"&gt;
&lt;xs:element name="choiceA" type="xs:string" /&gt;
&lt;xs:element name="choiceB" type="xs:string" /&gt;
&lt;/xs:choice&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ChoiceMaxOccursFinite01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ChoiceMaxOccursFinite#ChoiceMaxOccursFinite01">ChoiceMaxOccursFinite01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:choiceMaxOccursFinite&gt;
&lt;ex:choiceA&gt;first&lt;/ex:choiceA&gt;
&lt;ex:choiceB&gt;second&lt;/ex:choiceB&gt;
&lt;/ex:choiceMaxOccursFinite&gt;
</pre></div>
<p id="instance-ChoiceMaxOccursFinite02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ChoiceMaxOccursFinite#ChoiceMaxOccursFinite02">ChoiceMaxOccursFinite02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:choiceMaxOccursFinite&gt;
&lt;ex:choiceA&gt;first&lt;/ex:choiceA&gt;
&lt;ex:choiceA&gt;second&lt;/ex:choiceA&gt;
&lt;/ex:choiceMaxOccursFinite&gt;
</pre></div>
<p id="instance-ChoiceMaxOccursFinite03">and the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ChoiceMaxOccursFinite#ChoiceMaxOccursFinite03">ChoiceMaxOccursFinite03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:choiceMaxOccursFinite&gt;
&lt;ex:choiceA&gt;only&lt;/ex:choiceA&gt;
&lt;/ex:choiceMaxOccursFinite&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ChoiceMinOccurs0" id=
"pattern-ChoiceMinOccurs0"></a>2.13.6 ChoiceMinOccurs0</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ChoiceMinOccurs0">
ChoiceMinOccurs0</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ChoiceMinOccurs0">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ChoiceMinOccurs0</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ChoiceMinOccurs0">
<code>.//xs:choice[@minOccurs='0']/ (@minOccurs)</code></div>
<p id="example-ChoiceMinOccurs0">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ChoiceMinOccurs0">
ChoiceMinOccurs0</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ChoiceMinOccurs0">ChoiceMinOccurs0</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="choiceMinOccurs0" type="ex:ChoiceMinOccurs0" /&gt;
&lt;xs:complexType name="ChoiceMinOccurs0"&gt;
&lt;xs:choice <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> minOccurs</b>="0"&gt;
&lt;xs:element name="AChoiceMinOccurs0" type="xs:string" /&gt;
&lt;xs:element name="BChoiceMinOccurs0" type="xs:string" /&gt;
&lt;/xs:choice&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ChoiceMinOccurs001">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ChoiceMinOccurs0#ChoiceMinOccurs001">ChoiceMinOccurs001</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:choiceMinOccurs0&gt;
&lt;ex:AChoiceMinOccurs0&gt;A&lt;/ex:AChoiceMinOccurs0&gt;
&lt;/ex:choiceMinOccurs0&gt;
</pre></div>
<p id="instance-ChoiceMinOccurs002">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ChoiceMinOccurs0#ChoiceMinOccurs002">ChoiceMinOccurs002</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:choiceMinOccurs0&gt;
&lt;ex:BChoiceMinOccurs0&gt;B&lt;/ex:BChoiceMinOccurs0&gt;
&lt;/ex:choiceMinOccurs0&gt;
</pre></div>
<p id="instance-ChoiceMinOccurs003">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ChoiceMinOccurs0#ChoiceMinOccurs003">ChoiceMinOccurs003</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:choiceMinOccurs0/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ChoiceMinOccursFinite" id=
"pattern-ChoiceMinOccursFinite"></a>2.13.7
ChoiceMinOccursFinite</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ChoiceMinOccursFinite">
ChoiceMinOccursFinite</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ChoiceMinOccursFinite">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ChoiceMinOccursFinite</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ChoiceMinOccursFinite">
<code>.//xs:choice[@minOccurs and not(@minOccurs = '0' or
@minOccurs = '1')]/ (@minOccurs)</code></div>
<p id="example-ChoiceMinOccursFinite">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ChoiceMinOccursFinite">
ChoiceMinOccursFinite</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ChoiceMinOccursFinite">ChoiceMinOccursFinite</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="choiceMinOccursFinite" type="ex:ChoiceMinOccursFinite" /&gt;
&lt;xs:complexType name="ChoiceMinOccursFinite"&gt;
&lt;xs:choice <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> minOccurs</b>="2" maxOccurs="2"&gt;
&lt;xs:element name="AChoiceMinOccursFinite" type="xs:string" /&gt;
&lt;xs:element name="BChoiceMinOccursFinite" type="xs:string" /&gt;
&lt;/xs:choice&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ChoiceMinOccursFinite01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ChoiceMinOccursFinite#ChoiceMinOccursFinite01">ChoiceMinOccursFinite01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:choiceMinOccursFinite&gt;
&lt;ex:AChoiceMinOccursFinite&gt;A&lt;/ex:AChoiceMinOccursFinite&gt;
&lt;ex:AChoiceMinOccursFinite&gt;AA&lt;/ex:AChoiceMinOccursFinite&gt;
&lt;/ex:choiceMinOccursFinite&gt;
</pre></div>
<p id="instance-ChoiceMinOccursFinite02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ChoiceMinOccursFinite#ChoiceMinOccursFinite02">ChoiceMinOccursFinite02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:choiceMinOccursFinite&gt;
&lt;ex:BChoiceMinOccursFinite&gt;B&lt;/ex:BChoiceMinOccursFinite&gt;
&lt;ex:AChoiceMinOccursFinite&gt;BA&lt;/ex:AChoiceMinOccursFinite&gt;
&lt;/ex:choiceMinOccursFinite&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ComplexTypeChoiceAny" id=
"pattern-ComplexTypeChoiceAny"></a>2.13.8 ComplexTypeChoiceAny</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeChoiceAny">
ComplexTypeChoiceAny</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeChoiceAny">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeChoiceAny</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ComplexTypeChoiceAny">
<code>.//xs:complexType/xs:choice/xs:any/(., @namespace,
@processContents, @maxOccurs, @minOccurs)</code></div>
<p id="example-ComplexTypeChoiceAny">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeChoiceAny">
ComplexTypeChoiceAny</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeChoiceAny">ComplexTypeChoiceAny</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="complexTypeChoiceAny" type="ex:ComplexTypeChoiceAny" /&gt;
&lt;xs:complexType name="ComplexTypeChoiceAny"&gt;
&lt;xs:choice&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:any</b><b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> minOccurs</b>="0" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> maxOccurs</b>="unbounded" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> namespace</b>="##any" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> processContents</b>="lax" /&gt;
&lt;/xs:choice&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ComplexTypeChoiceAny01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeChoiceAny#ComplexTypeChoiceAny01">ComplexTypeChoiceAny01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:complexTypeChoiceAny&gt;
&lt;ex:anything&gt;
&lt;ex:element&gt;any data&lt;/ex:element&gt;
&lt;/ex:anything&gt;
&lt;/ex:complexTypeChoiceAny&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ComplexTypeSequenceChoiceAny" id=
"pattern-ComplexTypeSequenceChoiceAny"></a>2.13.9
ComplexTypeSequenceChoiceAny</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeSequenceChoiceAny">
ComplexTypeSequenceChoiceAny</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeSequenceChoiceAny">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeSequenceChoiceAny</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ComplexTypeSequenceChoiceAny">
<code>.//xs:complexType/xs:sequence/xs:choice/xs:any/(.,
@namespace, @processContents, @maxOccurs, @minOccurs)</code></div>
<p id="example-ComplexTypeSequenceChoiceAny">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ComplexTypeSequenceChoiceAny">
ComplexTypeSequenceChoiceAny</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeSequenceChoiceAny">ComplexTypeSequenceChoiceAny</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="complexTypeSequenceChoiceAny" type="ex:ComplexTypeSequenceChoiceAny" /&gt;
&lt;xs:complexType name="ComplexTypeSequenceChoiceAny"&gt;
&lt;xs:sequence&gt;
&lt;xs:choice&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:any</b><b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> minOccurs</b>="0" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> maxOccurs</b>="unbounded" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> namespace</b>="##any" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> processContents</b>="lax" /&gt;
&lt;/xs:choice&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ComplexTypeSequenceChoiceAny01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ComplexTypeSequenceChoiceAny#ComplexTypeSequenceChoiceAny01">ComplexTypeSequenceChoiceAny01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:complexTypeSequenceChoiceAny&gt;
&lt;ex:anyElement&gt;any data&lt;/ex:anyElement&gt;
&lt;/ex:complexTypeSequenceChoiceAny&gt;
</pre></div>
</div>
</div>
<div class="div2">
<h3><a name="group-Unions" id="group-Unions"></a>2.14 Unions</h3>
<div class="div3">
<h4><a name="pattern-UnionMemberTypes" id=
"pattern-UnionMemberTypes"></a>2.14.1 UnionMemberTypes</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnionMemberTypes">
UnionMemberTypes</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnionMemberTypes">
http://www.w3.org/2002/ws/databinding/patterns/6/09/UnionMemberTypes</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-UnionMemberTypes">
<code>.//xs:simpleType/xs:union[@memberTypes and
not(xs:simpleType)]/ (., @memberTypes)</code></div>
<p id="example-UnionMemberTypes">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnionMemberTypes">
UnionMemberTypes</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnionMemberTypes">UnionMemberTypes</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:simpleType name="UnionMemberTypes"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:union</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> memberTypes</b>="xs:int xs:string" /&gt;
&lt;/xs:simpleType&gt;
&lt;xs:element name="unionMemberTypes" type="ex:UnionMemberTypes" /&gt;
</pre></div>
<p id="instance-UnionMemberTypes01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnionMemberTypes#UnionMemberTypes01">UnionMemberTypes01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unionMemberTypes&gt;22&lt;/ex:unionMemberTypes&gt;
</pre></div>
<p id="instance-UnionMemberTypes02">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnionMemberTypes#UnionMemberTypes02">UnionMemberTypes02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unionMemberTypes&gt;a string?&lt;/ex:unionMemberTypes&gt;
</pre></div>
<p id="example-UnionDateString">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnionMemberTypes">
UnionMemberTypes</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnionDateString">UnionDateString</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:simpleType name="UnionDateString"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:union</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> memberTypes</b>="xs:date xs:string" /&gt;
&lt;/xs:simpleType&gt;
&lt;xs:element name="unionDateString" type="ex:UnionDateString" /&gt;
</pre></div>
<p id="instance-UnionDateString01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnionDateString#UnionDateString01">UnionDateString01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unionDateString&gt;Tonight&lt;/ex:unionDateString&gt;
</pre></div>
<p id="instance-UnionDateString02">as is the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnionDateString#UnionDateString02">UnionDateString02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unionDateString&gt;2006-06-06&lt;/ex:unionDateString&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-UnionSimpleTypes" id=
"pattern-UnionSimpleTypes"></a>2.14.2 UnionSimpleTypes</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnionSimpleTypes">
UnionSimpleTypes</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnionSimpleTypes">
http://www.w3.org/2002/ws/databinding/patterns/6/09/UnionSimpleTypes</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-UnionSimpleTypes">
<code>.//xs:simpleType/xs:union[not(@memberTypes)]/xs:simpleType/
(.., .)</code></div>
<p id="example-UnionSimpleDateString">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnionSimpleTypes">
UnionSimpleTypes</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnionSimpleDateString">UnionSimpleDateString</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:simpleType name="UnionSimpleDateString"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:union</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:simpleType</b>&gt;
&lt;xs:restriction base="xs:date" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:simpleType</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:simpleType</b>&gt;
&lt;xs:restriction base="xs:string" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:simpleType</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:union</b>&gt;
&lt;/xs:simpleType&gt;
&lt;xs:element name="unionSimpleDateString" type="ex:UnionSimpleDateString" /&gt;
</pre></div>
<p id="instance-UnionSimpleDateString01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnionSimpleDateString#UnionSimpleDateString01">UnionSimpleDateString01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unionSimpleDateString&gt;Monday Night&lt;/ex:unionSimpleDateString&gt;
</pre></div>
<p id="instance-UnionSimpleDateString02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnionSimpleDateString#UnionSimpleDateString02">UnionSimpleDateString02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unionSimpleDateString&gt;2006-06-06&lt;/ex:unionSimpleDateString&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-UnionSimpleAndMemberTypes" id=
"pattern-UnionSimpleAndMemberTypes"></a>2.14.3
UnionSimpleAndMemberTypes</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnionSimpleAndMemberTypes">
UnionSimpleAndMemberTypes</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnionSimpleAndMemberTypes">
http://www.w3.org/2002/ws/databinding/patterns/6/09/UnionSimpleAndMemberTypes</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-UnionSimpleAndMemberTypes">
<code>.//xs:simpleType/xs:union[@memberTypes and xs:simpleType]/
(., @memberTypes, xs:simpleType)</code></div>
<p id="example-UnionSimpleAndMemberTypes">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnionSimpleAndMemberTypes">
UnionSimpleAndMemberTypes</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnionSimpleAndMemberTypes">UnionSimpleAndMemberTypes</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="unionSimpleAndMemberTypes" type="ex:UnionSimpleAndMemberTypes" /&gt;
&lt;xs:simpleType name="UnionSimpleAndMemberTypes"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:union</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> memberTypes</b>="xs:string"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:simpleType</b>&gt;
&lt;xs:restriction base="xs:date" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:simpleType</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:union</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-UnionSimpleAndMemberTypes01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnionSimpleAndMemberTypes#UnionSimpleAndMemberTypes01">UnionSimpleAndMemberTypes01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unionSimpleAndMemberTypes&gt;string&lt;/ex:unionSimpleAndMemberTypes&gt;
</pre></div>
</div>
</div>
<div class="div2">
<h3><a name="group-lists" id="group-lists"></a>2.15 Lists</h3>
<div class="div3">
<h4><a name="pattern-List" id="pattern-List"></a>2.15.1 List</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/List">List</a>
pattern identified using the URI <a href="#RFC3986">[RFC 3986]</a>
<a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/List">http://www.w3.org/2002/ws/databinding/patterns/6/09/List</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-List"><code>.//xs:list[@itemType]/ (.,
@itemType)</code></div>
<p id="example-List">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/List">List</a>
pattern within an <a href="#XMLSchema">[XML Schema 1.0]</a>
document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/List">List</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="list" type="ex:List" /&gt;
&lt;xs:simpleType name="List"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:list</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> itemType</b>="xs:string" /&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-List01">The following example <a href="#XML">[XML
1.0]</a> element is valid against the above example <a href=
"#XMLSchema">[XML Schema 1.0]</a> when included inside an instance
document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/List#List01">List01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:list&gt;This is a list of strings&lt;/ex:list&gt;
</pre></div>
</div>
</div>
<div class="div2">
<h3><a name="group-ElementPredefinedTypes" id=
"group-ElementPredefinedTypes"></a>2.16 Element Predefined
Types</h3>
<div class="div3">
<h4><a name="pattern-AnySimpleTypeElement" id=
"pattern-AnySimpleTypeElement"></a>2.16.1 AnySimpleTypeElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnySimpleTypeElement">
AnySimpleTypeElement</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnySimpleTypeElement">
http://www.w3.org/2002/ws/databinding/patterns/6/09/AnySimpleTypeElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-AnySimpleTypeElement">
<code>.//xs:element/@type[resolve-QName(.,..) =
xs:QName('xs:anySimpleType')]</code></div>
<p id="example-AnySimpleTypeElement">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnySimpleTypeElement">
AnySimpleTypeElement</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AnySimpleTypeElement">AnySimpleTypeElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="anySimpleTypeElement" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:anySimpleType" /&gt;
</pre></div>
<p id="instance-AnySimpleTypeElement01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AnySimpleTypeElement#AnySimpleTypeElement01">AnySimpleTypeElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:anySimpleTypeElement/&gt;
</pre></div>
<p id="instance-AnySimpleTypeElement02">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AnySimpleTypeElement#AnySimpleTypeElement02">AnySimpleTypeElement02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:anySimpleTypeElement&gt;anySimpleTypeValue&lt;/ex:anySimpleTypeElement&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-AnyTypeElement" id=
"pattern-AnyTypeElement"></a>2.16.2 AnyTypeElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyTypeElement">
AnyTypeElement</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyTypeElement">
http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyTypeElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-AnyTypeElement">
<code>.//xs:element/@type[resolve-QName(.,..) =
xs:QName('xs:anyType')]</code></div>
<p id="example-AnyTypeElement">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnyTypeElement">
AnyTypeElement</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AnyTypeElement">AnyTypeElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="anyTypeElement" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:anyType" /&gt;
</pre></div>
<p id="instance-AnyTypeElement01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AnyTypeElement#AnyTypeElement01">AnyTypeElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:anyTypeElement/&gt;
</pre></div>
<p id="instance-AnyTypeElement02">as is the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AnyTypeElement#AnyTypeElement02">AnyTypeElement02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:anyTypeElement&gt;
&lt;foo&gt;
&lt;bar&gt;cheese&lt;/bar&gt;
&lt;/foo&gt;
&lt;/ex:anyTypeElement&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-DecimalElement" id=
"pattern-DecimalElement"></a>2.16.3 DecimalElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DecimalElement">
DecimalElement</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DecimalElement">
http://www.w3.org/2002/ws/databinding/patterns/6/09/DecimalElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-DecimalElement">
<code>.//xs:element/@type[resolve-QName(.,..) =
xs:QName('xs:decimal')]</code></div>
<p id="example-DecimalElement">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DecimalElement">
DecimalElement</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DecimalElement">DecimalElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="decimalElement" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:decimal" /&gt;
</pre></div>
<p id="instance-DecimalElement01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DecimalElement#DecimalElement01">DecimalElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:decimalElement&gt;0&lt;/ex:decimalElement&gt;
</pre></div>
<p id="instance-DecimalElement02">as is the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DecimalElement#DecimalElement02">DecimalElement02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:decimalElement&gt;-1.23&lt;/ex:decimalElement&gt;
</pre></div>
<p id="instance-DecimalElement03">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DecimalElement#DecimalElement03">DecimalElement03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:decimalElement&gt;12678967.543233&lt;/ex:decimalElement&gt;
</pre></div>
<p id="instance-DecimalElement04">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DecimalElement#DecimalElement04">DecimalElement04</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:decimalElement&gt;+1000000.00&lt;/ex:decimalElement&gt;
</pre></div>
<p id="instance-DecimalElement05">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DecimalElement#DecimalElement05">DecimalElement05</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:decimalElement&gt;+100000000000000000000000000000000000000000000.00&lt;/ex:decimalElement&gt;
</pre></div>
<p id="instance-DecimalElement06">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DecimalElement#DecimalElement06">DecimalElement06</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:decimalElement&gt;210&lt;/ex:decimalElement&gt;
</pre></div>
<p id="instance-DecimalElement07">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DecimalElement#DecimalElement07">DecimalElement07</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:decimalElement&gt;210.00&lt;/ex:decimalElement&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-FloatElement" id=
"pattern-FloatElement"></a>2.16.4 FloatElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/FloatElement">FloatElement</a>
pattern identified using the URI <a href="#RFC3986">[RFC 3986]</a>
<a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/FloatElement">http://www.w3.org/2002/ws/databinding/patterns/6/09/FloatElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-FloatElement">
<code>.//xs:element/@type[resolve-QName(.,..) =
xs:QName('xs:float')]</code></div>
<p id="example-FloatElement">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/FloatElement">FloatElement</a>
pattern within an <a href="#XMLSchema">[XML Schema 1.0]</a>
document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/FloatElement">FloatElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="floatElement" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:float" /&gt;
</pre></div>
<p id="instance-FloatElement01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/FloatElement#FloatElement01">FloatElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:floatElement&gt;-1E4&lt;/ex:floatElement&gt;
</pre></div>
<p id="instance-FloatElement02">as is the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/FloatElement#FloatElement02">FloatElement02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:floatElement&gt;1267.43233E12&lt;/ex:floatElement&gt;
</pre></div>
<p id="instance-FloatElement03">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/FloatElement#FloatElement03">FloatElement03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:floatElement&gt;12.78e-2&lt;/ex:floatElement&gt;
</pre></div>
<p id="instance-FloatElement04">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/FloatElement#FloatElement04">FloatElement04</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:floatElement&gt;12&lt;/ex:floatElement&gt;
</pre></div>
<p id="instance-FloatElement05">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/FloatElement#FloatElement05">FloatElement05</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:floatElement&gt;INF&lt;/ex:floatElement&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-DurationElement" id=
"pattern-DurationElement"></a>2.16.5 DurationElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DurationElement">
DurationElement</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DurationElement">
http://www.w3.org/2002/ws/databinding/patterns/6/09/DurationElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-DurationElement">
<code>.//xs:element/@type[resolve-QName(.,..) =
xs:QName('xs:duration')]</code></div>
<p id="example-DurationElement">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DurationElement">
DurationElement</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DurationElement">DurationElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="durationElement" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:duration" /&gt;
</pre></div>
<p id="instance-DurationElement01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DurationElement#DurationElement01">DurationElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:durationElement&gt;P1Y2M3DT10H30M&lt;/ex:durationElement&gt;
</pre></div>
<p id="instance-DurationElement02">as is the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DurationElement#DurationElement02">DurationElement02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:durationElement&gt;-P1347M&lt;/ex:durationElement&gt;
</pre></div>
<p id="instance-DurationElement03">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DurationElement#DurationElement03">DurationElement03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:durationElement&gt;P1347Y&lt;/ex:durationElement&gt;
</pre></div>
<p id="instance-DurationElement04">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DurationElement#DurationElement04">DurationElement04</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:durationElement&gt;P1M&lt;/ex:durationElement&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-TimeElement" id=
"pattern-TimeElement"></a>2.16.6 TimeElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/TimeElement">TimeElement</a>
pattern identified using the URI <a href="#RFC3986">[RFC 3986]</a>
<a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/TimeElement">http://www.w3.org/2002/ws/databinding/patterns/6/09/TimeElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-TimeElement">
<code>.//xs:element/@type[resolve-QName(.,..) =
xs:QName('xs:time')]</code></div>
<p id="example-TimeElement">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/TimeElement">TimeElement</a>
pattern within an <a href="#XMLSchema">[XML Schema 1.0]</a>
document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/TimeElement">TimeElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="timeElement" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:time" /&gt;
</pre></div>
<p id="instance-TimeElement01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/TimeElement#TimeElement01">TimeElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:timeElement&gt;00:00:00&lt;/ex:timeElement&gt;
</pre></div>
<p id="instance-TimeElement02">as is the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/TimeElement#TimeElement02">TimeElement02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:timeElement&gt;12:00:01&lt;/ex:timeElement&gt;
</pre></div>
<p id="instance-TimeElement03">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/TimeElement#TimeElement03">TimeElement03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:timeElement&gt;23:59:59&lt;/ex:timeElement&gt;
</pre></div>
<p id="instance-TimeElement04">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/TimeElement#TimeElement04">TimeElement04</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:timeElement&gt;13:21:03Z&lt;/ex:timeElement&gt;
</pre></div>
<p id="instance-TimeElement05">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/TimeElement#TimeElement05">TimeElement05</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:timeElement&gt;13:21:03-04:32&lt;/ex:timeElement&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-DateElement" id=
"pattern-DateElement"></a>2.16.7 DateElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DateElement">DateElement</a>
pattern identified using the URI <a href="#RFC3986">[RFC 3986]</a>
<a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DateElement">http://www.w3.org/2002/ws/databinding/patterns/6/09/DateElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-DateElement">
<code>.//xs:element/@type[resolve-QName(.,..) =
xs:QName('xs:date')]</code></div>
<p id="example-DateElement">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DateElement">DateElement</a>
pattern within an <a href="#XMLSchema">[XML Schema 1.0]</a>
document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DateElement">DateElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="dateElement" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:date" /&gt;
</pre></div>
<p id="instance-DateElement01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DateElement#DateElement01">DateElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:dateElement&gt;1999-05-31&lt;/ex:dateElement&gt;
</pre></div>
<p id="instance-DateElement02">as is the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DateElement#DateElement02">DateElement02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:dateElement&gt;0739-05-31&lt;/ex:dateElement&gt;
</pre></div>
<p id="instance-DateElement03">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DateElement#DateElement03">DateElement03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:dateElement&gt;2038-05-31Z&lt;/ex:dateElement&gt;
</pre></div>
<p id="instance-DateElement04">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DateElement#DateElement04">DateElement04</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:dateElement&gt;1999-05-31+05:43&lt;/ex:dateElement&gt;
</pre></div>
<p id="instance-DateElement05">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DateElement#DateElement05">DateElement05</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:dateElement&gt;10739-05-31&lt;/ex:dateElement&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-GYearMonthElement" id=
"pattern-GYearMonthElement"></a>2.16.8 GYearMonthElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GYearMonthElement">
GYearMonthElement</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GYearMonthElement">
http://www.w3.org/2002/ws/databinding/patterns/6/09/GYearMonthElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-GYearMonthElement">
<code>.//xs:element/@type[resolve-QName(.,..) =
xs:QName('xs:gYearMonth')]</code></div>
<p id="example-GYearMonthElement">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GYearMonthElement">
GYearMonthElement</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearMonthElement">GYearMonthElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="gYearMonthElement" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:gYearMonth" /&gt;
</pre></div>
<p id="instance-GYearMonthElement01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearMonthElement#GYearMonthElement01">GYearMonthElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gYearMonthElement&gt;1999-05&lt;/ex:gYearMonthElement&gt;
</pre></div>
<p id="instance-GYearMonthElement02">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearMonthElement#GYearMonthElement02">GYearMonthElement02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gYearMonthElement&gt;0739-05&lt;/ex:gYearMonthElement&gt;
</pre></div>
<p id="instance-GYearMonthElement03">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearMonthElement#GYearMonthElement03">GYearMonthElement03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gYearMonthElement&gt;2038-02&lt;/ex:gYearMonthElement&gt;
</pre></div>
<p id="instance-GYearMonthElement04">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearMonthElement#GYearMonthElement04">GYearMonthElement04</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gYearMonthElement&gt;2007-05+01:00&lt;/ex:gYearMonthElement&gt;
</pre></div>
<p id="instance-GYearMonthElement05">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearMonthElement#GYearMonthElement05">GYearMonthElement05</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gYearMonthElement&gt;2007-05-01:00&lt;/ex:gYearMonthElement&gt;
</pre></div>
<p id="instance-GYearMonthElement06">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearMonthElement#GYearMonthElement06">GYearMonthElement06</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gYearMonthElement&gt;2007-05Z&lt;/ex:gYearMonthElement&gt;
</pre></div>
<p id="instance-GYearMonthElement07">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearMonthElement#GYearMonthElement07">GYearMonthElement07</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gYearMonthElement&gt;10739-05&lt;/ex:gYearMonthElement&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-GYearElement" id=
"pattern-GYearElement"></a>2.16.9 GYearElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GYearElement">GYearElement</a>
pattern identified using the URI <a href="#RFC3986">[RFC 3986]</a>
<a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GYearElement">http://www.w3.org/2002/ws/databinding/patterns/6/09/GYearElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-GYearElement">
<code>.//xs:element/@type[resolve-QName(.,..) =
xs:QName('xs:gYear')]</code></div>
<p id="example-GYearElement">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GYearElement">GYearElement</a>
pattern within an <a href="#XMLSchema">[XML Schema 1.0]</a>
document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearElement">GYearElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="gYearElement" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:gYear" /&gt;
</pre></div>
<p id="instance-GYearElement01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearElement#GYearElement01">GYearElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gYearElement&gt;1999&lt;/ex:gYearElement&gt;
</pre></div>
<p id="instance-GYearElement02">as is the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearElement#GYearElement02">GYearElement02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gYearElement&gt;0739&lt;/ex:gYearElement&gt;
</pre></div>
<p id="instance-GYearElement03">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearElement#GYearElement03">GYearElement03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gYearElement&gt;2039&lt;/ex:gYearElement&gt;
</pre></div>
<p id="instance-GYearElement04">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearElement#GYearElement04">GYearElement04</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gYearElement&gt;2007-13:00&lt;/ex:gYearElement&gt;
</pre></div>
<p id="instance-GYearElement05">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearElement#GYearElement05">GYearElement05</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gYearElement&gt;1999+02:00&lt;/ex:gYearElement&gt;
</pre></div>
<p id="instance-GYearElement06">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearElement#GYearElement06">GYearElement06</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gYearElement&gt;2008Z&lt;/ex:gYearElement&gt;
</pre></div>
<p id="instance-GYearElement07">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearElement#GYearElement07">GYearElement07</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gYearElement&gt;10739&lt;/ex:gYearElement&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-GMonthDayElement" id=
"pattern-GMonthDayElement"></a>2.16.10 GMonthDayElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GMonthDayElement">
GMonthDayElement</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GMonthDayElement">
http://www.w3.org/2002/ws/databinding/patterns/6/09/GMonthDayElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-GMonthDayElement">
<code>.//xs:element/@type[resolve-QName(.,..) =
xs:QName('xs:gMonthDay')]</code></div>
<p id="example-GMonthDayElement">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GMonthDayElement">
GMonthDayElement</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GMonthDayElement">GMonthDayElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="gMonthDayElement" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:gMonthDay" /&gt;
</pre></div>
<p id="instance-GMonthDayElement01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GMonthDayElement#GMonthDayElement01">GMonthDayElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gMonthDayElement&gt;--12-31&lt;/ex:gMonthDayElement&gt;
</pre></div>
<p id="instance-GMonthDayElement02">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GMonthDayElement#GMonthDayElement02">GMonthDayElement02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gMonthDayElement&gt;--12-31Z&lt;/ex:gMonthDayElement&gt;
</pre></div>
<p id="instance-GMonthDayElement03">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GMonthDayElement#GMonthDayElement03">GMonthDayElement03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gMonthDayElement&gt;--12-31-05:00&lt;/ex:gMonthDayElement&gt;
</pre></div>
<p id="instance-GMonthDayElement04">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GMonthDayElement#GMonthDayElement04">GMonthDayElement04</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gMonthDayElement&gt;--12-31+01:00&lt;/ex:gMonthDayElement&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-GDayElement" id=
"pattern-GDayElement"></a>2.16.11 GDayElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GDayElement">GDayElement</a>
pattern identified using the URI <a href="#RFC3986">[RFC 3986]</a>
<a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GDayElement">http://www.w3.org/2002/ws/databinding/patterns/6/09/GDayElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-GDayElement">
<code>.//xs:element/@type[resolve-QName(.,..) =
xs:QName('xs:gDay')]</code></div>
<p id="example-GDayElement">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GDayElement">GDayElement</a>
pattern within an <a href="#XMLSchema">[XML Schema 1.0]</a>
document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GDayElement">GDayElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="gDayElement" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:gDay" /&gt;
</pre></div>
<p id="instance-GDayElement01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GDayElement#GDayElement01">GDayElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gDayElement&gt;---05&lt;/ex:gDayElement&gt;
</pre></div>
<p id="instance-GDayElement02">as is the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GDayElement#GDayElement02">GDayElement02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gDayElement&gt;---12Z&lt;/ex:gDayElement&gt;
</pre></div>
<p id="instance-GDayElement03">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GDayElement#GDayElement03">GDayElement03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gDayElement&gt;---31-12:00&lt;/ex:gDayElement&gt;
</pre></div>
<p id="instance-GDayElement04">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GDayElement#GDayElement04">GDayElement04</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gDayElement&gt;---05+01:00&lt;/ex:gDayElement&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-GMonthElement" id=
"pattern-GMonthElement"></a>2.16.12 GMonthElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GMonthElement">
GMonthElement</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GMonthElement">
http://www.w3.org/2002/ws/databinding/patterns/6/09/GMonthElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-GMonthElement">
<code>.//xs:element/@type[resolve-QName(.,..) =
xs:QName('xs:gMonth')]</code></div>
<p id="example-GMonthElement">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GMonthElement">
GMonthElement</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GMonthElement">GMonthElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="gMonthElement" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:gMonth" /&gt;
</pre></div>
<p id="instance-GMonthElement01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GMonthElement#GMonthElement01">GMonthElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gMonthElement&gt;--02&lt;/ex:gMonthElement&gt;
</pre></div>
<p id="instance-GMonthElement02">as is the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GMonthElement#GMonthElement02">GMonthElement02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gMonthElement&gt;--12-01:33&lt;/ex:gMonthElement&gt;
</pre></div>
<p id="instance-GMonthElement03">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GMonthElement#GMonthElement03">GMonthElement03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gMonthElement&gt;--12+01:02&lt;/ex:gMonthElement&gt;
</pre></div>
<p id="instance-GMonthElement04">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GMonthElement#GMonthElement04">GMonthElement04</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gMonthElement&gt;--12Z&lt;/ex:gMonthElement&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-HexBinaryElement" id=
"pattern-HexBinaryElement"></a>2.16.13 HexBinaryElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/HexBinaryElement">
HexBinaryElement</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/HexBinaryElement">
http://www.w3.org/2002/ws/databinding/patterns/6/09/HexBinaryElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-HexBinaryElement">
<code>.//xs:element/@type[resolve-QName(.,..) =
xs:QName('xs:hexBinary')]</code></div>
<p id="example-HexBinaryElement">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/HexBinaryElement">
HexBinaryElement</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/HexBinaryElement">HexBinaryElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="hexBinaryElement" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:hexBinary" /&gt;
</pre></div>
<p id="instance-HexBinaryElement01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/HexBinaryElement#HexBinaryElement01">HexBinaryElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:hexBinaryElement&gt;76&lt;/ex:hexBinaryElement&gt;
</pre></div>
<p id="instance-HexBinaryElement02">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/HexBinaryElement#HexBinaryElement02">HexBinaryElement02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:hexBinaryElement&gt;77696f646d6f6e7974637174716a7169696e6b65616f76786f746e66716b707875757261736e686469796b65706c656d7465626661637661646e6b65636662647669726d6f6e757361&lt;/ex:hexBinaryElement&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-LanguageElement" id=
"pattern-LanguageElement"></a>2.16.14 LanguageElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/LanguageElement">
LanguageElement</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/LanguageElement">
http://www.w3.org/2002/ws/databinding/patterns/6/09/LanguageElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-LanguageElement">
<code>.//xs:element/@type[resolve-QName(.,..) =
xs:QName('xs:language')]</code></div>
<p id="lc-i18n-3-1">Note, best current practice for the use of the
<code>xs:language</code> type is described in <a href="#BCP47">[BCP
47]</a>.</p>
<p id="example-LanguageElement">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/LanguageElement">
LanguageElement</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/LanguageElement">LanguageElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="languageElement" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:language" /&gt;
</pre></div>
<p id="instance-LanguageElement01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/LanguageElement#LanguageElement01">LanguageElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:languageElement&gt;en&lt;/ex:languageElement&gt;
</pre></div>
<p id="instance-LanguageElement02">as is the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/LanguageElement#LanguageElement02">LanguageElement02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:languageElement&gt;fr&lt;/ex:languageElement&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-NMTOKENElement" id=
"pattern-NMTOKENElement"></a>2.16.15 NMTOKENElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NMTOKENElement">
NMTOKENElement</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NMTOKENElement">
http://www.w3.org/2002/ws/databinding/patterns/6/09/NMTOKENElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-NMTOKENElement">
<code>.//xs:element/@type[resolve-QName(.,..) =
xs:QName('xs:NMTOKEN')]</code></div>
<p id="example-NMTOKENElement">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NMTOKENElement">
NMTOKENElement</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NMTOKENElement">NMTOKENElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="NMTOKENElement" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:NMTOKEN" /&gt;
</pre></div>
<p id="instance-NMTOKENElement01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NMTOKENElement#NMTOKENElement01">NMTOKENElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:NMTOKENElement&gt;id&lt;/ex:NMTOKENElement&gt;
</pre></div>
<p id="instance-NMTOKENElement02">as is the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NMTOKENElement#NMTOKENElement02">NMTOKENElement02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:NMTOKENElement&gt;vocabularies:that.as:clean:assuring-s_to:The_we:contain&lt;/ex:NMTOKENElement&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-NMTOKENSElement" id=
"pattern-NMTOKENSElement"></a>2.16.16 NMTOKENSElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NMTOKENSElement">
NMTOKENSElement</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NMTOKENSElement">
http://www.w3.org/2002/ws/databinding/patterns/6/09/NMTOKENSElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-NMTOKENSElement">
<code>.//xs:element/@type[resolve-QName(.,..) =
xs:QName('xs:NMTOKENS')]</code></div>
<p id="example-NMTOKENSElement">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NMTOKENSElement">
NMTOKENSElement</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NMTOKENSElement">NMTOKENSElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="NMTOKENSElement" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:NMTOKENS" /&gt;
</pre></div>
<p id="instance-NMTOKENSElement01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NMTOKENSElement#NMTOKENSElement01">NMTOKENSElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:NMTOKENSElement&gt;a b c d e.b:s-w_x:q&lt;/ex:NMTOKENSElement&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-IDElement" id="pattern-IDElement"></a>2.16.17
IDElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IDElement">IDElement</a>
pattern identified using the URI <a href="#RFC3986">[RFC 3986]</a>
<a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IDElement">http://www.w3.org/2002/ws/databinding/patterns/6/09/IDElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-IDElement">
<code>.//xs:element/@type[resolve-QName(.,..) =
xs:QName('xs:ID')]</code></div>
<p id="example-IDElement">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IDElement">IDElement</a>
pattern within an <a href="#XMLSchema">[XML Schema 1.0]</a>
document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IDElement">IDElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="IDElement" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:ID" /&gt;
</pre></div>
<p id="instance-IDElement01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IDElement#IDElement01">IDElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:IDElement&gt;foo&lt;/ex:IDElement&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-IDREFElement" id=
"pattern-IDREFElement"></a>2.16.18 IDREFElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IDREFElement">IDREFElement</a>
pattern identified using the URI <a href="#RFC3986">[RFC 3986]</a>
<a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IDREFElement">http://www.w3.org/2002/ws/databinding/patterns/6/09/IDREFElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-IDREFElement">
<code>.//xs:element/@type[resolve-QName(.,..) =
xs:QName('xs:IDREF')]</code></div>
<p id="example-IDREFElement">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IDREFElement">IDREFElement</a>
pattern within an <a href="#XMLSchema">[XML Schema 1.0]</a>
document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IDREFElement">IDREFElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="IDREFElement" type="ex:IDREFElementComplextType" /&gt;
&lt;xs:complexType name="IDREFElementComplextType"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="element" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:IDREF" /&gt;
&lt;xs:element name="id" type="xs:ID" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-IDREFElement01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IDREFElement#IDREFElement01">IDREFElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:IDREFElement&gt;
&lt;ex:element&gt;idref&lt;/ex:element&gt;
&lt;ex:id&gt;idref&lt;/ex:id&gt;
&lt;/ex:IDREFElement&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-IDREFSElement" id=
"pattern-IDREFSElement"></a>2.16.19 IDREFSElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IDREFSElement">
IDREFSElement</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IDREFSElement">
http://www.w3.org/2002/ws/databinding/patterns/6/09/IDREFSElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-IDREFSElement">
<code>.//xs:element/@type[resolve-QName(.,..) =
xs:QName('xs:IDREFS')]</code></div>
<p id="example-IDREFSElement">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IDREFSElement">
IDREFSElement</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IDREFSElement">IDREFSElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="IDREFSElement" type="ex:IDREFSElementComplextType" /&gt;
&lt;xs:complexType name="IDREFSElementComplextType"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="element" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:IDREFS" /&gt;
&lt;xs:element name="id1" type="xs:ID" /&gt;
&lt;xs:element name="id2" type="xs:ID" /&gt;
&lt;xs:element name="id3" type="xs:ID" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-IDREFSElement01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IDREFSElement#IDREFSElement01">IDREFSElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:IDREFSElement&gt;
&lt;ex:element&gt;id1 id2 id3&lt;/ex:element&gt;
&lt;ex:id1&gt;id1&lt;/ex:id1&gt;
&lt;ex:id2&gt;id2&lt;/ex:id2&gt;
&lt;ex:id3&gt;id3&lt;/ex:id3&gt;
&lt;/ex:IDREFSElement&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ENTITYElement" id=
"pattern-ENTITYElement"></a>2.16.20 ENTITYElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ENTITYElement">
ENTITYElement</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ENTITYElement">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ENTITYElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ENTITYElement">
<code>.//xs:element/@type[resolve-QName(.,..) =
xs:QName('xs:ENTITY')]</code></div>
<p id="example-ENTITYElement">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ENTITYElement">
ENTITYElement</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ENTITYElement">ENTITYElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="ENTITYElement" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:ENTITY" /&gt;
</pre></div>
<p id="instance-ENTITYElement01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ENTITYElement#ENTITYElement01">ENTITYElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:ENTITYElement&gt;lt&lt;/ex:ENTITYElement&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ENTITIESElement" id=
"pattern-ENTITIESElement"></a>2.16.21 ENTITIESElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ENTITIESElement">
ENTITIESElement</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ENTITIESElement">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ENTITIESElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ENTITIESElement">
<code>.//xs:element/@type[resolve-QName(.,..) =
xs:QName('xs:ENTITIES')]</code></div>
<p id="example-ENTITIESElement">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ENTITIESElement">
ENTITIESElement</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ENTITIESElement">ENTITIESElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="ENTITIESElement" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:ENTITIES" /&gt;
</pre></div>
<p id="instance-ENTITIESElement01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ENTITIESElement#ENTITIESElement01">ENTITIESElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:ENTITIESElement&gt;lt gt apos quot&lt;/ex:ENTITIESElement&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-IntegerElement" id=
"pattern-IntegerElement"></a>2.16.22 IntegerElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IntegerElement">
IntegerElement</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IntegerElement">
http://www.w3.org/2002/ws/databinding/patterns/6/09/IntegerElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-IntegerElement">
<code>.//xs:element/@type[resolve-QName(.,..) =
xs:QName('xs:integer')]</code></div>
<p id="example-IntegerElement">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IntegerElement">
IntegerElement</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IntegerElement">IntegerElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="integerElement" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:integer" /&gt;
</pre></div>
<p id="instance-IntegerElement01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IntegerElement#IntegerElement01">IntegerElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:integerElement&gt;0&lt;/ex:integerElement&gt;
</pre></div>
<p id="instance-IntegerElement02">as is the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IntegerElement#IntegerElement02">IntegerElement02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:integerElement&gt;1&lt;/ex:integerElement&gt;
</pre></div>
<p id="instance-IntegerElement03">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IntegerElement#IntegerElement03">IntegerElement03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:integerElement&gt;-42&lt;/ex:integerElement&gt;
</pre></div>
<p id="instance-IntegerElement04">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IntegerElement#IntegerElement04">IntegerElement04</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:integerElement&gt;12678967543233&lt;/ex:integerElement&gt;
</pre></div>
<p id="instance-IntegerElement05">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IntegerElement#IntegerElement05">IntegerElement05</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:integerElement&gt;+10000&lt;/ex:integerElement&gt;
</pre></div>
<p id="instance-IntegerElement06">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IntegerElement#IntegerElement06">IntegerElement06</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:integerElement&gt;1234567891234567838475834753838887348573489123456789123456789&lt;/ex:integerElement&gt;
</pre></div>
<p id="instance-IntegerElement07">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IntegerElement#IntegerElement07">IntegerElement07</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:integerElement&gt;-1234567891234567838475834753838887348573489123456789123456789&lt;/ex:integerElement&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-NonPositiveIntegerElement" id=
"pattern-NonPositiveIntegerElement"></a>2.16.23
NonPositiveIntegerElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NonPositiveIntegerElement">
NonPositiveIntegerElement</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NonPositiveIntegerElement">
http://www.w3.org/2002/ws/databinding/patterns/6/09/NonPositiveIntegerElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-NonPositiveIntegerElement">
<code>.//xs:element/@type[resolve-QName(.,..) =
xs:QName('xs:nonPositiveInteger')]</code></div>
<p id="example-NonPositiveIntegerElement">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NonPositiveIntegerElement">
NonPositiveIntegerElement</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NonPositiveIntegerElement">NonPositiveIntegerElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="nonPositiveIntegerElement" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:nonPositiveInteger" /&gt;
</pre></div>
<p id="instance-NonPositiveIntegerElement01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NonPositiveIntegerElement#NonPositiveIntegerElement01">NonPositiveIntegerElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:nonPositiveIntegerElement&gt;-1&lt;/ex:nonPositiveIntegerElement&gt;
</pre></div>
<p id="instance-NonPositiveIntegerElement02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NonPositiveIntegerElement#NonPositiveIntegerElement02">NonPositiveIntegerElement02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:nonPositiveIntegerElement&gt;0&lt;/ex:nonPositiveIntegerElement&gt;
</pre></div>
<p id="instance-NonPositiveIntegerElement03">and the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NonPositiveIntegerElement#NonPositiveIntegerElement03">NonPositiveIntegerElement03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:nonPositiveIntegerElement&gt;+0&lt;/ex:nonPositiveIntegerElement&gt;
</pre></div>
<p id="instance-NonPositiveIntegerElement04">and the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NonPositiveIntegerElement#NonPositiveIntegerElement04">NonPositiveIntegerElement04</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:nonPositiveIntegerElement&gt;-1234324234532534254325234534252345342534253425324534253244&lt;/ex:nonPositiveIntegerElement&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-NegativeIntegerElement" id=
"pattern-NegativeIntegerElement"></a>2.16.24
NegativeIntegerElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NegativeIntegerElement">
NegativeIntegerElement</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NegativeIntegerElement">
http://www.w3.org/2002/ws/databinding/patterns/6/09/NegativeIntegerElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-NegativeIntegerElement">
<code>.//xs:element/@type[resolve-QName(.,..) =
xs:QName('xs:negativeInteger')]</code></div>
<p id="example-NegativeIntegerElement">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NegativeIntegerElement">
NegativeIntegerElement</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NegativeIntegerElement">NegativeIntegerElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="negativeIntegerElement" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:negativeInteger" /&gt;
</pre></div>
<p id="instance-NegativeIntegerElement01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NegativeIntegerElement#NegativeIntegerElement01">NegativeIntegerElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:negativeIntegerElement&gt;-1&lt;/ex:negativeIntegerElement&gt;
</pre></div>
<p id="instance-NegativeIntegerElement02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NegativeIntegerElement#NegativeIntegerElement02">NegativeIntegerElement02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:negativeIntegerElement&gt;-12343242342345345346453643564536543645363456&lt;/ex:negativeIntegerElement&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-NonNegativeIntegerElement" id=
"pattern-NonNegativeIntegerElement"></a>2.16.25
NonNegativeIntegerElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NonNegativeIntegerElement">
NonNegativeIntegerElement</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NonNegativeIntegerElement">
http://www.w3.org/2002/ws/databinding/patterns/6/09/NonNegativeIntegerElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-NonNegativeIntegerElement">
<code>.//xs:element/@type[resolve-QName(.,..) =
xs:QName('xs:nonNegativeInteger')]</code></div>
<p id="example-NonNegativeIntegerElement">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NonNegativeIntegerElement">
NonNegativeIntegerElement</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NonNegativeIntegerElement">NonNegativeIntegerElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="nonNegativeIntegerElement" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:nonNegativeInteger" /&gt;
</pre></div>
<p id="instance-NonNegativeIntegerElement01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NonNegativeIntegerElement#NonNegativeIntegerElement01">NonNegativeIntegerElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:nonNegativeIntegerElement&gt;1&lt;/ex:nonNegativeIntegerElement&gt;
</pre></div>
<p id="instance-NonNegativeIntegerElement02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NonNegativeIntegerElement#NonNegativeIntegerElement02">NonNegativeIntegerElement02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:nonNegativeIntegerElement&gt;-0&lt;/ex:nonNegativeIntegerElement&gt;
</pre></div>
<p id="instance-NonNegativeIntegerElement03">and the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NonNegativeIntegerElement#NonNegativeIntegerElement03">NonNegativeIntegerElement03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:nonNegativeIntegerElement&gt;0&lt;/ex:nonNegativeIntegerElement&gt;
</pre></div>
<p id="instance-NonNegativeIntegerElement04">and the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NonNegativeIntegerElement#NonNegativeIntegerElement04">NonNegativeIntegerElement04</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:nonNegativeIntegerElement&gt;+42&lt;/ex:nonNegativeIntegerElement&gt;
</pre></div>
<p id="instance-NonNegativeIntegerElement05">and the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NonNegativeIntegerElement#NonNegativeIntegerElement05">NonNegativeIntegerElement05</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:nonNegativeIntegerElement&gt;3141592653531415926536106615151970884848347234273984723&lt;/ex:nonNegativeIntegerElement&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-UnsignedLongElement" id=
"pattern-UnsignedLongElement"></a>2.16.26 UnsignedLongElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedLongElement">
UnsignedLongElement</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedLongElement">
http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedLongElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-UnsignedLongElement">
<code>.//xs:element/@type[resolve-QName(.,..) =
xs:QName('xs:unsignedLong')]</code></div>
<p id="example-UnsignedLongElement">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedLongElement">
UnsignedLongElement</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedLongElement">UnsignedLongElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="unsignedLongElement" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:unsignedLong" /&gt;
</pre></div>
<p id="instance-UnsignedLongElement01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedLongElement#UnsignedLongElement01">UnsignedLongElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedLongElement&gt;1&lt;/ex:unsignedLongElement&gt;
</pre></div>
<p id="instance-UnsignedLongElement02">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedLongElement#UnsignedLongElement02">UnsignedLongElement02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedLongElement&gt;-0&lt;/ex:unsignedLongElement&gt;
</pre></div>
<p id="instance-UnsignedLongElement03">and the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedLongElement#UnsignedLongElement03">UnsignedLongElement03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedLongElement&gt;+42&lt;/ex:unsignedLongElement&gt;
</pre></div>
<p id="instance-UnsignedLongElement04">and the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedLongElement#UnsignedLongElement04">UnsignedLongElement04</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedLongElement&gt;18446744073709551615&lt;/ex:unsignedLongElement&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-UnsignedIntElement" id=
"pattern-UnsignedIntElement"></a>2.16.27 UnsignedIntElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedIntElement">
UnsignedIntElement</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedIntElement">
http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedIntElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-UnsignedIntElement">
<code>.//xs:element/@type[resolve-QName(.,..) =
xs:QName('xs:unsignedInt')]</code></div>
<p id="example-UnsignedIntElement">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedIntElement">
UnsignedIntElement</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedIntElement">UnsignedIntElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="unsignedIntElement" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:unsignedInt" /&gt;
</pre></div>
<p id="instance-UnsignedIntElement01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedIntElement#UnsignedIntElement01">UnsignedIntElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedIntElement&gt;1&lt;/ex:unsignedIntElement&gt;
</pre></div>
<p id="instance-UnsignedIntElement02">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedIntElement#UnsignedIntElement02">UnsignedIntElement02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedIntElement&gt;-0&lt;/ex:unsignedIntElement&gt;
</pre></div>
<p id="instance-UnsignedIntElement03">and the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedIntElement#UnsignedIntElement03">UnsignedIntElement03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedIntElement&gt;+42&lt;/ex:unsignedIntElement&gt;
</pre></div>
<p id="instance-UnsignedIntElement04">and the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedIntElement#UnsignedIntElement04">UnsignedIntElement04</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedIntElement&gt;4294967295&lt;/ex:unsignedIntElement&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-UnsignedShortElement" id=
"pattern-UnsignedShortElement"></a>2.16.28
UnsignedShortElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedShortElement">
UnsignedShortElement</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedShortElement">
http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedShortElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-UnsignedShortElement">
<code>.//xs:element/@type[resolve-QName(.,..) =
xs:QName('xs:unsignedShort')]</code></div>
<p id="example-UnsignedShortElement">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedShortElement">
UnsignedShortElement</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedShortElement">UnsignedShortElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="unsignedShortElement" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:unsignedShort" /&gt;
</pre></div>
<p id="instance-UnsignedShortElement01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedShortElement#UnsignedShortElement01">UnsignedShortElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedShortElement&gt;1&lt;/ex:unsignedShortElement&gt;
</pre></div>
<p id="instance-UnsignedShortElement02">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedShortElement#UnsignedShortElement02">UnsignedShortElement02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedShortElement&gt;-0&lt;/ex:unsignedShortElement&gt;
</pre></div>
<p id="instance-UnsignedShortElement03">and the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedShortElement#UnsignedShortElement03">UnsignedShortElement03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedShortElement&gt;+42&lt;/ex:unsignedShortElement&gt;
</pre></div>
<p id="instance-UnsignedShortElement04">and the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedShortElement#UnsignedShortElement04">UnsignedShortElement04</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedShortElement&gt;65535&lt;/ex:unsignedShortElement&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-UnsignedByteElement" id=
"pattern-UnsignedByteElement"></a>2.16.29 UnsignedByteElement</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedByteElement">
UnsignedByteElement</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedByteElement">
http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedByteElement</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-UnsignedByteElement">
<code>.//xs:element/@type[resolve-QName(.,..) =
xs:QName('xs:unsignedByte')]</code></div>
<p id="example-UnsignedByteElement">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedByteElement">
UnsignedByteElement</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedByteElement">UnsignedByteElement</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="unsignedByteElement" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:unsignedByte" /&gt;
</pre></div>
<p id="instance-UnsignedByteElement01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedByteElement#UnsignedByteElement01">UnsignedByteElement01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedByteElement&gt;1&lt;/ex:unsignedByteElement&gt;
</pre></div>
<p id="instance-UnsignedByteElement02">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedByteElement#UnsignedByteElement02">UnsignedByteElement02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedByteElement&gt;-0&lt;/ex:unsignedByteElement&gt;
</pre></div>
<p id="instance-UnsignedByteElement03">and the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedByteElement#UnsignedByteElement03">UnsignedByteElement03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedByteElement&gt;+42&lt;/ex:unsignedByteElement&gt;
</pre></div>
<p id="instance-UnsignedByteElement04">and the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedByteElement#UnsignedByteElement04">UnsignedByteElement04</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedByteElement&gt;255&lt;/ex:unsignedByteElement&gt;
</pre></div>
</div>
</div>
<div class="div2">
<h3><a name="group-AttributePredefinedTypes" id=
"group-AttributePredefinedTypes"></a>2.17 Attribute Predefined
Types</h3>
<div class="div3">
<h4><a name="pattern-AnySimpleTypeAttribute" id=
"pattern-AnySimpleTypeAttribute"></a>2.17.1
AnySimpleTypeAttribute</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnySimpleTypeAttribute">
AnySimpleTypeAttribute</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnySimpleTypeAttribute">
http://www.w3.org/2002/ws/databinding/patterns/6/09/AnySimpleTypeAttribute</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-AnySimpleTypeAttribute">
<code>.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:anySimpleType')]</code></div>
<p id="example-AnySimpleTypeAttribute">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AnySimpleTypeAttribute">
AnySimpleTypeAttribute</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AnySimpleTypeAttribute">AnySimpleTypeAttribute</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="anySimpleTypeAttribute" type="ex:AnySimpleTypeAttribute" /&gt;
&lt;xs:complexType name="AnySimpleTypeAttribute"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="text" type="xs:string" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="anySimpleType" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:anySimpleType" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-AnySimpleTypeAttribute01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AnySimpleTypeAttribute#AnySimpleTypeAttribute01">AnySimpleTypeAttribute01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:anySimpleTypeAttribute anySimpleType="hello"/&gt;
</pre></div>
<p id="instance-AnySimpleTypeAttribute02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AnySimpleTypeAttribute#AnySimpleTypeAttribute02">AnySimpleTypeAttribute02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:anySimpleTypeAttribute anySimpleType="1"/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-DecimalAttribute" id=
"pattern-DecimalAttribute"></a>2.17.2 DecimalAttribute</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DecimalAttribute">
DecimalAttribute</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DecimalAttribute">
http://www.w3.org/2002/ws/databinding/patterns/6/09/DecimalAttribute</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-DecimalAttribute">
<code>.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:decimal')]</code></div>
<p id="example-DecimalAttribute">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DecimalAttribute">
DecimalAttribute</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DecimalAttribute">DecimalAttribute</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="decimalAttribute" type="ex:DecimalAttribute" /&gt;
&lt;xs:complexType name="DecimalAttribute"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="text" type="xs:string" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="decimal" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:decimal" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-DecimalAttribute01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DecimalAttribute#DecimalAttribute01">DecimalAttribute01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:decimalAttribute decimal="+10000000999829292922093443563.32423442"/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-FloatAttribute" id=
"pattern-FloatAttribute"></a>2.17.3 FloatAttribute</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/FloatAttribute">
FloatAttribute</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/FloatAttribute">
http://www.w3.org/2002/ws/databinding/patterns/6/09/FloatAttribute</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-FloatAttribute">
<code>.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:float')]</code></div>
<p id="example-FloatAttribute">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/FloatAttribute">
FloatAttribute</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/FloatAttribute">FloatAttribute</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="floatAttribute" type="ex:FloatAttribute" /&gt;
&lt;xs:complexType name="FloatAttribute"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="text" type="xs:string" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="float" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:float" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-FloatAttribute01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/FloatAttribute#FloatAttribute01">FloatAttribute01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:floatAttribute float="-7446.445E5"/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-DurationAttribute" id=
"pattern-DurationAttribute"></a>2.17.4 DurationAttribute</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DurationAttribute">
DurationAttribute</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DurationAttribute">
http://www.w3.org/2002/ws/databinding/patterns/6/09/DurationAttribute</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-DurationAttribute">
<code>.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:duration')]</code></div>
<p id="example-DurationAttribute">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DurationAttribute">
DurationAttribute</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DurationAttribute">DurationAttribute</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="durationAttribute" type="ex:DurationAttribute" /&gt;
&lt;xs:complexType name="DurationAttribute"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="text" type="xs:string" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="duration" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:duration" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-DurationAttribute01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DurationAttribute#DurationAttribute01">DurationAttribute01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:durationAttribute duration="P1M"/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-TimeAttribute" id=
"pattern-TimeAttribute"></a>2.17.5 TimeAttribute</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/TimeAttribute">
TimeAttribute</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/TimeAttribute">
http://www.w3.org/2002/ws/databinding/patterns/6/09/TimeAttribute</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-TimeAttribute">
<code>.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:time')]</code></div>
<p id="example-TimeAttribute">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/TimeAttribute">
TimeAttribute</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/TimeAttribute">TimeAttribute</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="timeAttribute" type="ex:TimeAttribute" /&gt;
&lt;xs:complexType name="TimeAttribute"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="text" type="xs:string" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="time" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:time" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-TimeAttribute01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/TimeAttribute#TimeAttribute01">TimeAttribute01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:timeAttribute time="00:00:00"/&gt;
</pre></div>
<p id="instance-TimeAttribute02">as is the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/TimeAttribute#TimeAttribute02">TimeAttribute02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:timeAttribute time="12:00:01"/&gt;
</pre></div>
<p id="instance-TimeAttribute03">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/TimeAttribute#TimeAttribute03">TimeAttribute03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:timeAttribute time="23:59:59"/&gt;
</pre></div>
<p id="instance-TimeAttribute04">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/TimeAttribute#TimeAttribute04">TimeAttribute04</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:timeAttribute time="12:34:56Z"/&gt;
</pre></div>
<p id="instance-TimeAttribute05">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/TimeAttribute#TimeAttribute05">TimeAttribute05</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:timeAttribute time="12:34:56+01:23"/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-DateAttribute" id=
"pattern-DateAttribute"></a>2.17.6 DateAttribute</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DateAttribute">
DateAttribute</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DateAttribute">
http://www.w3.org/2002/ws/databinding/patterns/6/09/DateAttribute</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-DateAttribute">
<code>.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:date')]</code></div>
<p id="example-DateAttribute">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DateAttribute">
DateAttribute</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DateAttribute">DateAttribute</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="dateAttribute" type="ex:DateAttribute" /&gt;
&lt;xs:complexType name="DateAttribute"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="text" type="xs:string" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="date" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:date" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-DateAttribute01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DateAttribute#DateAttribute01">DateAttribute01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:dateAttribute date="2006-05-30"/&gt;
</pre></div>
<p id="instance-DateAttribute02">as is the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DateAttribute#DateAttribute02">DateAttribute02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:dateAttribute date="0739-05-31"/&gt;
</pre></div>
<p id="instance-DateAttribute03">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DateAttribute#DateAttribute03">DateAttribute03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:dateAttribute date="2038-12-31Z"/&gt;
</pre></div>
<p id="instance-DateAttribute04">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DateAttribute#DateAttribute04">DateAttribute04</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:dateAttribute date="2006-05-30-01:00"/&gt;
</pre></div>
<p id="instance-DateAttribute05">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DateAttribute#DateAttribute05">DateAttribute05</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:dateAttribute date="10739-05-31"/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-GYearMonthAttribute" id=
"pattern-GYearMonthAttribute"></a>2.17.7 GYearMonthAttribute</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GYearMonthAttribute">
GYearMonthAttribute</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GYearMonthAttribute">
http://www.w3.org/2002/ws/databinding/patterns/6/09/GYearMonthAttribute</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-GYearMonthAttribute">
<code>.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:gYearMonth')]</code></div>
<p id="example-GYearMonthAttribute">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GYearMonthAttribute">
GYearMonthAttribute</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearMonthAttribute">GYearMonthAttribute</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="gYearMonthAttribute" type="ex:GYearMonthAttribute" /&gt;
&lt;xs:complexType name="GYearMonthAttribute"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="text" type="xs:string" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="gYearMonth" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:gYearMonth" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-GYearMonthAttribute01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearMonthAttribute#GYearMonthAttribute01">GYearMonthAttribute01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gYearMonthAttribute gYearMonth="2006-09"/&gt;
</pre></div>
<p id="instance-GYearMonthAttribute02">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearMonthAttribute#GYearMonthAttribute02">GYearMonthAttribute02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gYearMonthAttribute gYearMonth="0739-09"/&gt;
</pre></div>
<p id="instance-GYearMonthAttribute03">and the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearMonthAttribute#GYearMonthAttribute03">GYearMonthAttribute03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gYearMonthAttribute gYearMonth="2038-09"/&gt;
</pre></div>
<p id="instance-GYearMonthAttribute04">and the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearMonthAttribute#GYearMonthAttribute04">GYearMonthAttribute04</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gYearMonthAttribute gYearMonth="2006-09+01:00"/&gt;
</pre></div>
<p id="instance-GYearMonthAttribute05">and the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearMonthAttribute#GYearMonthAttribute05">GYearMonthAttribute05</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gYearMonthAttribute gYearMonth="2006-09-01:00"/&gt;
</pre></div>
<p id="instance-GYearMonthAttribute06">and the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearMonthAttribute#GYearMonthAttribute06">GYearMonthAttribute06</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gYearMonthAttribute gYearMonth="2007-05Z"/&gt;
</pre></div>
<p id="instance-GYearMonthAttribute07">and the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearMonthAttribute#GYearMonthAttribute07">GYearMonthAttribute07</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gYearMonthAttribute gYearMonth="10739-09"/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-GYearAttribute" id=
"pattern-GYearAttribute"></a>2.17.8 GYearAttribute</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GYearAttribute">
GYearAttribute</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GYearAttribute">
http://www.w3.org/2002/ws/databinding/patterns/6/09/GYearAttribute</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-GYearAttribute">
<code>.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:gYear')]</code></div>
<p id="example-GYearAttribute">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GYearAttribute">
GYearAttribute</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearAttribute">GYearAttribute</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="gYearAttribute" type="ex:GYearAttribute" /&gt;
&lt;xs:complexType name="GYearAttribute"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="text" type="xs:string" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="gYear" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:gYear" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-GYearAttribute01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearAttribute#GYearAttribute01">GYearAttribute01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gYearAttribute gYear="1999"/&gt;
</pre></div>
<p id="instance-GYearAttribute02">as is the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearAttribute#GYearAttribute02">GYearAttribute02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gYearAttribute gYear="0739"/&gt;
</pre></div>
<p id="instance-GYearAttribute03">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearAttribute#GYearAttribute03">GYearAttribute03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gYearAttribute gYear="2039"/&gt;
</pre></div>
<p id="instance-GYearAttribute04">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearAttribute#GYearAttribute04">GYearAttribute04</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gYearAttribute gYear="2007-13:00"/&gt;
</pre></div>
<p id="instance-GYearAttribute05">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearAttribute#GYearAttribute05">GYearAttribute05</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gYearAttribute gYear="1999+02:00"/&gt;
</pre></div>
<p id="instance-GYearAttribute06">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearAttribute#GYearAttribute06">GYearAttribute06</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gYearAttribute gYear="2008Z"/&gt;
</pre></div>
<p id="instance-GYearAttribute07">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearAttribute#GYearAttribute07">GYearAttribute07</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gYearAttribute gYear="10739"/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-GMonthDayAttribute" id=
"pattern-GMonthDayAttribute"></a>2.17.9 GMonthDayAttribute</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GMonthDayAttribute">
GMonthDayAttribute</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GMonthDayAttribute">
http://www.w3.org/2002/ws/databinding/patterns/6/09/GMonthDayAttribute</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-GMonthDayAttribute">
<code>.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:gMonthDay')]</code></div>
<p id="example-GMonthDayAttribute">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GMonthDayAttribute">
GMonthDayAttribute</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GMonthDayAttribute">GMonthDayAttribute</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="gMonthDayAttribute" type="ex:GMonthDayAttribute" /&gt;
&lt;xs:complexType name="GMonthDayAttribute"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="text" type="xs:string" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="gMonthDay" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:gMonthDay" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-GMonthDayAttribute01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GMonthDayAttribute#GMonthDayAttribute01">GMonthDayAttribute01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gMonthDayAttribute gMonthDay="--09-28"/&gt;
</pre></div>
<p id="instance-GMonthDayAttribute02">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GMonthDayAttribute#GMonthDayAttribute02">GMonthDayAttribute02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gMonthDayAttribute gMonthDay="--09-28Z"/&gt;
</pre></div>
<p id="instance-GMonthDayAttribute03">and the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GMonthDayAttribute#GMonthDayAttribute03">GMonthDayAttribute03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gMonthDayAttribute gMonthDay="--09-28-13:00"/&gt;
</pre></div>
<p id="instance-GMonthDayAttribute04">and the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GMonthDayAttribute#GMonthDayAttribute04">GMonthDayAttribute04</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gMonthDayAttribute gMonthDay="--09-28+01:00"/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-GDayAttribute" id=
"pattern-GDayAttribute"></a>2.17.10 GDayAttribute</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GDayAttribute">
GDayAttribute</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GDayAttribute">
http://www.w3.org/2002/ws/databinding/patterns/6/09/GDayAttribute</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-GDayAttribute">
<code>.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:gDay')]</code></div>
<p id="example-GDayAttribute">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GDayAttribute">
GDayAttribute</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GDayAttribute">GDayAttribute</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="gDayAttribute" type="ex:GDayAttribute" /&gt;
&lt;xs:complexType name="GDayAttribute"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="text" type="xs:string" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="gDay" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:gDay" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-GDayAttribute01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GDayAttribute#GDayAttribute01">GDayAttribute01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gDayAttribute gDay="---09"/&gt;
</pre></div>
<p id="instance-GDayAttribute02">as is the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GDayAttribute#GDayAttribute02">GDayAttribute02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gDayAttribute gDay="---12Z"/&gt;
</pre></div>
<p id="instance-GDayAttribute03">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GDayAttribute#GDayAttribute03">GDayAttribute03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gDayAttribute gDay="---24-12:00"/&gt;
</pre></div>
<p id="instance-GDayAttribute04">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GDayAttribute#GDayAttribute04">GDayAttribute04</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gDayAttribute gDay="---31+01:00"/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-GMonthAttribute" id=
"pattern-GMonthAttribute"></a>2.17.11 GMonthAttribute</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GMonthAttribute">
GMonthAttribute</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GMonthAttribute">
http://www.w3.org/2002/ws/databinding/patterns/6/09/GMonthAttribute</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-GMonthAttribute">
<code>.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:gMonth')]</code></div>
<p id="example-GMonthAttribute">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GMonthAttribute">
GMonthAttribute</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GMonthAttribute">GMonthAttribute</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="gMonthAttribute" type="ex:GMonthAttribute" /&gt;
&lt;xs:complexType name="GMonthAttribute"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="text" type="xs:string" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="gMonth" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:gMonth" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-GMonthAttribute01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GMonthAttribute#GMonthAttribute01">GMonthAttribute01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gMonthAttribute gMonth="--04--"/&gt;
</pre></div>
<p id="instance-GMonthAttribute02">as is the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GMonthAttribute#GMonthAttribute02">GMonthAttribute02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gMonthAttribute gMonth="--04Z"/&gt;
</pre></div>
<p id="instance-GMonthAttribute03">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GMonthAttribute#GMonthAttribute03">GMonthAttribute03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gMonthAttribute gMonth="--12+02:00"/&gt;
</pre></div>
<p id="instance-GMonthAttribute04">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GMonthAttribute#GMonthAttribute04">GMonthAttribute04</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gMonthAttribute gMonth="--04-10:00"/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-HexBinaryAttribute" id=
"pattern-HexBinaryAttribute"></a>2.17.12 HexBinaryAttribute</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/HexBinaryAttribute">
HexBinaryAttribute</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/HexBinaryAttribute">
http://www.w3.org/2002/ws/databinding/patterns/6/09/HexBinaryAttribute</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-HexBinaryAttribute">
<code>.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:hexBinary')]</code></div>
<p id="example-HexBinaryAttribute">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/HexBinaryAttribute">
HexBinaryAttribute</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/HexBinaryAttribute">HexBinaryAttribute</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="hexBinaryAttribute" type="ex:HexBinaryAttribute" /&gt;
&lt;xs:complexType name="HexBinaryAttribute"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="text" type="xs:string" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="hexBinary" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:hexBinary" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-HexBinaryAttribute01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/HexBinaryAttribute#HexBinaryAttribute01">HexBinaryAttribute01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:hexBinaryAttribute hexBinary="77696f"/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-Base64BinaryAttribute" id=
"pattern-Base64BinaryAttribute"></a>2.17.13
Base64BinaryAttribute</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/Base64BinaryAttribute">
Base64BinaryAttribute</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/Base64BinaryAttribute">
http://www.w3.org/2002/ws/databinding/patterns/6/09/Base64BinaryAttribute</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-Base64BinaryAttribute">
<code>.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:base64Binary')]</code></div>
<p id="example-Base64BinaryAttribute">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/Base64BinaryAttribute">
Base64BinaryAttribute</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/Base64BinaryAttribute">Base64BinaryAttribute</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="base64BinaryAttribute" type="ex:Base64BinaryAttribute" /&gt;
&lt;xs:complexType name="Base64BinaryAttribute"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="text" type="xs:string" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="base64Binary" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:base64Binary" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-Base64BinaryAttribute01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/Base64BinaryAttribute#Base64BinaryAttribute01">Base64BinaryAttribute01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:base64BinaryAttribute base64Binary="cnRjbGNyZW9scg=="/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-LanguageAttribute" id=
"pattern-LanguageAttribute"></a>2.17.14 LanguageAttribute</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/LanguageAttribute">
LanguageAttribute</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/LanguageAttribute">
http://www.w3.org/2002/ws/databinding/patterns/6/09/LanguageAttribute</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-LanguageAttribute">
<code>.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:language')]</code></div>
<p>Note, best current practice for the use of the
<code>xs:language</code> type is described in <a href="#BCP47">[BCP
47]</a>.</p>
<p id="example-LanguageAttribute">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/LanguageAttribute">
LanguageAttribute</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/LanguageAttribute">LanguageAttribute</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="languageAttribute" type="ex:LanguageAttribute" /&gt;
&lt;xs:complexType name="LanguageAttribute"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="text" type="xs:string" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="language" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:language" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-LanguageAttribute01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/LanguageAttribute#LanguageAttribute01">LanguageAttribute01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:languageAttribute language="en"/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-NMTOKENAttribute" id=
"pattern-NMTOKENAttribute"></a>2.17.15 NMTOKENAttribute</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NMTOKENAttribute">
NMTOKENAttribute</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NMTOKENAttribute">
http://www.w3.org/2002/ws/databinding/patterns/6/09/NMTOKENAttribute</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-NMTOKENAttribute">
<code>.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:NMTOKEN')]</code></div>
<p id="example-NMTOKENAttribute">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NMTOKENAttribute">
NMTOKENAttribute</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NMTOKENAttribute">NMTOKENAttribute</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="NMTOKENAttribute" type="ex:NMTOKENAttribute" /&gt;
&lt;xs:complexType name="NMTOKENAttribute"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="text" type="xs:string" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="NMTOKEN" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:NMTOKEN" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-NMTOKENAttribute01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NMTOKENAttribute#NMTOKENAttribute01">NMTOKENAttribute01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:NMTOKENAttribute NMTOKEN="id"/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-NMTOKENSAttribute" id=
"pattern-NMTOKENSAttribute"></a>2.17.16 NMTOKENSAttribute</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NMTOKENSAttribute">
NMTOKENSAttribute</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NMTOKENSAttribute">
http://www.w3.org/2002/ws/databinding/patterns/6/09/NMTOKENSAttribute</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-NMTOKENSAttribute">
<code>.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:NMTOKENS')]</code></div>
<p id="example-NMTOKENSAttribute">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NMTOKENSAttribute">
NMTOKENSAttribute</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NMTOKENSAttribute">NMTOKENSAttribute</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="NMTOKENSAttribute" type="ex:NMTOKENSAttribute" /&gt;
&lt;xs:complexType name="NMTOKENSAttribute"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="text" type="xs:string" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="NMTOKENS" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:NMTOKENS" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-NMTOKENSAttribute01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NMTOKENSAttribute#NMTOKENSAttribute01">NMTOKENSAttribute01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:NMTOKENSAttribute NMTOKENS="id a b e.b:s-dd:q"/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-IDAttribute" id=
"pattern-IDAttribute"></a>2.17.17 IDAttribute</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IDAttribute">IDAttribute</a>
pattern identified using the URI <a href="#RFC3986">[RFC 3986]</a>
<a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IDAttribute">http://www.w3.org/2002/ws/databinding/patterns/6/09/IDAttribute</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-IDAttribute">
<code>.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:ID')]</code></div>
<p id="example-IDAttribute">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IDAttribute">IDAttribute</a>
pattern within an <a href="#XMLSchema">[XML Schema 1.0]</a>
document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IDAttribute">IDAttribute</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="IDAttribute" type="ex:IDAttribute" /&gt;
&lt;xs:complexType name="IDAttribute"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="text" type="xs:string" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="ID" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:ID" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-IDAttribute01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IDAttribute#IDAttribute01">IDAttribute01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:IDAttribute ID="bar"/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-IDREFAttribute" id=
"pattern-IDREFAttribute"></a>2.17.18 IDREFAttribute</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IDREFAttribute">
IDREFAttribute</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IDREFAttribute">
http://www.w3.org/2002/ws/databinding/patterns/6/09/IDREFAttribute</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-IDREFAttribute">
<code>.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:IDREF')]</code></div>
<p id="example-IDREFAttribute">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IDREFAttribute">
IDREFAttribute</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IDREFAttribute">IDREFAttribute</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="IDREFAttribute" type="ex:IDREFAttributeComplexType" /&gt;
&lt;xs:complexType name="IDREFAttributeComplexType"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="id" type="xs:ID" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="IDREF" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:IDREF" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-IDREFAttribute01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IDREFAttribute#IDREFAttribute01">IDREFAttribute01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:IDREFAttribute IDREF="id1"&gt;
&lt;ex:id&gt;id1&lt;/ex:id&gt;
&lt;/ex:IDREFAttribute&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-IDREFSAttribute" id=
"pattern-IDREFSAttribute"></a>2.17.19 IDREFSAttribute</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IDREFSAttribute">
IDREFSAttribute</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IDREFSAttribute">
http://www.w3.org/2002/ws/databinding/patterns/6/09/IDREFSAttribute</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-IDREFSAttribute">
<code>.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:IDREFS')]</code></div>
<p id="example-IDREFSAttribute">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IDREFSAttribute">
IDREFSAttribute</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IDREFSAttribute">IDREFSAttribute</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="IDREFSAttribute" type="ex:IDREFSAttributeComplexType" /&gt;
&lt;xs:complexType name="IDREFSAttributeComplexType"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="id1" type="xs:ID" /&gt;
&lt;xs:element name="id2" type="xs:ID" /&gt;
&lt;xs:element name="id3" type="xs:ID" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="IDREFS" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:IDREFS" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-IDREFSAttribute01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IDREFSAttribute#IDREFSAttribute01">IDREFSAttribute01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:IDREFSAttribute IDREFS="id1 id2 id3"&gt;
&lt;ex:id1&gt;id1&lt;/ex:id1&gt;
&lt;ex:id2&gt;id2&lt;/ex:id2&gt;
&lt;ex:id3&gt;id3&lt;/ex:id3&gt;
&lt;/ex:IDREFSAttribute&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ENTITYAttribute" id=
"pattern-ENTITYAttribute"></a>2.17.20 ENTITYAttribute</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ENTITYAttribute">
ENTITYAttribute</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ENTITYAttribute">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ENTITYAttribute</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ENTITYAttribute">
<code>.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:ENTITY')]</code></div>
<p id="example-ENTITYAttribute">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ENTITYAttribute">
ENTITYAttribute</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ENTITYAttribute">ENTITYAttribute</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="ENTITYAttribute" type="ex:ENTITYAttribute" /&gt;
&lt;xs:complexType name="ENTITYAttribute"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="text" type="xs:string" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="ENTITY" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:ENTITY" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ENTITYAttribute01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ENTITYAttribute#ENTITYAttribute01">ENTITYAttribute01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:ENTITYAttribute ENTITY="lt"/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ENTITIESAttribute" id=
"pattern-ENTITIESAttribute"></a>2.17.21 ENTITIESAttribute</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ENTITIESAttribute">
ENTITIESAttribute</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ENTITIESAttribute">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ENTITIESAttribute</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ENTITIESAttribute">
<code>.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:ENTITIES')]</code></div>
<p id="example-ENTITIESAttribute">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ENTITIESAttribute">
ENTITIESAttribute</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ENTITIESAttribute">ENTITIESAttribute</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="ENTITIESAttribute" type="ex:ENTITIESAttribute" /&gt;
&lt;xs:complexType name="ENTITIESAttribute"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="text" type="xs:string" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="ENTITIES" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:ENTITIES" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-ENTITIESAttribute01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ENTITIESAttribute#ENTITIESAttribute01">ENTITIESAttribute01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:ENTITIESAttribute ENTITIES="lt gt"/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-IntegerAttribute" id=
"pattern-IntegerAttribute"></a>2.17.22 IntegerAttribute</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IntegerAttribute">
IntegerAttribute</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IntegerAttribute">
http://www.w3.org/2002/ws/databinding/patterns/6/09/IntegerAttribute</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-IntegerAttribute">
<code>.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:integer')]</code></div>
<p id="example-IntegerAttribute">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IntegerAttribute">
IntegerAttribute</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IntegerAttribute">IntegerAttribute</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="integerAttribute" type="ex:IntegerAttribute" /&gt;
&lt;xs:complexType name="IntegerAttribute"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="text" type="xs:string" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="integer" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:integer" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-IntegerAttribute01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IntegerAttribute#IntegerAttribute01">IntegerAttribute01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:integerAttribute integer="10002"/&gt;
</pre></div>
<p id="instance-IntegerAttribute02">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IntegerAttribute#IntegerAttribute02">IntegerAttribute02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:integerAttribute integer="-0"/&gt;
</pre></div>
<p id="instance-IntegerAttribute03">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IntegerAttribute#IntegerAttribute03">IntegerAttribute03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:integerAttribute integer="+42"/&gt;
</pre></div>
<p id="instance-IntegerAttribute04">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IntegerAttribute#IntegerAttribute04">IntegerAttribute04</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:integerAttribute integer="-42"/&gt;
</pre></div>
<p id="instance-IntegerAttribute05">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IntegerAttribute#IntegerAttribute05">IntegerAttribute05</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:integerAttribute integer="-45345384593849583945843453454293405930495309450394503"/&gt;
</pre></div>
<p id="instance-IntegerAttribute06">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IntegerAttribute#IntegerAttribute06">IntegerAttribute06</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:integerAttribute integer="123456789013234235435325235325325345432543253425324534253245"/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-NonPositiveIntegerAttribute" id=
"pattern-NonPositiveIntegerAttribute"></a>2.17.23
NonPositiveIntegerAttribute</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NonPositiveIntegerAttribute">
NonPositiveIntegerAttribute</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NonPositiveIntegerAttribute">
http://www.w3.org/2002/ws/databinding/patterns/6/09/NonPositiveIntegerAttribute</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-NonPositiveIntegerAttribute">
<code>.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:nonPositiveInteger')]</code></div>
<p id="example-NonPositiveIntegerAttribute">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NonPositiveIntegerAttribute">
NonPositiveIntegerAttribute</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NonPositiveIntegerAttribute">NonPositiveIntegerAttribute</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="nonPositiveIntegerAttribute" type="ex:NonPositiveIntegerAttribute" /&gt;
&lt;xs:complexType name="NonPositiveIntegerAttribute"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="text" type="xs:string" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="nonPositiveInteger" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:nonPositiveInteger" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-NonPositiveIntegerAttribute01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NonPositiveIntegerAttribute#NonPositiveIntegerAttribute01">NonPositiveIntegerAttribute01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:nonPositiveIntegerAttribute nonPositiveInteger="-20"/&gt;
</pre></div>
<p id="instance-NonPositiveIntegerAttribute02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NonPositiveIntegerAttribute#NonPositiveIntegerAttribute02">NonPositiveIntegerAttribute02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:nonPositiveIntegerAttribute nonPositiveInteger="0"/&gt;
</pre></div>
<p id="instance-NonPositiveIntegerAttribute03">and the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NonPositiveIntegerAttribute#NonPositiveIntegerAttribute03">NonPositiveIntegerAttribute03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:nonPositiveIntegerAttribute nonPositiveInteger="+0"/&gt;
</pre></div>
<p id="instance-NonPositiveIntegerAttribute04">and the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NonPositiveIntegerAttribute#NonPositiveIntegerAttribute04">NonPositiveIntegerAttribute04</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:nonPositiveIntegerAttribute nonPositiveInteger="-202342353425435345342567965342969786978679"/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-NegativeIntegerAttribute" id=
"pattern-NegativeIntegerAttribute"></a>2.17.24
NegativeIntegerAttribute</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NegativeIntegerAttribute">
NegativeIntegerAttribute</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NegativeIntegerAttribute">
http://www.w3.org/2002/ws/databinding/patterns/6/09/NegativeIntegerAttribute</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-NegativeIntegerAttribute">
<code>.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:negativeInteger')]</code></div>
<p id="example-NegativeIntegerAttribute">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NegativeIntegerAttribute">
NegativeIntegerAttribute</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NegativeIntegerAttribute">NegativeIntegerAttribute</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="negativeIntegerAttribute" type="ex:NegativeIntegerAttribute" /&gt;
&lt;xs:complexType name="NegativeIntegerAttribute"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="text" type="xs:string" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="negativeInteger" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:negativeInteger" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-NegativeIntegerAttribute01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NegativeIntegerAttribute#NegativeIntegerAttribute01">NegativeIntegerAttribute01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:negativeIntegerAttribute negativeInteger="-100"/&gt;
</pre></div>
<p id="instance-NegativeIntegerAttribute02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NegativeIntegerAttribute#NegativeIntegerAttribute02">NegativeIntegerAttribute02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:negativeIntegerAttribute negativeInteger="-12343242342345345346453643564536543645363456"/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-UnsignedLongAttribute" id=
"pattern-UnsignedLongAttribute"></a>2.17.25
UnsignedLongAttribute</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedLongAttribute">
UnsignedLongAttribute</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedLongAttribute">
http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedLongAttribute</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-UnsignedLongAttribute">
<code>.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:unsignedLong')]</code></div>
<p id="example-UnsignedLongAttribute">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedLongAttribute">
UnsignedLongAttribute</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedLongAttribute">UnsignedLongAttribute</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="unsignedLongAttribute" type="ex:UnsignedLongAttribute" /&gt;
&lt;xs:complexType name="UnsignedLongAttribute"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="text" type="xs:string" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="unsignedLong" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:unsignedLong" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-UnsignedLongAttribute01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedLongAttribute#UnsignedLongAttribute01">UnsignedLongAttribute01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedLongAttribute unsignedLong="2034"/&gt;
</pre></div>
<p id="instance-UnsignedLongAttribute02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedLongAttribute#UnsignedLongAttribute02">UnsignedLongAttribute02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedLongAttribute unsignedLong="-0"/&gt;
</pre></div>
<p id="instance-UnsignedLongAttribute03">and the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedLongAttribute#UnsignedLongAttribute03">UnsignedLongAttribute03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedLongAttribute unsignedLong="+42"/&gt;
</pre></div>
<p id="instance-UnsignedLongAttribute04">and the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedLongAttribute#UnsignedLongAttribute04">UnsignedLongAttribute04</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedLongAttribute unsignedLong="18446744073709551615"/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-UnsignedIntAttribute" id=
"pattern-UnsignedIntAttribute"></a>2.17.26
UnsignedIntAttribute</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedIntAttribute">
UnsignedIntAttribute</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedIntAttribute">
http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedIntAttribute</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-UnsignedIntAttribute">
<code>.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:unsignedInt')]</code></div>
<p id="example-UnsignedIntAttribute">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedIntAttribute">
UnsignedIntAttribute</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedIntAttribute">UnsignedIntAttribute</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="unsignedIntAttribute" type="ex:UnsignedIntAttribute" /&gt;
&lt;xs:complexType name="UnsignedIntAttribute"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="text" type="xs:string" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="unsignedInt" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:unsignedInt" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-UnsignedIntAttribute01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedIntAttribute#UnsignedIntAttribute01">UnsignedIntAttribute01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedIntAttribute unsignedInt="32334"/&gt;
</pre></div>
<p id="instance-UnsignedIntAttribute02">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedIntAttribute#UnsignedIntAttribute02">UnsignedIntAttribute02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedIntAttribute unsignedInt="-0"/&gt;
</pre></div>
<p id="instance-UnsignedIntAttribute03">and the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedIntAttribute#UnsignedIntAttribute03">UnsignedIntAttribute03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedIntAttribute unsignedInt="+42"/&gt;
</pre></div>
<p id="instance-UnsignedIntAttribute04">and the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedIntAttribute#UnsignedIntAttribute04">UnsignedIntAttribute04</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedIntAttribute unsignedInt="4294967295"/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-UnsignedShortAttribute" id=
"pattern-UnsignedShortAttribute"></a>2.17.27
UnsignedShortAttribute</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedShortAttribute">
UnsignedShortAttribute</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedShortAttribute">
http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedShortAttribute</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-UnsignedShortAttribute">
<code>.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:unsignedShort')]</code></div>
<p id="example-UnsignedShortAttribute">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedShortAttribute">
UnsignedShortAttribute</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedShortAttribute">UnsignedShortAttribute</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="unsignedShortAttribute" type="ex:UnsignedShortAttribute" /&gt;
&lt;xs:complexType name="UnsignedShortAttribute"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="text" type="xs:string" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="unsignedShort" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:unsignedShort" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-UnsignedShortAttribute01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedShortAttribute#UnsignedShortAttribute01">UnsignedShortAttribute01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedShortAttribute unsignedShort="22"/&gt;
</pre></div>
<p id="instance-UnsignedShortAttribute02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedShortAttribute#UnsignedShortAttribute02">UnsignedShortAttribute02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedShortAttribute unsignedShort="-0"/&gt;
</pre></div>
<p id="instance-UnsignedShortAttribute03">and the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedShortAttribute#UnsignedShortAttribute03">UnsignedShortAttribute03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedShortAttribute unsignedShort="+42"/&gt;
</pre></div>
<p id="instance-UnsignedShortAttribute04">and the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedShortAttribute#UnsignedShortAttribute04">UnsignedShortAttribute04</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedShortAttribute unsignedShort="65535"/&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-UnsignedByteAttribute" id=
"pattern-UnsignedByteAttribute"></a>2.17.28
UnsignedByteAttribute</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedByteAttribute">
UnsignedByteAttribute</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedByteAttribute">
http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedByteAttribute</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-UnsignedByteAttribute">
<code>.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:unsignedByte')]</code></div>
<p id="example-UnsignedByteAttribute">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedByteAttribute">
UnsignedByteAttribute</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedByteAttribute">UnsignedByteAttribute</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="unsignedByteAttribute" type="ex:UnsignedByteAttribute" /&gt;
&lt;xs:complexType name="UnsignedByteAttribute"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="text" type="xs:string" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;xs:attribute name="unsignedByte" <b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> type</b>="xs:unsignedByte" /&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-UnsignedByteAttribute01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedByteAttribute#UnsignedByteAttribute01">UnsignedByteAttribute01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedByteAttribute unsignedByte="64"/&gt;
</pre></div>
<p id="instance-UnsignedByteAttribute02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedByteAttribute#UnsignedByteAttribute02">UnsignedByteAttribute02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedByteAttribute unsignedByte="-0"/&gt;
</pre></div>
<p id="instance-UnsignedByteAttribute03">and the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedByteAttribute#UnsignedByteAttribute03">UnsignedByteAttribute03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedByteAttribute unsignedByte="+42"/&gt;
</pre></div>
<p id="instance-UnsignedByteAttribute04">and the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedByteAttribute#UnsignedByteAttribute04">UnsignedByteAttribute04</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedByteAttribute unsignedByte="255"/&gt;
</pre></div>
</div>
</div>
<div class="div2">
<h3><a name="group-restriction" id="group-restriction"></a>2.18
Restricted Schema Types</h3>
<div class="div3">
<h4><a name="pattern-StringSimpleTypePattern" id=
"pattern-StringSimpleTypePattern"></a>2.18.1
StringSimpleTypePattern</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/StringSimpleTypePattern">
StringSimpleTypePattern</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/StringSimpleTypePattern">
http://www.w3.org/2002/ws/databinding/patterns/6/09/StringSimpleTypePattern</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-StringSimpleTypePattern">
<code>.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:string')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</code></div>
<p id="example-StringSimpleTypePattern">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/StringSimpleTypePattern">
StringSimpleTypePattern</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/StringSimpleTypePattern">StringSimpleTypePattern</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="stringSimpleTypePattern" type="ex:StringSimpleTypePattern" /&gt;
&lt;xs:simpleType name="StringSimpleTypePattern"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:string"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:pattern</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="\d{3}" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-StringSimpleTypePattern01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/StringSimpleTypePattern#StringSimpleTypePattern01">StringSimpleTypePattern01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:stringSimpleTypePattern&gt;123&lt;/ex:stringSimpleTypePattern&gt;
</pre></div>
<p id="instance-StringSimpleTypePattern02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/StringSimpleTypePattern#StringSimpleTypePattern02">StringSimpleTypePattern02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:stringSimpleTypePattern&gt;009&lt;/ex:stringSimpleTypePattern&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-IntSimpleTypePattern" id=
"pattern-IntSimpleTypePattern"></a>2.18.2 IntSimpleTypePattern</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IntSimpleTypePattern">
IntSimpleTypePattern</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IntSimpleTypePattern">
http://www.w3.org/2002/ws/databinding/patterns/6/09/IntSimpleTypePattern</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-IntSimpleTypePattern">
<code>.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:int')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</code></div>
<p id="example-IntSimpleTypePattern">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IntSimpleTypePattern">
IntSimpleTypePattern</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IntSimpleTypePattern">IntSimpleTypePattern</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="intSimpleTypePattern" type="ex:IntSimpleTypePattern" /&gt;
&lt;xs:simpleType name="IntSimpleTypePattern"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:int"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:pattern</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="\d{3}" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-IntSimpleTypePattern01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IntSimpleTypePattern#IntSimpleTypePattern01">IntSimpleTypePattern01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:intSimpleTypePattern&gt;123&lt;/ex:intSimpleTypePattern&gt;
</pre></div>
<p id="instance-IntSimpleTypePattern02">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IntSimpleTypePattern#IntSimpleTypePattern02">IntSimpleTypePattern02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:intSimpleTypePattern&gt;009&lt;/ex:intSimpleTypePattern&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-IntegerSimpleTypePattern" id=
"pattern-IntegerSimpleTypePattern"></a>2.18.3
IntegerSimpleTypePattern</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IntegerSimpleTypePattern">
IntegerSimpleTypePattern</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IntegerSimpleTypePattern">
http://www.w3.org/2002/ws/databinding/patterns/6/09/IntegerSimpleTypePattern</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-IntegerSimpleTypePattern">
<code>.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:integer')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</code></div>
<p id="example-IntegerSimpleTypePattern">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/IntegerSimpleTypePattern">
IntegerSimpleTypePattern</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IntegerSimpleTypePattern">IntegerSimpleTypePattern</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="integerSimpleTypePattern" type="ex:IntegerSimpleTypePattern" /&gt;
&lt;xs:simpleType name="IntegerSimpleTypePattern"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:integer"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:pattern</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="[+\-]?([1-9][0-9]*)|0" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-IntegerSimpleTypePattern01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IntegerSimpleTypePattern#IntegerSimpleTypePattern01">IntegerSimpleTypePattern01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:integerSimpleTypePattern&gt;123&lt;/ex:integerSimpleTypePattern&gt;
</pre></div>
<p id="instance-IntegerSimpleTypePattern02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/IntegerSimpleTypePattern#IntegerSimpleTypePattern02">IntegerSimpleTypePattern02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:integerSimpleTypePattern&gt;9&lt;/ex:integerSimpleTypePattern&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-LongSimpleTypePattern" id=
"pattern-LongSimpleTypePattern"></a>2.18.4
LongSimpleTypePattern</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/LongSimpleTypePattern">
LongSimpleTypePattern</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/LongSimpleTypePattern">
http://www.w3.org/2002/ws/databinding/patterns/6/09/LongSimpleTypePattern</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-LongSimpleTypePattern">
<code>.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:long')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</code></div>
<p id="example-LongSimpleTypePattern">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/LongSimpleTypePattern">
LongSimpleTypePattern</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/LongSimpleTypePattern">LongSimpleTypePattern</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="longSimpleTypePattern" type="ex:LongSimpleTypePattern" /&gt;
&lt;xs:simpleType name="LongSimpleTypePattern"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:long"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:pattern</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="\d{3}" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-LongSimpleTypePattern01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/LongSimpleTypePattern#LongSimpleTypePattern01">LongSimpleTypePattern01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:longSimpleTypePattern&gt;123&lt;/ex:longSimpleTypePattern&gt;
</pre></div>
<p id="instance-LongSimpleTypePattern02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/LongSimpleTypePattern#LongSimpleTypePattern02">LongSimpleTypePattern02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:longSimpleTypePattern&gt;009&lt;/ex:longSimpleTypePattern&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-DecimalSimpleTypePattern" id=
"pattern-DecimalSimpleTypePattern"></a>2.18.5
DecimalSimpleTypePattern</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DecimalSimpleTypePattern">
DecimalSimpleTypePattern</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DecimalSimpleTypePattern">
http://www.w3.org/2002/ws/databinding/patterns/6/09/DecimalSimpleTypePattern</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-DecimalSimpleTypePattern">
<code>.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:decimal')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</code></div>
<p id="example-DecimalSimpleTypePattern">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DecimalSimpleTypePattern">
DecimalSimpleTypePattern</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DecimalSimpleTypePattern">DecimalSimpleTypePattern</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="decimalSimpleTypePattern" type="ex:DecimalSimpleTypePattern" /&gt;
&lt;xs:simpleType name="DecimalSimpleTypePattern"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:decimal"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:pattern</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="\d{4}\.\d{2}" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-DecimalSimpleTypePattern01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DecimalSimpleTypePattern#DecimalSimpleTypePattern01">DecimalSimpleTypePattern01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:decimalSimpleTypePattern&gt;1234.12&lt;/ex:decimalSimpleTypePattern&gt;
</pre></div>
<p id="instance-DecimalSimpleTypePattern02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DecimalSimpleTypePattern#DecimalSimpleTypePattern02">DecimalSimpleTypePattern02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:decimalSimpleTypePattern&gt;9898.00&lt;/ex:decimalSimpleTypePattern&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-FloatSimpleTypePattern" id=
"pattern-FloatSimpleTypePattern"></a>2.18.6
FloatSimpleTypePattern</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/FloatSimpleTypePattern">
FloatSimpleTypePattern</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/FloatSimpleTypePattern">
http://www.w3.org/2002/ws/databinding/patterns/6/09/FloatSimpleTypePattern</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-FloatSimpleTypePattern">
<code>.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:float')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</code></div>
<p id="example-FloatSimpleTypePattern">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/FloatSimpleTypePattern">
FloatSimpleTypePattern</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/FloatSimpleTypePattern">FloatSimpleTypePattern</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="floatSimpleTypePattern" type="ex:FloatSimpleTypePattern" /&gt;
&lt;xs:simpleType name="FloatSimpleTypePattern"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:float"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:pattern</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="\d{3}" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-FloatSimpleTypePattern01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/FloatSimpleTypePattern#FloatSimpleTypePattern01">FloatSimpleTypePattern01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:floatSimpleTypePattern&gt;123&lt;/ex:floatSimpleTypePattern&gt;
</pre></div>
<p id="instance-FloatSimpleTypePattern02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/FloatSimpleTypePattern#FloatSimpleTypePattern02">FloatSimpleTypePattern02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:floatSimpleTypePattern&gt;009&lt;/ex:floatSimpleTypePattern&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-DoubleSimpleTypePattern" id=
"pattern-DoubleSimpleTypePattern"></a>2.18.7
DoubleSimpleTypePattern</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DoubleSimpleTypePattern">
DoubleSimpleTypePattern</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DoubleSimpleTypePattern">
http://www.w3.org/2002/ws/databinding/patterns/6/09/DoubleSimpleTypePattern</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-DoubleSimpleTypePattern">
<code>.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:double')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</code></div>
<p id="example-DoubleSimpleTypePattern">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DoubleSimpleTypePattern">
DoubleSimpleTypePattern</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DoubleSimpleTypePattern">DoubleSimpleTypePattern</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="doubleSimpleTypePattern" type="ex:DoubleSimpleTypePattern" /&gt;
&lt;xs:simpleType name="DoubleSimpleTypePattern"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:double"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:pattern</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="\d{3}" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-DoubleSimpleTypePattern01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DoubleSimpleTypePattern#DoubleSimpleTypePattern01">DoubleSimpleTypePattern01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:doubleSimpleTypePattern&gt;123&lt;/ex:doubleSimpleTypePattern&gt;
</pre></div>
<p id="instance-DoubleSimpleTypePattern02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DoubleSimpleTypePattern#DoubleSimpleTypePattern02">DoubleSimpleTypePattern02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:doubleSimpleTypePattern&gt;009&lt;/ex:doubleSimpleTypePattern&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ShortSimpleTypePattern" id=
"pattern-ShortSimpleTypePattern"></a>2.18.8
ShortSimpleTypePattern</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ShortSimpleTypePattern">
ShortSimpleTypePattern</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ShortSimpleTypePattern">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ShortSimpleTypePattern</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ShortSimpleTypePattern">
<code>.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:short')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</code></div>
<p id="example-ShortSimpleTypePattern">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ShortSimpleTypePattern">
ShortSimpleTypePattern</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ShortSimpleTypePattern">ShortSimpleTypePattern</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="shortSimpleTypePattern" type="ex:ShortSimpleTypePattern" /&gt;
&lt;xs:simpleType name="ShortSimpleTypePattern"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:short"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:pattern</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="\d{3}" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-ShortSimpleTypePattern01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ShortSimpleTypePattern#ShortSimpleTypePattern01">ShortSimpleTypePattern01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:shortSimpleTypePattern&gt;123&lt;/ex:shortSimpleTypePattern&gt;
</pre></div>
<p id="instance-ShortSimpleTypePattern02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ShortSimpleTypePattern#ShortSimpleTypePattern02">ShortSimpleTypePattern02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:shortSimpleTypePattern&gt;009&lt;/ex:shortSimpleTypePattern&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ByteSimpleTypePattern" id=
"pattern-ByteSimpleTypePattern"></a>2.18.9
ByteSimpleTypePattern</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ByteSimpleTypePattern">
ByteSimpleTypePattern</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ByteSimpleTypePattern">
http://www.w3.org/2002/ws/databinding/patterns/6/09/ByteSimpleTypePattern</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ByteSimpleTypePattern">
<code>.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:byte')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</code></div>
<p id="example-ByteSimpleTypePattern">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ByteSimpleTypePattern">
ByteSimpleTypePattern</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ByteSimpleTypePattern">ByteSimpleTypePattern</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="byteSimpleTypePattern" type="ex:ByteSimpleTypePattern" /&gt;
&lt;xs:simpleType name="ByteSimpleTypePattern"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:byte"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:pattern</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="1" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:pattern</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="2" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-ByteSimpleTypePattern01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ByteSimpleTypePattern#ByteSimpleTypePattern01">ByteSimpleTypePattern01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:byteSimpleTypePattern&gt;1&lt;/ex:byteSimpleTypePattern&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-NonNegativeIntegerSimpleTypePattern" id=
"pattern-NonNegativeIntegerSimpleTypePattern"></a>2.18.10
NonNegativeIntegerSimpleTypePattern</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NonNegativeIntegerSimpleTypePattern">
NonNegativeIntegerSimpleTypePattern</a> pattern identified using
the URI <a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NonNegativeIntegerSimpleTypePattern">
http://www.w3.org/2002/ws/databinding/patterns/6/09/NonNegativeIntegerSimpleTypePattern</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-NonNegativeIntegerSimpleTypePattern">
<code>.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:nonNegativeInteger')]/xs:pattern[@value]/ (..,
../@base, ., @value)</code></div>
<p id="example-NonNegativeIntegerSimpleTypePattern">The following
example <a href="#XMLSchema">[XML Schema 1.0]</a> extract
illustrates the use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/NonNegativeIntegerSimpleTypePattern">
NonNegativeIntegerSimpleTypePattern</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NonNegativeIntegerSimpleTypePattern">NonNegativeIntegerSimpleTypePattern</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="nonNegativeIntegerSimpleTypePattern" type="ex:NonNegativeIntegerSimpleTypePattern" /&gt;
&lt;xs:simpleType name="NonNegativeIntegerSimpleTypePattern"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:nonNegativeInteger"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:pattern</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="\d{3}" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-NonNegativeIntegerSimpleTypePattern01">The
following example <a href="#XML">[XML 1.0]</a> element is valid
against the above example <a href="#XMLSchema">[XML Schema 1.0]</a>
when included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NonNegativeIntegerSimpleTypePattern#NonNegativeIntegerSimpleTypePattern01">NonNegativeIntegerSimpleTypePattern01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:nonNegativeIntegerSimpleTypePattern&gt;123&lt;/ex:nonNegativeIntegerSimpleTypePattern&gt;
</pre></div>
<p id="instance-NonNegativeIntegerSimpleTypePattern02">as is the
following element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/NonNegativeIntegerSimpleTypePattern#NonNegativeIntegerSimpleTypePattern02">NonNegativeIntegerSimpleTypePattern02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:nonNegativeIntegerSimpleTypePattern&gt;009&lt;/ex:nonNegativeIntegerSimpleTypePattern&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-PositiveIntegerSimpleTypePattern" id=
"pattern-PositiveIntegerSimpleTypePattern"></a>2.18.11
PositiveIntegerSimpleTypePattern</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/PositiveIntegerSimpleTypePattern">
PositiveIntegerSimpleTypePattern</a> pattern identified using the
URI <a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/PositiveIntegerSimpleTypePattern">
http://www.w3.org/2002/ws/databinding/patterns/6/09/PositiveIntegerSimpleTypePattern</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-PositiveIntegerSimpleTypePattern">
<code>.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:positiveInteger')]/xs:pattern[@value]/ (.., ../@base,
., @value)</code></div>
<p id="example-PositiveIntegerSimpleTypePattern">The following
example <a href="#XMLSchema">[XML Schema 1.0]</a> extract
illustrates the use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/PositiveIntegerSimpleTypePattern">
PositiveIntegerSimpleTypePattern</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/PositiveIntegerSimpleTypePattern">PositiveIntegerSimpleTypePattern</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="positiveIntegerSimpleTypePattern" type="ex:PositiveIntegerSimpleTypePattern" /&gt;
&lt;xs:simpleType name="PositiveIntegerSimpleTypePattern"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:positiveInteger"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:pattern</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="\d{3}" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-PositiveIntegerSimpleTypePattern01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/PositiveIntegerSimpleTypePattern#PositiveIntegerSimpleTypePattern01">PositiveIntegerSimpleTypePattern01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:positiveIntegerSimpleTypePattern&gt;123&lt;/ex:positiveIntegerSimpleTypePattern&gt;
</pre></div>
<p id="instance-PositiveIntegerSimpleTypePattern02">as is the
following element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/PositiveIntegerSimpleTypePattern#PositiveIntegerSimpleTypePattern02">PositiveIntegerSimpleTypePattern02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:positiveIntegerSimpleTypePattern&gt;009&lt;/ex:positiveIntegerSimpleTypePattern&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-UnsignedLongSimpleTypePattern" id=
"pattern-UnsignedLongSimpleTypePattern"></a>2.18.12
UnsignedLongSimpleTypePattern</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedLongSimpleTypePattern">
UnsignedLongSimpleTypePattern</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedLongSimpleTypePattern">
http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedLongSimpleTypePattern</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-UnsignedLongSimpleTypePattern">
<code>.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:unsignedLong')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</code></div>
<p id="example-UnsignedLongSimpleTypePattern">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedLongSimpleTypePattern">
UnsignedLongSimpleTypePattern</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedLongSimpleTypePattern">UnsignedLongSimpleTypePattern</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="unsignedLongSimpleTypePattern" type="ex:UnsignedLongSimpleTypePattern" /&gt;
&lt;xs:simpleType name="UnsignedLongSimpleTypePattern"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:unsignedLong"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:pattern</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="\d{3}" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-UnsignedLongSimpleTypePattern01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedLongSimpleTypePattern#UnsignedLongSimpleTypePattern01">UnsignedLongSimpleTypePattern01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedLongSimpleTypePattern&gt;123&lt;/ex:unsignedLongSimpleTypePattern&gt;
</pre></div>
<p id="instance-UnsignedLongSimpleTypePattern02">as is the
following element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedLongSimpleTypePattern#UnsignedLongSimpleTypePattern02">UnsignedLongSimpleTypePattern02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedLongSimpleTypePattern&gt;009&lt;/ex:unsignedLongSimpleTypePattern&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-UnsignedIntSimpleTypePattern" id=
"pattern-UnsignedIntSimpleTypePattern"></a>2.18.13
UnsignedIntSimpleTypePattern</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedIntSimpleTypePattern">
UnsignedIntSimpleTypePattern</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedIntSimpleTypePattern">
http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedIntSimpleTypePattern</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-UnsignedIntSimpleTypePattern">
<code>.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:unsignedInt')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</code></div>
<p id="example-UnsignedIntSimpleTypePattern">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedIntSimpleTypePattern">
UnsignedIntSimpleTypePattern</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedIntSimpleTypePattern">UnsignedIntSimpleTypePattern</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="unsignedIntSimpleTypePattern" type="ex:UnsignedIntSimpleTypePattern" /&gt;
&lt;xs:simpleType name="UnsignedIntSimpleTypePattern"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:unsignedInt"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:pattern</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="\d{3}" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-UnsignedIntSimpleTypePattern01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedIntSimpleTypePattern#UnsignedIntSimpleTypePattern01">UnsignedIntSimpleTypePattern01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedIntSimpleTypePattern&gt;123&lt;/ex:unsignedIntSimpleTypePattern&gt;
</pre></div>
<p id="instance-UnsignedIntSimpleTypePattern02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedIntSimpleTypePattern#UnsignedIntSimpleTypePattern02">UnsignedIntSimpleTypePattern02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedIntSimpleTypePattern&gt;009&lt;/ex:unsignedIntSimpleTypePattern&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-UnsignedShortSimpleTypePattern" id=
"pattern-UnsignedShortSimpleTypePattern"></a>2.18.14
UnsignedShortSimpleTypePattern</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedShortSimpleTypePattern">
UnsignedShortSimpleTypePattern</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedShortSimpleTypePattern">
http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedShortSimpleTypePattern</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-UnsignedShortSimpleTypePattern">
<code>.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:unsignedShort')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</code></div>
<p id="example-UnsignedShortSimpleTypePattern">The following
example <a href="#XMLSchema">[XML Schema 1.0]</a> extract
illustrates the use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/UnsignedShortSimpleTypePattern">
UnsignedShortSimpleTypePattern</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedShortSimpleTypePattern">UnsignedShortSimpleTypePattern</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="unsignedShortSimpleTypePattern" type="ex:UnsignedShortSimpleTypePattern" /&gt;
&lt;xs:simpleType name="UnsignedShortSimpleTypePattern"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:unsignedShort"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:pattern</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="\d{3}" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-UnsignedShortSimpleTypePattern01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedShortSimpleTypePattern#UnsignedShortSimpleTypePattern01">UnsignedShortSimpleTypePattern01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedShortSimpleTypePattern&gt;123&lt;/ex:unsignedShortSimpleTypePattern&gt;
</pre></div>
<p id="instance-UnsignedShortSimpleTypePattern02">as is the
following element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/UnsignedShortSimpleTypePattern#UnsignedShortSimpleTypePattern02">UnsignedShortSimpleTypePattern02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unsignedShortSimpleTypePattern&gt;009&lt;/ex:unsignedShortSimpleTypePattern&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-DateSimpleTypePattern" id=
"pattern-DateSimpleTypePattern"></a>2.18.15
DateSimpleTypePattern</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DateSimpleTypePattern">
DateSimpleTypePattern</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DateSimpleTypePattern">
http://www.w3.org/2002/ws/databinding/patterns/6/09/DateSimpleTypePattern</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-DateSimpleTypePattern">
<code>.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:date')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</code></div>
<p id="example-DateSimpleTypePattern">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/DateSimpleTypePattern">
DateSimpleTypePattern</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DateSimpleTypePattern">DateSimpleTypePattern</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="dateSimpleTypePattern" type="ex:DateSimpleTypePattern" /&gt;
&lt;xs:simpleType name="DateSimpleTypePattern"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:date"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:pattern</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="[^\-]{4}\-[^\-]{2}\-[^\-]{2}" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-DateSimpleTypePattern01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DateSimpleTypePattern#DateSimpleTypePattern01">DateSimpleTypePattern01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:dateSimpleTypePattern&gt;2006-12-18&lt;/ex:dateSimpleTypePattern&gt;
</pre></div>
<p id="instance-DateSimpleTypePattern02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/DateSimpleTypePattern#DateSimpleTypePattern02">DateSimpleTypePattern02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:dateSimpleTypePattern&gt;2007-01-01&lt;/ex:dateSimpleTypePattern&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-GYearSimpleTypePattern" id=
"pattern-GYearSimpleTypePattern"></a>2.18.16
GYearSimpleTypePattern</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GYearSimpleTypePattern">
GYearSimpleTypePattern</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GYearSimpleTypePattern">
http://www.w3.org/2002/ws/databinding/patterns/6/09/GYearSimpleTypePattern</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-GYearSimpleTypePattern">
<code>.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:gYear')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</code></div>
<p id="example-GYearSimpleTypePattern">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GYearSimpleTypePattern">
GYearSimpleTypePattern</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearSimpleTypePattern">GYearSimpleTypePattern</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="gYearSimpleTypePattern" type="ex:GYearSimpleTypePattern" /&gt;
&lt;xs:simpleType name="GYearSimpleTypePattern"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:gYear"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:pattern</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="2008|2009|2010" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-GYearSimpleTypePattern01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearSimpleTypePattern#GYearSimpleTypePattern01">GYearSimpleTypePattern01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gYearSimpleTypePattern&gt;2009&lt;/ex:gYearSimpleTypePattern&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-GMonthSimpleTypePattern" id=
"pattern-GMonthSimpleTypePattern"></a>2.18.17
GMonthSimpleTypePattern</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GMonthSimpleTypePattern">
GMonthSimpleTypePattern</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GMonthSimpleTypePattern">
http://www.w3.org/2002/ws/databinding/patterns/6/09/GMonthSimpleTypePattern</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-GMonthSimpleTypePattern">
<code>.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:gMonth')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</code></div>
<p id="example-GMonthSimpleTypePattern">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GMonthSimpleTypePattern">
GMonthSimpleTypePattern</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GMonthSimpleTypePattern">GMonthSimpleTypePattern</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="gMonthSimpleTypePattern" type="ex:GMonthSimpleTypePattern" /&gt;
&lt;xs:simpleType name="GMonthSimpleTypePattern"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:gMonth"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:pattern</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="--10|--11|--12" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-GMonthSimpleTypePattern01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GMonthSimpleTypePattern#GMonthSimpleTypePattern01">GMonthSimpleTypePattern01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gMonthSimpleTypePattern&gt;--11&lt;/ex:gMonthSimpleTypePattern&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-GDaySimpleTypePattern" id=
"pattern-GDaySimpleTypePattern"></a>2.18.18
GDaySimpleTypePattern</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GDaySimpleTypePattern">
GDaySimpleTypePattern</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GDaySimpleTypePattern">
http://www.w3.org/2002/ws/databinding/patterns/6/09/GDaySimpleTypePattern</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-GDaySimpleTypePattern">
<code>.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:gDay')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</code></div>
<p id="example-GDaySimpleTypePattern">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GDaySimpleTypePattern">
GDaySimpleTypePattern</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GDaySimpleTypePattern">GDaySimpleTypePattern</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="gDaySimpleTypePattern" type="ex:GDaySimpleTypePattern" /&gt;
&lt;xs:simpleType name="GDaySimpleTypePattern"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:gDay"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:pattern</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="---01|---11|---31" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-GDaySimpleTypePattern01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GDaySimpleTypePattern#GDaySimpleTypePattern01">GDaySimpleTypePattern01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gDaySimpleTypePattern&gt;---01&lt;/ex:gDaySimpleTypePattern&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-GYearMonthSimpleTypePattern" id=
"pattern-GYearMonthSimpleTypePattern"></a>2.18.19
GYearMonthSimpleTypePattern</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GYearMonthSimpleTypePattern">
GYearMonthSimpleTypePattern</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GYearMonthSimpleTypePattern">
http://www.w3.org/2002/ws/databinding/patterns/6/09/GYearMonthSimpleTypePattern</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-GYearMonthSimpleTypePattern">
<code>.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:gYearMonth')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</code></div>
<p id="example-GYearMonthSimpleTypePattern">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GYearMonthSimpleTypePattern">
GYearMonthSimpleTypePattern</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearMonthSimpleTypePattern">GYearMonthSimpleTypePattern</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="gYearMonthSimpleTypePattern" type="ex:GYearMonthSimpleTypePattern" /&gt;
&lt;xs:simpleType name="GYearMonthSimpleTypePattern"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:gYearMonth"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:pattern</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="2001-12|2002-12|2003-12" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-GYearMonthSimpleTypePattern01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GYearMonthSimpleTypePattern#GYearMonthSimpleTypePattern01">GYearMonthSimpleTypePattern01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gYearMonthSimpleTypePattern&gt;2001-12&lt;/ex:gYearMonthSimpleTypePattern&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-GMonthDaySimpleTypePattern" id=
"pattern-GMonthDaySimpleTypePattern"></a>2.18.20
GMonthDaySimpleTypePattern</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GMonthDaySimpleTypePattern">
GMonthDaySimpleTypePattern</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GMonthDaySimpleTypePattern">
http://www.w3.org/2002/ws/databinding/patterns/6/09/GMonthDaySimpleTypePattern</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-GMonthDaySimpleTypePattern">
<code>.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:gMonthDay')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</code></div>
<p id="example-GMonthDaySimpleTypePattern">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/GMonthDaySimpleTypePattern">
GMonthDaySimpleTypePattern</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GMonthDaySimpleTypePattern">GMonthDaySimpleTypePattern</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="gMonthDaySimpleTypePattern" type="ex:GMonthDaySimpleTypePattern" /&gt;
&lt;xs:simpleType name="GMonthDaySimpleTypePattern"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:gMonthDay"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:pattern</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="--12-01|--11-01|--10-01" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-GMonthDaySimpleTypePattern01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/GMonthDaySimpleTypePattern#GMonthDaySimpleTypePattern01">GMonthDaySimpleTypePattern01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:gMonthDaySimpleTypePattern&gt;--12-01&lt;/ex:gMonthDaySimpleTypePattern&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-TokenSimpleTypePattern" id=
"pattern-TokenSimpleTypePattern"></a>2.18.21
TokenSimpleTypePattern</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/TokenSimpleTypePattern">
TokenSimpleTypePattern</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/TokenSimpleTypePattern">
http://www.w3.org/2002/ws/databinding/patterns/6/09/TokenSimpleTypePattern</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-TokenSimpleTypePattern">
<code>.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:token')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</code></div>
<p id="example-TokenSimpleTypePattern">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/TokenSimpleTypePattern">
TokenSimpleTypePattern</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/TokenSimpleTypePattern">TokenSimpleTypePattern</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="tokenSimpleTypePattern" type="ex:TokenSimpleTypePattern" /&gt;
&lt;xs:simpleType name="TokenSimpleTypePattern"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:token"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:pattern</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="1" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:pattern</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="2" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-TokenSimpleTypePattern01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/TokenSimpleTypePattern#TokenSimpleTypePattern01">TokenSimpleTypePattern01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:tokenSimpleTypePattern&gt;1&lt;/ex:tokenSimpleTypePattern&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-RestrictedStringMinLength" id=
"pattern-RestrictedStringMinLength"></a>2.18.22
RestrictedStringMinLength</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedStringMinLength">
RestrictedStringMinLength</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedStringMinLength">
http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedStringMinLength</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-RestrictedStringMinLength">
<code>.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:string')]/xs:minLength[@value]/ (.., ../@base, .,
@value)</code></div>
<p id="example-RestrictedStringMinLength">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedStringMinLength">
RestrictedStringMinLength</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedStringMinLength">RestrictedStringMinLength</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="restrictedStringMinLength" type="ex:RestrictedStringMinLength" /&gt;
&lt;xs:simpleType name="RestrictedStringMinLength"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:string"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:minLength</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="1" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-RestrictedStringMinLength01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedStringMinLength#RestrictedStringMinLength01">RestrictedStringMinLength01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:restrictedStringMinLength&gt;String Value&lt;/ex:restrictedStringMinLength&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-RestrictedStringMaxLength" id=
"pattern-RestrictedStringMaxLength"></a>2.18.23
RestrictedStringMaxLength</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedStringMaxLength">
RestrictedStringMaxLength</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedStringMaxLength">
http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedStringMaxLength</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-RestrictedStringMaxLength">
<code>.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:string')]/xs:maxLength[@value]/ (.., ../@base, .,
@value)</code></div>
<p id="example-RestrictedStringMaxLength">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedStringMaxLength">
RestrictedStringMaxLength</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedStringMaxLength">RestrictedStringMaxLength</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="restrictedStringMaxLength" type="ex:RestrictedStringMaxLength" /&gt;
&lt;xs:simpleType name="RestrictedStringMaxLength"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:string"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:maxLength</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="12" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-RestrictedStringMaxLength01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedStringMaxLength#RestrictedStringMaxLength01">RestrictedStringMaxLength01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:restrictedStringMaxLength&gt;String Value&lt;/ex:restrictedStringMaxLength&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-RestrictedStringMinMaxLength" id=
"pattern-RestrictedStringMinMaxLength"></a>2.18.24
RestrictedStringMinMaxLength</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedStringMinMaxLength">
RestrictedStringMinMaxLength</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedStringMinMaxLength">
http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedStringMinMaxLength</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-RestrictedStringMinMaxLength">
<code>.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:string') and xs:minLength/@value and
xs:maxLength/@value]/ (., @base, xs:minLength/(., @value),
xs:maxLength/(., @value))</code></div>
<p id="example-RestrictedStringMinMaxLength">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedStringMinMaxLength">
RestrictedStringMinMaxLength</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedStringMinMaxLength">RestrictedStringMinMaxLength</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="restrictedStringMinMaxLength" type="ex:RestrictedStringMinMaxLength" /&gt;
&lt;xs:simpleType name="RestrictedStringMinMaxLength"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:string"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:minLength</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="12" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:maxLength</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="15" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-RestrictedStringMinMaxLength01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedStringMinMaxLength#RestrictedStringMinMaxLength01">RestrictedStringMinMaxLength01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:restrictedStringMinMaxLength&gt;String Value 2&lt;/ex:restrictedStringMinMaxLength&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-SimpleTypeRenamed" id=
"pattern-SimpleTypeRenamed"></a>2.18.25 SimpleTypeRenamed</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SimpleTypeRenamed">
SimpleTypeRenamed</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SimpleTypeRenamed">
http://www.w3.org/2002/ws/databinding/patterns/6/09/SimpleTypeRenamed</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-SimpleTypeRenamed">
<code>.//xs:simpleType/xs:restriction[@base and count(./*) = 0]/
(., @base)</code></div>
<p id="example-SimpleTypeRenamed">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SimpleTypeRenamed">
SimpleTypeRenamed</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SimpleTypeRenamed">SimpleTypeRenamed</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="simpleTypeRenamed" type="ex:SimpleTypeRenamed" /&gt;
&lt;xs:simpleType name="SimpleTypeRenamed"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:string" /&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-SimpleTypeRenamed01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SimpleTypeRenamed#SimpleTypeRenamed01">SimpleTypeRenamed01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:simpleTypeRenamed&gt;String&lt;/ex:simpleTypeRenamed&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-RestrictedMinInclusive" id=
"pattern-RestrictedMinInclusive"></a>2.18.26
RestrictedMinInclusive</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedMinInclusive">
RestrictedMinInclusive</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedMinInclusive">
http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedMinInclusive</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-RestrictedMinInclusive">
<code>.//xs:simpleType/xs:restriction/xs:minInclusive[@value]/(..,
../@base, ., @value)</code></div>
<p id="example-RestrictedMinInclusive">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedMinInclusive">
RestrictedMinInclusive</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedMinInclusive">RestrictedMinInclusive</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="restrictedMinInclusive" type="ex:RestrictedMinInclusive" /&gt;
&lt;xs:simpleType name="RestrictedMinInclusive"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:integer"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:minInclusive</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="1" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-RestrictedMinInclusive01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedMinInclusive#RestrictedMinInclusive01">RestrictedMinInclusive01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:restrictedMinInclusive&gt;1&lt;/ex:restrictedMinInclusive&gt;
</pre></div>
<p id="instance-RestrictedMinInclusive02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedMinInclusive#RestrictedMinInclusive02">RestrictedMinInclusive02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:restrictedMinInclusive&gt;2&lt;/ex:restrictedMinInclusive&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-RestrictedMaxInclusive" id=
"pattern-RestrictedMaxInclusive"></a>2.18.27
RestrictedMaxInclusive</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedMaxInclusive">
RestrictedMaxInclusive</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedMaxInclusive">
http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedMaxInclusive</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-RestrictedMaxInclusive">
<code>.//xs:simpleType/xs:restriction/xs:maxInclusive[@value]/(..,
../@base, ., @value)</code></div>
<p id="example-RestrictedMaxInclusive">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedMaxInclusive">
RestrictedMaxInclusive</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedMaxInclusive">RestrictedMaxInclusive</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="restrictedMaxInclusive" type="ex:RestrictedMaxInclusive" /&gt;
&lt;xs:simpleType name="RestrictedMaxInclusive"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:integer"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:maxInclusive</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="3" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-RestrictedMaxInclusive01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedMaxInclusive#RestrictedMaxInclusive01">RestrictedMaxInclusive01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:restrictedMaxInclusive&gt;1&lt;/ex:restrictedMaxInclusive&gt;
</pre></div>
<p id="instance-RestrictedMaxInclusive02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedMaxInclusive#RestrictedMaxInclusive02">RestrictedMaxInclusive02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:restrictedMaxInclusive&gt;3&lt;/ex:restrictedMaxInclusive&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-RestrictedMinExclusive" id=
"pattern-RestrictedMinExclusive"></a>2.18.28
RestrictedMinExclusive</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedMinExclusive">
RestrictedMinExclusive</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedMinExclusive">
http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedMinExclusive</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-RestrictedMinExclusive">
<code>.//xs:simpleType/xs:restriction/xs:minExclusive[@value]/(..,
../@base, ., @value)</code></div>
<p id="example-RestrictedMinExclusive">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedMinExclusive">
RestrictedMinExclusive</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedMinExclusive">RestrictedMinExclusive</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="restrictedMinExclusive" type="ex:RestrictedMinExclusive" /&gt;
&lt;xs:simpleType name="RestrictedMinExclusive"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:integer"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:minExclusive</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="1" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-RestrictedMinExclusive01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedMinExclusive#RestrictedMinExclusive01">RestrictedMinExclusive01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:restrictedMinExclusive&gt;2&lt;/ex:restrictedMinExclusive&gt;
</pre></div>
<p id="instance-RestrictedMinExclusive02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedMinExclusive#RestrictedMinExclusive02">RestrictedMinExclusive02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:restrictedMinExclusive&gt;3&lt;/ex:restrictedMinExclusive&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-RestrictedMaxExclusive" id=
"pattern-RestrictedMaxExclusive"></a>2.18.29
RestrictedMaxExclusive</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedMaxExclusive">
RestrictedMaxExclusive</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedMaxExclusive">
http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedMaxExclusive</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-RestrictedMaxExclusive">
<code>.//xs:simpleType/xs:restriction/xs:maxExclusive[@value]/(..,
../@base, ., @value)</code></div>
<p id="example-RestrictedMaxExclusive">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedMaxExclusive">
RestrictedMaxExclusive</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedMaxExclusive">RestrictedMaxExclusive</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="restrictedMaxExclusive" type="ex:RestrictedMaxExclusive" /&gt;
&lt;xs:simpleType name="RestrictedMaxExclusive"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:integer"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:maxExclusive</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="3" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-RestrictedMaxExclusive01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedMaxExclusive#RestrictedMaxExclusive01">RestrictedMaxExclusive01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:restrictedMaxExclusive&gt;1&lt;/ex:restrictedMaxExclusive&gt;
</pre></div>
<p id="instance-RestrictedMaxExclusive02">as is the following
element when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedMaxExclusive#RestrictedMaxExclusive02">RestrictedMaxExclusive02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:restrictedMaxExclusive&gt;2&lt;/ex:restrictedMaxExclusive&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-RestrictedLength" id=
"pattern-RestrictedLength"></a>2.18.30 RestrictedLength</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedLength">
RestrictedLength</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedLength">
http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedLength</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-RestrictedLength">
<code>.//xs:simpleType/xs:restriction/xs:length[@value]/(..,
../@base, ., @value)</code></div>
<p id="example-RestrictedLength">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedLength">
RestrictedLength</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedLength">RestrictedLength</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="restrictedLength" type="ex:RestrictedLength" /&gt;
&lt;xs:simpleType name="RestrictedLength"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:language"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:length</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="2" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-RestrictedLength01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedLength#RestrictedLength01">RestrictedLength01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:restrictedLength&gt;en&lt;/ex:restrictedLength&gt;
</pre></div>
<p id="instance-RestrictedLength02">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedLength#RestrictedLength02">RestrictedLength02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:restrictedLength&gt;FR&lt;/ex:restrictedLength&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-RestrictedMaxLength" id=
"pattern-RestrictedMaxLength"></a>2.18.31 RestrictedMaxLength</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedMaxLength">
RestrictedMaxLength</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedMaxLength">
http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedMaxLength</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-RestrictedMaxLength">
<code>.//xs:simpleType/xs:restriction/xs:maxLength[@value]/(..,
../@base, ., @value)</code></div>
<p id="example-RestrictedMaxLength">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedMaxLength">
RestrictedMaxLength</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedMaxLength">RestrictedMaxLength</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="restrictedMaxLength" type="ex:RestrictedMaxLength" /&gt;
&lt;xs:simpleType name="RestrictedMaxLength"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:string"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:maxLength</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="12" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-RestrictedMaxLength01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedMaxLength#RestrictedMaxLength01">RestrictedMaxLength01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:restrictedMaxLength&gt;AUSTRALIA&lt;/ex:restrictedMaxLength&gt;
</pre></div>
<p id="instance-RestrictedMaxLength02">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedMaxLength#RestrictedMaxLength02">RestrictedMaxLength02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:restrictedMaxLength&gt;N AMERICA&lt;/ex:restrictedMaxLength&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-RestrictedMinLength" id=
"pattern-RestrictedMinLength"></a>2.18.32 RestrictedMinLength</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedMinLength">
RestrictedMinLength</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedMinLength">
http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedMinLength</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-RestrictedMinLength">
<code>.//xs:simpleType/xs:restriction/xs:minLength[@value]/(..,
../@base, ., @value)</code></div>
<p id="example-RestrictedMinLength">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedMinLength">
RestrictedMinLength</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedMinLength">RestrictedMinLength</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="restrictedMinLength" type="ex:RestrictedMinLength" /&gt;
&lt;xs:simpleType name="RestrictedMinLength"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:string"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:minLength</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="2" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-RestrictedMinLength01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedMinLength#RestrictedMinLength01">RestrictedMinLength01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:restrictedMinLength&gt;AUS&lt;/ex:restrictedMinLength&gt;
</pre></div>
<p id="instance-RestrictedMinLength02">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedMinLength#RestrictedMinLength02">RestrictedMinLength02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:restrictedMinLength&gt;GB&lt;/ex:restrictedMinLength&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-RestrictedPattern" id=
"pattern-RestrictedPattern"></a>2.18.33 RestrictedPattern</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedPattern">
RestrictedPattern</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedPattern">
http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedPattern</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-RestrictedPattern">
<code>.//xs:simpleType/xs:restriction/xs:pattern[@value]/(..,
../@base, ., @value)</code></div>
<p id="example-RestrictedPattern">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedPattern">
RestrictedPattern</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedPattern">RestrictedPattern</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="restrictedPattern" type="ex:RestrictedPattern" /&gt;
&lt;xs:simpleType name="RestrictedPattern"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:string"&gt;
&lt;xs:minLength value="1" /&gt;
&lt;xs:maxLength value="6" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:pattern</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="[0-9]{1,6}" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-RestrictedPattern01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedPattern#RestrictedPattern01">RestrictedPattern01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:restrictedPattern&gt;123456&lt;/ex:restrictedPattern&gt;
</pre></div>
<p id="instance-RestrictedPattern02">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedPattern#RestrictedPattern02">RestrictedPattern02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:restrictedPattern&gt;1234&lt;/ex:restrictedPattern&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-RestrictedWhitespacePreserve" id=
"pattern-RestrictedWhitespacePreserve"></a>2.18.34
RestrictedWhitespacePreserve</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedWhitespacePreserve">
RestrictedWhitespacePreserve</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedWhitespacePreserve">
http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedWhitespacePreserve</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-RestrictedWhitespacePreserve">
<code>.//xs:simpleType/xs:restriction/xs:whiteSpace[@value='preserve']/(..,
../@base, ., @value, @fixed)</code></div>
<p id="example-RestrictedWhitespacePreserve">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedWhitespacePreserve">
RestrictedWhitespacePreserve</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedWhitespacePreserve">RestrictedWhitespacePreserve</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="restrictedWhitespacePreserve" type="ex:RestrictedWhitespacePreserve" /&gt;
&lt;xs:simpleType name="RestrictedWhitespacePreserve"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:string"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:whiteSpace</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="preserve" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-RestrictedWhitespacePreserve01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedWhitespacePreserve#RestrictedWhitespacePreserve01">RestrictedWhitespacePreserve01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:restrictedWhitespacePreserve&gt;restricted whitespace preserve&lt;/ex:restrictedWhitespacePreserve&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-RestrictedWhitespaceCollapse" id=
"pattern-RestrictedWhitespaceCollapse"></a>2.18.35
RestrictedWhitespaceCollapse</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedWhitespaceCollapse">
RestrictedWhitespaceCollapse</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedWhitespaceCollapse">
http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedWhitespaceCollapse</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-RestrictedWhitespaceCollapse">
<code>.//xs:simpleType/xs:restriction/xs:whiteSpace[@value='collapse']/(..,
../@base, ., @value, @fixed)</code></div>
<p id="example-RestrictedWhitespaceCollapse">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedWhitespaceCollapse">
RestrictedWhitespaceCollapse</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedWhitespaceCollapse">RestrictedWhitespaceCollapse</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="restrictedWhitespaceCollapse" type="ex:RestrictedWhitespaceCollapse" /&gt;
&lt;xs:simpleType name="RestrictedWhitespaceCollapse"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:string"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:whiteSpace</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="collapse" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-RestrictedWhitespaceCollapse01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedWhitespaceCollapse#RestrictedWhitespaceCollapse01">RestrictedWhitespaceCollapse01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:restrictedWhitespaceCollapse&gt;restricted whitespace collapse&lt;/ex:restrictedWhitespaceCollapse&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-RestrictedWhitespaceReplace" id=
"pattern-RestrictedWhitespaceReplace"></a>2.18.36
RestrictedWhitespaceReplace</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedWhitespaceReplace">
RestrictedWhitespaceReplace</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedWhitespaceReplace">
http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedWhitespaceReplace</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-RestrictedWhitespaceReplace">
<code>.//xs:simpleType/xs:restriction/xs:whiteSpace[@value='replace']/(..,
../@base, ., @value, @fixed)</code></div>
<p id="example-RestrictedWhitespaceReplace">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedWhitespaceReplace">
RestrictedWhitespaceReplace</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedWhitespaceReplace">RestrictedWhitespaceReplace</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="restrictedWhitespaceReplace" type="ex:RestrictedWhitespaceReplace" /&gt;
&lt;xs:simpleType name="RestrictedWhitespaceReplace"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:string"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:whiteSpace</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="replace" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-RestrictedWhitespaceReplace01">The following
example <a href="#XML">[XML 1.0]</a> element is valid against the
above example <a href="#XMLSchema">[XML Schema 1.0]</a> when
included inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/RestrictedWhitespaceReplace#RestrictedWhitespaceReplace01">RestrictedWhitespaceReplace01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:restrictedWhitespaceReplace&gt;restricted whitespace replace&lt;/ex:restrictedWhitespaceReplace&gt;
</pre></div>
</div>
</div>
<div class="div2">
<h3><a name="group-numbers" id="group-numbers"></a>2.19
Numbers</h3>
<div class="div3">
<h4><a name="pattern-PrecisionDecimal" id=
"pattern-PrecisionDecimal"></a>2.19.1 PrecisionDecimal</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/PrecisionDecimal">
PrecisionDecimal</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/PrecisionDecimal">
http://www.w3.org/2002/ws/databinding/patterns/6/09/PrecisionDecimal</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-PrecisionDecimal">
<code>.//xs:simpleType/xs:union[
xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:decimal')]/xs:totalDigits[@value ='16'] and
xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:double')] and
xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:string') and xs:enumeration/@value='NaN' and
xs:enumeration/@value='-INF' and not(xs:enumeration[3])] and
not(xs:simpleType[4] | xs:simpleType[@*]) ]/(., xs:simpleType/(.,
xs:restriction/(., @base, xs:totalDigits/(., @value),
xs:enumeration/(., @value))))</code></div>
<p id="example-PrecisionDecimal">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/PrecisionDecimal">
PrecisionDecimal</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/PrecisionDecimal">PrecisionDecimal</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="precisionDecimal" type="ex:PrecisionDecimal" /&gt;
&lt;xs:simpleType name="PrecisionDecimal"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:union</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:simpleType</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:decimal"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:totalDigits</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="16" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:simpleType</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:simpleType</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:double" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:simpleType</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:simpleType</b>&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> base</b>="xs:string"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="NaN" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:enumeration</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> value</b>="-INF" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:restriction</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:simpleType</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:union</b>&gt;
&lt;/xs:simpleType&gt;
</pre></div>
<p id="instance-PrecisionDecimal01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/PrecisionDecimal#PrecisionDecimal01">PrecisionDecimal01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:precisionDecimal&gt;1000.20&lt;/ex:precisionDecimal&gt;
</pre></div>
<p id="instance-PrecisionDecimal02">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/PrecisionDecimal#PrecisionDecimal02">PrecisionDecimal02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:precisionDecimal&gt;NaN&lt;/ex:precisionDecimal&gt;
</pre></div>
<p id="instance-PrecisionDecimal03">and the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/PrecisionDecimal#PrecisionDecimal03">PrecisionDecimal03</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:precisionDecimal&gt;-INF&lt;/ex:precisionDecimal&gt;
</pre></div>
</div>
</div>
<div class="div2">
<h3><a name="group-Group" id="group-Group"></a>2.20 Group</h3>
<div class="div3">
<h4><a name="pattern-AttributeGroup" id=
"pattern-AttributeGroup"></a>2.20.1 AttributeGroup</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeGroup">
AttributeGroup</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeGroup">
http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeGroup</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-AttributeGroup">
<code>.//xs:attributeGroup/(.,@name,@ref,xs:attribute)</code></div>
<p id="example-AttributeGroup">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeGroup">
AttributeGroup</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AttributeGroup">AttributeGroup</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="attributeGroup" type="ex:AttributeGroup" /&gt;
&lt;xs:complexType name="AttributeGroup"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="contract" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:attributeGroup</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> ref</b>="ex:CommonAttributes" /&gt;
&lt;/xs:complexType&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:attributeGroup</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="CommonAttributes"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:attribute</b> name="id" type="xs:ID" use="optional" form="unqualified" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:attributeGroup</b>&gt;
</pre></div>
<p id="instance-AttributeGroup01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AttributeGroup#AttributeGroup01">AttributeGroup01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:attributeGroup id="AttributeGroup_contract_001"&gt;
&lt;ex:contract&gt;12345678910&lt;/ex:contract&gt;
&lt;/ex:attributeGroup&gt;
</pre></div>
<p id="instance-AttributeGroup02">as is the following element when
included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AttributeGroup#AttributeGroup02">AttributeGroup02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:attributeGroup&gt;
&lt;ex:contract&gt;9876543210&lt;/ex:contract&gt;
&lt;/ex:attributeGroup&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-SubstitutionGroup" id=
"pattern-SubstitutionGroup"></a>2.20.2 SubstitutionGroup</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SubstitutionGroup">
SubstitutionGroup</a> pattern identified using the URI <a href=
"#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SubstitutionGroup">
http://www.w3.org/2002/ws/databinding/patterns/6/09/SubstitutionGroup</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-SubstitutionGroup">
<code>.//xs:element[@substitutionGroup]/(.,@name,@substitutionGroup)</code></div>
<p id="example-SubstitutionGroup">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/SubstitutionGroup">
SubstitutionGroup</a> pattern within an <a href="#XMLSchema">[XML
Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SubstitutionGroup">SubstitutionGroup</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="substitutionGroup" type="xs:string" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="substitutionElement" <b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> substitutionGroup</b>="ex:substitutionGroup" /&gt;
</pre></div>
<p id="instance-SubstitutionGroup01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SubstitutionGroup#SubstitutionGroup01">SubstitutionGroup01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:substitutionElement&gt;String&lt;/ex:substitutionElement&gt;
</pre></div>
<p id="instance-SubstitutionGroup02">as is the following element
when included in an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/SubstitutionGroup#SubstitutionGroup02">SubstitutionGroup02</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:substitutionGroup&gt;String&lt;/ex:substitutionGroup&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-ElementGroup" id=
"pattern-ElementGroup"></a>2.20.3 ElementGroup</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementGroup">ElementGroup</a>
pattern identified using the URI <a href="#RFC3986">[RFC 3986]</a>
<a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementGroup">http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementGroup</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-ElementGroup">
<code>.//xs:group/(.,@name,@ref,@minOccurs,@maxOccurs,xs:sequence,xs:all,xs:choice)</code></div>
<p id="example-ElementGroup">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/ElementGroup">ElementGroup</a>
pattern within an <a href="#XMLSchema">[XML Schema 1.0]</a>
document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementGroup">ElementGroup</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="elementGroup" type="ex:ElementGroup" /&gt;
&lt;xs:complexType name="ElementGroup"&gt;
&lt;xs:sequence&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:group</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> ref</b>="ex:ElementGroupGroup" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:group</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="ElementGroupGroup"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:sequence</b>&gt;
&lt;xs:element name="value1" type="xs:string" /&gt;
&lt;xs:element name="value2" type="xs:string" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:sequence</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:group</b>&gt;
</pre></div>
<p id="instance-ElementGroup01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/ElementGroup#ElementGroup01">ElementGroup01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:elementGroup&gt;
&lt;ex:value1&gt;foo&lt;/ex:value1&gt;
&lt;ex:value2&gt;bar&lt;/ex:value2&gt;
&lt;/ex:elementGroup&gt;
</pre></div>
</div>
<div class="div3">
<h4><a name="pattern-AttributeGroupAnyAttribute" id=
"pattern-AttributeGroupAnyAttribute"></a>2.20.4
AttributeGroupAnyAttribute</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeGroupAnyAttribute">
AttributeGroupAnyAttribute</a> pattern identified using the URI
<a href="#RFC3986">[RFC 3986]</a> <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeGroupAnyAttribute">
http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeGroupAnyAttribute</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-AttributeGroupAnyAttribute">
<code>.//xs:attributeGroup/xs:anyAttribute/(.,@namespace,@processContents)</code></div>
<p id="example-AttributeGroupAnyAttribute">The following example
<a href="#XMLSchema">[XML Schema 1.0]</a> extract illustrates the
use of the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/AttributeGroupAnyAttribute">
AttributeGroupAnyAttribute</a> pattern within an <a href=
"#XMLSchema">[XML Schema 1.0]</a> document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AttributeGroupAnyAttribute">AttributeGroupAnyAttribute</a>]:</p>
<div class="exampleInner">
<pre>
&lt;xs:element name="attributeGroupAnyAttribute" type="ex:AttributeGroupAnyAttribute" /&gt;
&lt;xs:complexType name="AttributeGroupAnyAttribute"&gt;
&lt;xs:attributeGroup ref="ex:CommonAttributes" /&gt;
&lt;/xs:complexType&gt;
&lt;xs:attributeGroup name="CommonAttributes"&gt;
&lt;xs:attribute name="id" type="xs:ID" use="optional" form="unqualified" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:anyAttribute</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> processContents</b>="skip" /&gt;
&lt;/xs:attributeGroup&gt;
</pre></div>
<p id="instance-AttributeGroupAnyAttribute01">The following example
<a href="#XML">[XML 1.0]</a> element is valid against the above
example <a href="#XMLSchema">[XML Schema 1.0]</a> when included
inside an instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/AttributeGroupAnyAttribute#AttributeGroupAnyAttribute01">AttributeGroupAnyAttribute01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:attributeGroupAnyAttribute id="id1" ex:anyattr="value1"/&gt;
</pre></div>
</div>
</div>
<div class="div2">
<h3><a name="group-Redefines" id="group-Redefines"></a>2.21
Redefines</h3>
<div class="div3">
<h4><a name="pattern-Redefine" id="pattern-Redefine"></a>2.21.1
Redefine</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/Redefine">Redefine</a>
pattern identified using the URI <a href="#RFC3986">[RFC 3986]</a>
<a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/Redefine">http://www.w3.org/2002/ws/databinding/patterns/6/09/Redefine</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-Redefine">
<code>.//xs:redefine[@schemaLocation] / (., @schemaLocation,
child::*, child::*/@name, child::*/@base)</code></div>
<p id="example-Redefine">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/Redefine">Redefine</a>
pattern within an <a href="#XMLSchema">[XML Schema 1.0]</a>
document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/Redefine">Redefine</a>]:</p>
<div class="exampleInner">
<pre>
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:redefine</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> schemaLocation</b>="../redefineschema.xsd"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexType</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> name</b>="RedefineType"&gt;
&lt;xs:complexContent&gt;
&lt;xs:extension base="ex:RedefineType"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="element3" type="xs:string" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:extension&gt;
&lt;/xs:complexContent&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:complexType</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:redefine</b>&gt;
&lt;xs:element name="redefined" type="ex:RedefineType" /&gt;
</pre></div>
<p id="instance-Redefine01">The following example <a href=
"#XML">[XML 1.0]</a> element is valid against the above example
<a href="#XMLSchema">[XML Schema 1.0]</a> when included inside an
instance document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/Redefine#Redefine01">Redefine01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:redefined&gt;
&lt;ex:element1&gt;value1&lt;/ex:element1&gt;
&lt;ex:element2&gt;value2&lt;/ex:element2&gt;
&lt;ex:element3&gt;value3&lt;/ex:element3&gt;
&lt;/ex:redefined&gt;
</pre></div>
</div>
</div>
<div class="div2">
<h3><a name="group-Unique" id="group-Unique"></a>2.22 Unique</h3>
<div class="div3">
<h4><a name="pattern-Unique" id="pattern-Unique"></a>2.22.1
Unique</h4>
<p>An <a href="#XMLSchema">[XML Schema 1.0]</a>, or other <a href=
"#XML">[XML 1.0]</a> document containing an <a href=
"#XMLSchema">[XML Schema 1.0]</a> element
<code>&lt;xs:schema&gt;</code>, exhibits the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/Unique">Unique</a>
pattern identified using the URI <a href="#RFC3986">[RFC 3986]</a>
<a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/Unique">http://www.w3.org/2002/ws/databinding/patterns/6/09/Unique</a>
when the following <a href="#XPath20">[XPath 2.0]</a> expression
applied to a document or element node with a context node of
<code>//xs:schema</code> results in an <a href="#XPath20">[XPath
2.0]</a> node-set containing at least one node:</p>
<div class="xpath" id="xpath-Unique">
<code>.//xs:element/xs:unique/(..,
.,xs:selector,xs:selector/@xpath,xs:field,xs:field/@xpath)</code></div>
<p id="example-Unique">The following example <a href=
"#XMLSchema">[XML Schema 1.0]</a> extract illustrates the use of
the <a href=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/Unique">Unique</a>
pattern within an <a href="#XMLSchema">[XML Schema 1.0]</a>
document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/Unique">Unique</a>]:</p>
<div class="exampleInner">
<pre>
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b> name="unique" type="ex:Unique"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:unique</b> name="nameUniqueness"&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:selector</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> xpath</b>="ex:character" /&gt;
&lt;<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:field</b><b xmlns:pat="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"> xpath</b>="ex:name" /&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:unique</b>&gt;
&lt;/<b xmlns:pat=
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/" xmlns:xs=
"http://www.w3.org/2001/XMLSchema" xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance">xs:element</b>&gt;
&lt;xs:complexType name="Unique"&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="character" maxOccurs="unbounded"&gt;
&lt;xs:complexType&gt;
&lt;xs:sequence&gt;
&lt;xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="unbounded" /&gt;
&lt;xs:element name="age" type="xs:string" minOccurs="0" /&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
&lt;/xs:element&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre></div>
<p id="instance-Unique01">The following example <a href="#XML">[XML
1.0]</a> element is valid against the above example <a href=
"#XMLSchema">[XML Schema 1.0]</a> when included inside an instance
document [<a href=
"http://www.w3.org/2002/ws/databinding/examples/6/09/Unique#Unique01">Unique01</a>]:</p>
<div class="exampleInner">
<pre>
&lt;ex:unique&gt;
&lt;ex:character&gt;
&lt;ex:name&gt;String&lt;/ex:name&gt;
&lt;ex:age&gt;String&lt;/ex:age&gt;
&lt;/ex:character&gt;
&lt;/ex:unique&gt;
</pre></div>
</div>
</div>
</div>
<div class="div1">
<h2><a name="structures" id="structures"></a>3. Data Types &amp;
Structures</h2>
<p id="ISSUE-37">This section offers one or more patterns which may
be used to represent an abstract data structure. Each data
structure presented is intended to be independent of any particular
programming language, database or modeling environment. No
semantics are implied by the order in which patterns are listed for
a given abstract data structure.</p>
<div class="div2">
<h3><a name="default" id="default"></a>3.1 Default Value</h3>
<dl>
<dt class="label">Definition</dt>
<dd>A preselected value used by when no alternative is explicitly
specified.</dd>
<dt class="label">Patterns</dt>
</dl>
</div>
<div class="div2">
<h3><a name="map" id="map"></a>3.2 Map</h3>
<table border="1" summary="Editorial note: pdowney">
<tr>
<td align="left" valign="top" width="50%"><b>Editorial note:
pdowney</b></td>
<td align="right" valign="top" width="50%">2006-10-25</td>
</tr>
<tr>
<td colspan="2" align="left" valign="top">ISSUE-25: need to
incorporate examples for Hash tables and maps</td>
</tr>
</table>
</div>
<div class="div2">
<h3><a name="extended-enum" id="extended-enum"></a>3.3 Extensible
Enumeration</h3>
<table border="1" summary="Editorial note: pdowney">
<tr>
<td align="left" valign="top" width="50%"><b>Editorial note:
pdowney</b></td>
<td align="right" valign="top" width="50%">2006-10-25</td>
</tr>
<tr>
<td colspan="2" align="left" valign="top">ISSUE-5: need to
incorporate extensible enum examples</td>
</tr>
</table>
</div>
</div>
<div class="div1">
<h2><a name="refs" id="refs"></a>4. References</h2>
<div class="div2">
<h3><a name="normrefs" id="normrefs"></a>4.1 Normative
References</h3>
<dl>
<dt class="label"><a name="BasicPatterns" id=
"BasicPatterns"></a>[Basic Patterns]</dt>
<dd><a href="http://www.w3.org/TR/xmlschema-patterns"><cite>XML
Schema Patterns for Databinding 1.0</cite></a>, Jonathan Calladine,
George Cowe, Paul Downey, Yves Lafon, Editors. World Wide Web
Consortium, May, 2009. The latest version of <a href=
"http://www.w3.org/TR/xmlschema-patterns/">Basic Patterns</a> is
available at http://www.w3.org/TR/xmlschema-patterns/. (See
<a href="http://www.w3.org/TR/2009/NOTE-xmlschema-patterns-20090505/">
http://www.w3.org/TR/2009/NOTE-xmlschema-patterns-20090505/</a>.)</dd>
<dt class="label"><a name="XMLSchema" id="XMLSchema"></a>[XML
Schema 1.0]</dt>
<dd>Henry S. Thompson, David Beech, Murray Maloney, and Noah
Mendelsohn, Editors. World Wide Web Consortium. <em>XML Schema,
Parts 0, 1, and 2 (Second Edition)</em>. W3C Recommendation, 28
October 2004. See <a href=
"http://www.w3.org/TR/xmlschema-0/">http://www.w3.org/TR/xmlschema-0/</a>,
<a href=
"http://www.w3.org/TR/xmlschema-1/">http://www.w3.org/TR/xmlschema-1/</a>,
and <a href=
"http://www.w3.org/TR/xmlschema-2/">http://www.w3.org/TR/xmlschema-2/</a>.</dd>
<dt class="label"><a name="XPath20" id="XPath20"></a>[XPath
2.0]</dt>
<dd><a href=
"http://www.w3.org/TR/2006/CR-xpath20-20060608/"><cite>XML Path
Language (XPath) 2.0</cite></a>, Don Chamberlin , Anders Berglund,
Scott Boag, et. al., Editors. World Wide Web Consortium, 3 Nov
2005. The <a href="http://www.w3.org/TR/xpath20/">latest
version</a> is available at http://www.w3.org/TR/xpath20/. (See
<a href=
"http://www.w3.org/TR/2006/CR-xpath20-20060608/">http://www.w3.org/TR/2006/CR-xpath20-20060608/</a>.)</dd>
<dt class="label"><a name="XMLNS" id="XMLNS"></a>[XML
Namespaces]</dt>
<dd><cite>Namespaces in XML</cite>, T. Bray, D. Hollander, and A.
Layman, Editors. World Wide Web Consortium, 14 January 1999. The
<a href="http://www.w3.org/TR/REC-xml-names">latest version</a> is
available at http://www.w3.org/TR/REC-xml-names. (See <a href=
"http://www.w3.org/TR/1999/REC-xml-names-19990114">http://www.w3.org/TR/1999/REC-xml-names-19990114</a>.)</dd>
<dt class="label"><a name="XML" id="XML"></a>[XML 1.0]</dt>
<dd>World Wide Web Consortium. <em>Extensible Markup Language (XML)
1.0. (Fourth Edition)</em> W3C Recommendation, 16 August 2006. See
<a href=
"http://www.w3.org/TR/REC-xml">http://www.w3.org/TR/REC-xml</a></dd>
<dt class="label"><a name="RFC2119" id="RFC2119"></a>[RFC
2119]</dt>
<dd><a href="http://www.ietf.org/rfc/rfc2119.txt"><cite>Key words
for use in RFCs to Indicate Requirement Levels</cite></a>, S.
Bradner, Editor. IETF, March 1997. (See <a href=
"http://www.ietf.org/rfc/rfc2119.txt">http://www.ietf.org/rfc/rfc2119.txt</a>.)</dd>
<dt class="label"><a name="RFC3986" id="RFC3986"></a>[RFC
3986]</dt>
<dd><cite>Uniform Resource Identifiers (URI): Generic
Syntax</cite>, T. Berners-Lee, R. Fielding, L. Masinter, Authors.
Internet Engineering Task Force, January 2005. (See <a href=
"http://www.ietf.org/rfc/rfc3986.txt">http://www.ietf.org/rfc/rfc3986.txt</a>.)</dd>
<dt class="label"><a name="Unicode" id="Unicode"></a>[Unicode]</dt>
<dd>The Unicode Consortium. <em>The Unicode Standard, Version
4.0</em>. Reading, Mass.: Addison-Wesley, 2003, as updated from
time to time by the publication of new versions. (See <a href=
"http://www.unicode.org/unicode/standard/versions">http://www.unicode.org/unicode/standard/versions</a>
for the latest version and additional information on versions of
the standard and of the Unicode Character Database)</dd>
</dl>
</div>
<div class="div2">
<h3><a name="informrefs" id="informrefs"></a>4.2 Informative
References</h3>
<dl>
<dt class="label"><a name="WSDL20" id="WSDL20"></a>[WSDL 2.0]</dt>
<dd><cite>Web Services Description Language (WSDL) Version 2.0 Part
1: Core Language</cite>, R. Chinnici, J. J. Moreau, A. Ryman, S.
Weerawarana, Editors. World Wide Web Consortium, 6 January 2006.
The <a href="http://www.w3.org/TR/wsdl20">latest version</a> is
available at http://www.w3.org/TR/wsdl20. (See <a href=
"http://www.w3.org/TR/2006/CR-wsdl20-20060106/">http://www.w3.org/TR/2006/CR-wsdl20-20060106/</a>.)</dd>
<dt class="label"><a name="WSDL11" id="WSDL11"></a>[WSDL 1.1]</dt>
<dd>E. Christensen, et al, <cite>Web Services Description Language
(WSDL) 1.1</cite>, March 2001. (See <a href=
"http://www.w3.org/TR/2001/NOTE-wsdl-20010315">http://www.w3.org/TR/2001/NOTE-wsdl-20010315</a>.)</dd>
<dt class="label"><a name="SOAP12" id="SOAP12"></a>[SOAP 1.2]</dt>
<dd><cite>SOAP Version 1.2 Part 1: Messaging Framework</cite>, M.
Gudgin, M. Hadley, N. Mendelsohn, J-J. Moreau, H. Frystyk Nielsen,
Editors. World Wide Web Consortium, 24 June 2003. The <a href=
"http://www.w3.org/TR/soap12-part1/">latest version</a> is
available at http://www.w3.org/TR/soap12-part1/. (See <a href=
"http://www.w3.org/TR/2003/REC-soap12-part1-20030624/">http://www.w3.org/TR/2003/REC-soap12-part1-20030624/</a>.)</dd>
<dt class="label"><a name="SOAP11" id="SOAP11"></a>[SOAP 1.1]</dt>
<dd><cite>Simple Object Access Protocol (SOAP) 1.1</cite>, D. Box,
D. Ehnebuske, G. Kakivaya, A. Layman, N. Mendelsohn, H Frystyk
Nielsen, S. Thatte, D. Winer, Editors. W3C Member Submission, 8 May
2000. (See <a href=
"http://www.w3.org/TR/2000/NOTE-SOAP-20000508/">http://www.w3.org/TR/2000/NOTE-SOAP-20000508/</a>.)</dd>
<dt class="label"><a name="XSLT20" id="XSLT20"></a>[XSLT 2.0]</dt>
<dd><cite>XSL Transformations (XSLT) Version 2.0</cite>, M. Kay,
Editor. World Wide Web Consortium, 8 June 2006. The <a href=
"http://www.w3.org/TR/xslt20/">latest version</a> is available at
http://www.w3.org/TR/xslt20. (See <a href=
"http://www.w3.org/TR/2006/CR-xslt20-20060608/">http://www.w3.org/TR/2006/CR-xslt20-20060608/</a>.)</dd>
<dt class="label"><a name="WSI-BP" id="WSI-BP"></a>[WS-I Basic
Profile 1.1]</dt>
<dd><cite>WS-I Basic Profile 1.1</cite>, Web Services
Interoperability Organization, April 2004 The <a href=
"http://www.ws-i.org/Profiles/BasicProfile-1.1.html">latest
version</a> and errata is available from
http://www.ws-i.org/Profiles/BasicProfile-1.1.html. (See <a href=
"http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html">http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html</a>.)</dd>
<dt class="label"><a name="X.694" id="X.694"></a>[X.694]</dt>
<dd><a href="http://www.itu.int/ITU-R/"><cite>Information
technology - ASN.1 encoding rules: Mapping W3C XML schema
definitions into ASN.1</cite></a>, International Telecommunications
Union Recommendation. X.694 January 2004. (See <a href=
"http://www.itu.int/ITU-T/studygroups/com17/languages/X694.pdf">http://www.itu.int/ITU-T/studygroups/com17/languages/X694.pdf</a>.)</dd>
<dt class="label"><a name="Schematron" id=
"Schematron"></a>[Schematron]</dt>
<dd><a href=
"http://www.iso.org/iso/en/CatalogueDetailPage.CatalogueDetail?CSNUMBER=40833&amp;ICS1=35&amp;ICS2=240&amp;ICS3=30">
<cite>ISO/IEC 19757-3:2006</cite></a>, Information technology -
Document Schema Definition Languages (DSDL) - Part 3: Rule-based
validation - International Standards Organization (JTC1/SC34) -
<a href="http://www.schematron.com">Schematron</a>. (See <a href=
"http://standards.iso.org/ittf/PubliclyAvailableStandards/c040833_ISO_IEC_19757-3_2006%28E%29.zip">
http://standards.iso.org/ittf/PubliclyAvailableStandards/c040833_ISO_IEC_19757-3_2006%28E%29.zip</a>.)</dd>
<dt class="label"><a name="BOM" id="BOM"></a>[BOM]</dt>
<dd><cite>Unicode Frequently Asked Questions</cite> (See <a href=
"http://www.unicode.org/unicode/faq/utf_bom.html#BOM">http://www.unicode.org/unicode/faq/utf_bom.html#BOM</a>.)</dd>
<dt class="label"><a name="BCP47" id="BCP47"></a>[BCP 47]</dt>
<dd><cite>Best Current Practice Tags for Identifying
Languages</cite>, A. Phillips, M. Davis, Authors. The Internet
Society, September 2006. (See <a href=
"http://www.rfc-editor.org/rfc/bcp/bcp47.txt">http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a>.)</dd>
<dt class="label"><a name="Timezone" id=
"Timezone"></a>[Timezone]</dt>
<dd><cite>Working with Time Zones</cite>, Addison Phillips, Felix
Sasaki, Mark Davis, Martin Dürst, Editors. World Wide Web
Consortium, 13 October 2005. The <a href=
"http://www.w3.org/TR/timezone/">latest version</a> is available at
http://www.w3.org/TR/timezone/. (See <a href=
"http://www.w3.org/TR/2005/NOTE-timezone-20051013/">http://www.w3.org/TR/2005/NOTE-timezone-20051013/</a>.)</dd>
</dl>
</div>
</div>
</div>
<div class="back">
<div class="div1">
<h2><a name="detection" id="detection"></a>A. Detecting Patterns
(Non-Normative)</h2>
<p>The patterns defined by this specification may be detected in a
description such as an <a href="#XMLSchema">[XML Schema 1.0]</a>,
<a href="#WSDL20">[WSDL 2.0]</a> or <a href="#WSDL11">[WSDL
1.1]</a> document using an <a href="#XPath20">[XPath 2.0]</a>
processor. The following example illustrates detecting a pattern
using an <a href="#XSLT20">[XSLT 2.0]</a> stylesheet:</p>
<div class="exampleInner">
<pre>
&lt;xsl:stylesheet version="2.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/"&gt;
&lt;xsl:output method="text" /&gt;
&lt;xsl:template match="/"&gt;
&lt;xsl:apply-templates select="//xs:schema" mode="detect"/&gt;
&lt;/xsl:template&gt;
&lt;xsl:template match="*" mode="detect"&gt;
&lt;xsl:if test="count(.//xs:element/@type[resolve-QName(.,..) = xs:QName('xs:string')]) gt 0"&gt;
http://www.w3.org/2002/ws/databinding/patterns/6/09/StringElement
&lt;/xsl:if&gt;
&lt;!-- tests to detect other patterns .. --&gt;
&lt;/xsl:template&gt;
&lt;xsl:template match="text()"/&gt;
&lt;/xsl:stylesheet&gt;
</pre></div>
<p>Similarly a <a href="#Schematron">[Schematron]</a> schema may be
assembled from this specification and used in conjunction with a
processor which supports <a href="#XPath20">[XPath 2.0]</a> as
follows:</p>
<div class="exampleInner">
<pre>
&lt;sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron"&gt;
&lt;sch:ns prefix="xs" uri="http://www.w3.org/2001/XMLSchema"&gt;&lt;/sch:ns&gt;
&lt;sch:pattern name="Basic"&gt;
&lt;sch:rule&gt;
&lt;sch:report
test="count(.//xs:element/@type[resolve-QName(.,..) = xs:QName('xs:string')]) gt 0"&gt;
http://www.w3.org/2002/ws/databinding/patterns/6/09/StringElement
&lt;/sch:report&gt;
&lt;/sch:rule&gt;
&lt;!-- reports to detect other patterns .. --&gt;
&lt;/sch:pattern&gt;
&lt;/sch:schema&gt;
</pre></div>
<p>The <a href="#XPath20">[XPath 2.0]</a> for each <a href=
"#XMLSchema">[XML Schema 1.0]</a> pattern is constructed to return
a set containing all of the Element and Attribute nodes covered by
an individual pattern. Elements and attributes contained within a
<a href="#XMLSchema">[XML Schema 1.0]</a> document not covered by a
set of patterns may be detected using an <a href="#">[XPath2.0]</a>
expression as in the following <a href="#XSLT20">[XSLT 2.0]</a>
extract:</p>
<div class="exampleInner">
<pre>
&lt;xsl:if select="(.//* | .//@*) except
( @targetNamespace
| .//xs:element[resolve-QName(@type,.) = xs:QName('xs:string')]/(@type)
| .. other pattern XPaths ..
)"&gt;
unexpected elements or attributes detected
&lt;/xsl:if&gt;
</pre></div>
</div>
<div class="div1">
<h2><a name="xpath-idioms" id="xpath-idioms"></a>B. XPath 2.0
Idioms (Non-Normative)</h2>
<p>The following <a href="#">[XPath2.0]</a> examples are intended
to illustrate the idiomatic use of <a href="#">[XPath2.0]</a> by
this specification when defining <a href="#XMLSchema">[XML Schema
1.0]</a> patterns.</p>
<table width="100%" border="1">
<caption>Table B. XPath 2.0 Idioms</caption>
<thead>
<tr>
<th>XPath 2.0 Sample</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr id="xpath-idiom-elementFormDefault">
<td><code>./(@elementFormDefault)</code></td>
<td>returns the <code>elementFormDefault</code> attribute of the
<code>xs:schema</code> element</td>
</tr>
<tr id="xpath-idiom-elementFormDefaultQualified">
<td>
<code>.[@elementFormDefault='qualified']/(@elementFormDefault)</code></td>
<td>returns the <code>elementFormDefault</code> attribute of the
<code>xs:schema</code> element, where the contents of the
<code>elementFormDefault</code> attribute is the string
<code>'qualified'</code>.</td>
</tr>
<tr id="xpath-idiom-mixed-attribute-value">
<td><code>.//.[@mixed = 'false']/(@mixed)</code></td>
<td>returns the set of <code>mixed</code> attributes contained on
any element found beneath the <code>xs:schema</code> element, where
the contents of the <code>mixed</code> attribute is the string
value <code>'false'</code>.</td>
</tr>
<tr id="xpath-idiom-parent">
<td>
<code>.//xs:element[not(parent::xs:schema)]/xs:complexType</code></td>
<td>returns the <code>xs:complexType</code> element where the
parent node is not the element <code>xs:schema</code>.</td>
</tr>
<tr id="xpath-idiom-wildcard-nodes">
<td><code>.//xs:annotation/xs:documentation/ (.., ., .//*,
.//@*)</code></td>
<td>returns the parent node, the current node, all descendant
elements and all descendant attributes for all
<code>xs:documentation</code> elements.</td>
</tr>
<tr id="xpath-idiom-resolve-qname">
<td><code>.//xs:element/@type[resolve-QName(.,..) =
xs:QName('xs:string')]</code></td>
<td>returns the <code>type</code> attribute where the QName value
of the <code>type</code> attribute is a local part
<code>string</code> in the namespace found by resolving the prefix
<code>xs</code> in <a href="#namespaces"><b>1.2 Namespaces</b></a>,
i.e <code>'http://www.w3.org/2001/XMLSchema'</code>.</td>
</tr>
<tr id="xpath-idiom-resolve-qname-el">
<td><code>.//xs:element[@name and @type and
namespace-uri-from-QName(resolve-QName(@type,.)) !=
'http://www.w3.org/2001/XMLSchema' and contains(@type, ':')]/ (.,
@name, @type)</code></td>
<td>returns the <code>xs:element</code>, <code>name</code> and
<code>type</code> attributes where the string value of the
<code>type</code> attribute contains a ':' character, and the
resultant QName value is not the <a href="#XML">[XML 1.0]</a>
datatypes namespace, i.e. an explicitly qualified datatype in the
<code>##targetNamespace</code> or <code>##other</code>
namespace.</td>
</tr>
<tr id="xpath-idiom-not-schemalocation">
<td><code>./xs:import[@namespace and not(@schemaLocation) and
not(@namespace = 'http://www.w3.org/2001/XMLSchema')]/ (.,
@namespace)</code></td>
<td>returns the <code>xs:import</code> element and
<code>namespace</code> attribute for an <code>xs:import</code>
element with an absent <code>schemaLocation</code> attribute or one
matching the <a href="#XMLSchema">[XML Schema 1.0]</a> datatypes
namespace.</td>
</tr>
<tr id="xpath-idiom-not-maxoccurs">
<td><code>.//xs:element[@minOccurs = '0' and (not(@maxOccurs) or
@maxOccurs = '1')]/ (@minOccurs, @maxOccurs)</code></td>
<td>returns the <code>minOccurs</code> and <code>maxOccurs</code>
attributes for an <code>xs:element</code> element where the
<code>minOccurs</code> attribute has a string value of
<code>'0'</code> and the <code>maxOccurs</code> attribute is absent
or has a string value of <code>'1'</code>.</td>
</tr>
<tr id="xpath-idiom-count">
<td><code>.//xs:sequence[count(xs:element) =
1]/xs:element[@maxOccurs = 'unbounded']/ (.,
@maxOccurs)</code></td>
<td>returns the <code>xs:element</code> element and
<code>maxOccurs</code> attribute where a <code>sequence</code> has
a single <code>xs:element</code> element that is defined with
<code>maxOccurs</code> attribute string value of
<code>'unbounded'</code>.</td>
</tr>
<tr id="xpath-idiom-not-node">
<td><code>.//xs:element[@name]/xs:complexType[not(node())]/(., ..,
../@name)</code></td>
<td>returns the <code>xs:complexType</code> and
<code>xs:element</code> element, and the <code>xs:element</code>
<code>name</code> attribute where the complexType does not have any
child nodes.</td>
</tr>
</tbody>
</table>
</div>
<div class="div1">
<h2><a name="patternsummary" id="patternsummary"></a>C. Pattern
Summary (Non-Normative)</h2>
<a name="pattern-summary" id="pattern-summary"></a>
<table width="100%" border="1">
<caption>Table C-1. Summary of Patterns</caption>
<col width="20%" span="1" />
<col width="80%" span="1" />
<tbody>
<tr>
<th rowspan="1" colspan="1">Id</th>
<th rowspan="1" colspan="1">Pattern</th>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="pattern-AllElement-summary"
href="#pattern-AllElement" id=
"pattern-AllElement-summary">pattern-AllElement</a></td>
<td rowspan="1" colspan="1">.//xs:all/xs:element/(.)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-AnyAttributeLax-summary" href="#pattern-AnyAttributeLax"
id=
"pattern-AnyAttributeLax-summary">pattern-AnyAttributeLax</a></td>
<td rowspan="1" colspan="1">
.//xs:complexType/xs:anyAttribute[(@processContents = 'lax') and
(not(@namespace) or @namespace = '##any')]/ (., @processContents,
@namespace)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-AnyAttributeNamespacedFinite-summary" href=
"#pattern-AnyAttributeNamespacedFinite" id=
"pattern-AnyAttributeNamespacedFinite-summary">pattern-AnyAttributeNamespacedFinite</a></td>
<td rowspan="1" colspan="1">
.//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)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-AnyAttributeOtherLax-summary" href=
"#pattern-AnyAttributeOtherLax" id=
"pattern-AnyAttributeOtherLax-summary">pattern-AnyAttributeOtherLax</a></td>
<td rowspan="1" colspan="1">
.//xs:complexType/xs:anyAttribute[(@processContents = 'lax') and
(@namespace = '##other')]/ (., @processContents, @namespace)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-AnyAttributeOtherSkip-summary" href=
"#pattern-AnyAttributeOtherSkip" id=
"pattern-AnyAttributeOtherSkip-summary">pattern-AnyAttributeOtherSkip</a></td>
<td rowspan="1" colspan="1">
.//xs:complexType/xs:anyAttribute[(@processContents = 'skip') and
(@namespace = '##other')]/ (., @processContents, @namespace)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-AnyAttributeOtherStrict-summary" href=
"#pattern-AnyAttributeOtherStrict" id=
"pattern-AnyAttributeOtherStrict-summary">pattern-AnyAttributeOtherStrict</a></td>
<td rowspan="1" colspan="1">
.//xs:complexType/xs:anyAttribute[(not(@processContents) or
@processContents = 'strict') and (@namespace = '##other')]/ (.,
@processContents, @namespace)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-AnyAttributeSkip-summary" href="#pattern-AnyAttributeSkip"
id=
"pattern-AnyAttributeSkip-summary">pattern-AnyAttributeSkip</a></td>
<td rowspan="1" colspan="1">
.//xs:complexType/xs:anyAttribute[(@processContents = 'skip') and
(not(@namespace) or @namespace = '##any')]/ (., @processContents,
@namespace)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-AnyAttributeStrict-summary" href=
"#pattern-AnyAttributeStrict" id=
"pattern-AnyAttributeStrict-summary">pattern-AnyAttributeStrict</a></td>
<td rowspan="1" colspan="1">
.//xs:complexType/xs:anyAttribute[(not(@processContents) or
@processContents = 'strict') and (not(@namespace) or @namespace =
'##any')]/ (., @processContents, @namespace)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-AnySimpleTypeAttribute-summary" href=
"#pattern-AnySimpleTypeAttribute" id=
"pattern-AnySimpleTypeAttribute-summary">pattern-AnySimpleTypeAttribute</a></td>
<td rowspan="1" colspan="1">
.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:anySimpleType')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-AnySimpleTypeElement-summary" href=
"#pattern-AnySimpleTypeElement" id=
"pattern-AnySimpleTypeElement-summary">pattern-AnySimpleTypeElement</a></td>
<td rowspan="1" colspan="1">.//xs:element/@type[resolve-QName(.,..)
= xs:QName('xs:anySimpleType')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-AnyTypeElement-summary" href="#pattern-AnyTypeElement" id=
"pattern-AnyTypeElement-summary">pattern-AnyTypeElement</a></td>
<td rowspan="1" colspan="1">.//xs:element/@type[resolve-QName(.,..)
= xs:QName('xs:anyType')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-AnyURIEnumerationType-summary" href=
"#pattern-AnyURIEnumerationType" id=
"pattern-AnyURIEnumerationType-summary">pattern-AnyURIEnumerationType</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:anyURI') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-AppinfoElement-summary" href="#pattern-AppinfoElement" id=
"pattern-AppinfoElement-summary">pattern-AppinfoElement</a></td>
<td rowspan="1" colspan="1">.//xs:annotation/xs:appinfo/ (.., .,
.//*, .//@*)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-AttributeDefault-summary" href="#pattern-AttributeDefault"
id=
"pattern-AttributeDefault-summary">pattern-AttributeDefault</a></td>
<td rowspan="1" colspan="1">.//xs:attribute[@default] /
(@default)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-AttributeElementNameClash-summary" href=
"#pattern-AttributeElementNameClash" id=
"pattern-AttributeElementNameClash-summary">pattern-AttributeElementNameClash</a></td>
<td rowspan="1" colspan="1">
.//xs:complexType/xs:sequence/xs:element[@name =
../../xs:attribute/@name]/ (@name)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-AttributeFixed-summary" href="#pattern-AttributeFixed" id=
"pattern-AttributeFixed-summary">pattern-AttributeFixed</a></td>
<td rowspan="1" colspan="1">.//xs:attribute[@fixed] / (@fixed)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-AttributeFormQualified-summary" href=
"#pattern-AttributeFormQualified" id=
"pattern-AttributeFormQualified-summary">pattern-AttributeFormQualified</a></td>
<td rowspan="1" colspan="1">.//xs:attribute[@form='qualified']/
(@form)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-AttributeGroup-summary" href="#pattern-AttributeGroup" id=
"pattern-AttributeGroup-summary">pattern-AttributeGroup</a></td>
<td rowspan="1" colspan="1">
.//xs:attributeGroup/(.,@name,@ref,xs:attribute)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-AttributeGroupAnyAttribute-summary" href=
"#pattern-AttributeGroupAnyAttribute" id=
"pattern-AttributeGroupAnyAttribute-summary">pattern-AttributeGroupAnyAttribute</a></td>
<td rowspan="1" colspan="1">
.//xs:attributeGroup/xs:anyAttribute/(.,@namespace,@processContents)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-AttributeProhibited-summary" href=
"#pattern-AttributeProhibited" id=
"pattern-AttributeProhibited-summary">pattern-AttributeProhibited</a></td>
<td rowspan="1" colspan="1">.//xs:attribute[@use = 'prohibited']/
(@use)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-AttributeReferenceUnqualified-summary" href=
"#pattern-AttributeReferenceUnqualified" id=
"pattern-AttributeReferenceUnqualified-summary">pattern-AttributeReferenceUnqualified</a></td>
<td rowspan="1" colspan="1">.//xs:attribute[@ref and
not(contains(@ref, ':'))]/ (., @ref)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-AttributeRequired-summary" href=
"#pattern-AttributeRequired" id=
"pattern-AttributeRequired-summary">pattern-AttributeRequired</a></td>
<td rowspan="1" colspan="1">.//xs:attribute[@use = 'required']/
(@use)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-AttributeTypeReferenceUnqualified-summary" href=
"#pattern-AttributeTypeReferenceUnqualified" id=
"pattern-AttributeTypeReferenceUnqualified-summary">pattern-AttributeTypeReferenceUnqualified</a></td>
<td rowspan="1" colspan="1">.//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)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-Base64BinaryAttribute-summary" href=
"#pattern-Base64BinaryAttribute" id=
"pattern-Base64BinaryAttribute-summary">pattern-Base64BinaryAttribute</a></td>
<td rowspan="1" colspan="1">
.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:base64Binary')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="pattern-BlockDefault-summary"
href="#pattern-BlockDefault" id=
"pattern-BlockDefault-summary">pattern-BlockDefault</a></td>
<td rowspan="1" colspan="1">./@blockDefault</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ByteSimpleTypePattern-summary" href=
"#pattern-ByteSimpleTypePattern" id=
"pattern-ByteSimpleTypePattern-summary">pattern-ByteSimpleTypePattern</a></td>
<td rowspan="1" colspan="1">
.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:byte')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="pattern-ChoiceChoice-summary"
href="#pattern-ChoiceChoice" id=
"pattern-ChoiceChoice-summary">pattern-ChoiceChoice</a></td>
<td rowspan="1" colspan="1">.//xs:choice/xs:choice/(.)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="pattern-ChoiceElement-summary"
href="#pattern-ChoiceElement" id=
"pattern-ChoiceElement-summary">pattern-ChoiceElement</a></td>
<td rowspan="1" colspan="1">.//xs:choice/xs:element/(.)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ChoiceMaxOccursFinite-summary" href=
"#pattern-ChoiceMaxOccursFinite" id=
"pattern-ChoiceMaxOccursFinite-summary">pattern-ChoiceMaxOccursFinite</a></td>
<td rowspan="1" colspan="1">.//xs:choice[@maxOccurs and
not(@maxOccurs = '0' or @maxOccurs = '1' or @maxOccurs =
'unbounded')]/ (@maxOccurs)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ChoiceMaxOccursUnbounded-summary" href=
"#pattern-ChoiceMaxOccursUnbounded" id=
"pattern-ChoiceMaxOccursUnbounded-summary">pattern-ChoiceMaxOccursUnbounded</a></td>
<td rowspan="1" colspan="1">.//xs:choice[@maxOccurs = 'unbounded']/
(@maxOccurs)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ChoiceMinOccurs0-summary" href="#pattern-ChoiceMinOccurs0"
id=
"pattern-ChoiceMinOccurs0-summary">pattern-ChoiceMinOccurs0</a></td>
<td rowspan="1" colspan="1">.//xs:choice[@minOccurs='0']/
(@minOccurs)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ChoiceMinOccursFinite-summary" href=
"#pattern-ChoiceMinOccursFinite" id=
"pattern-ChoiceMinOccursFinite-summary">pattern-ChoiceMinOccursFinite</a></td>
<td rowspan="1" colspan="1">.//xs:choice[@minOccurs and
not(@minOccurs = '0' or @minOccurs = '1')]/ (@minOccurs)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ChoiceSequence-summary" href="#pattern-ChoiceSequence" id=
"pattern-ChoiceSequence-summary">pattern-ChoiceSequence</a></td>
<td rowspan="1" colspan="1">.//xs:choice/xs:sequence/(.)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ComplexContentExtensionAnyAttribute-summary" href=
"#pattern-ComplexContentExtensionAnyAttribute" id=
"pattern-ComplexContentExtensionAnyAttribute-summary">pattern-ComplexContentExtensionAnyAttribute</a></td>
<td rowspan="1" colspan="1">
.//xs:complexType/xs:complexContent/xs:extension/xs:anyAttribute/(.,
@namespace, @processContents)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ComplexContentRestrictionAnyAttribute-summary" href=
"#pattern-ComplexContentRestrictionAnyAttribute" id=
"pattern-ComplexContentRestrictionAnyAttribute-summary">pattern-ComplexContentRestrictionAnyAttribute</a></td>
<td rowspan="1" colspan="1">
.//xs:complexType/xs:complexContent/xs:restriction/xs:anyAttribute/(.,
@namespace, @processContents)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ComplexTypeAll-summary" href="#pattern-ComplexTypeAll" id=
"pattern-ComplexTypeAll-summary">pattern-ComplexTypeAll</a></td>
<td rowspan="1" colspan="1">.//xs:complexType/xs:all/ (.,
xs:element/(., @name))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ComplexTypeAnyAttribute-summary" href=
"#pattern-ComplexTypeAnyAttribute" id=
"pattern-ComplexTypeAnyAttribute-summary">pattern-ComplexTypeAnyAttribute</a></td>
<td rowspan="1" colspan="1">.//xs:complexType/xs:anyAttribute</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ComplexTypeAttributeGroupExtension-summary" href=
"#pattern-ComplexTypeAttributeGroupExtension" id=
"pattern-ComplexTypeAttributeGroupExtension-summary">pattern-ComplexTypeAttributeGroupExtension</a></td>
<td rowspan="1" colspan="1">
.//xs:complexType/xs:complexContent[xs:extension[@base]/xs:attributeGroup]/
(., xs:extension/ (., @base, xs:attributeGroup))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ComplexTypeAttributeRestriction-summary" href=
"#pattern-ComplexTypeAttributeRestriction" id=
"pattern-ComplexTypeAttributeRestriction-summary">pattern-ComplexTypeAttributeRestriction</a></td>
<td rowspan="1" colspan="1">
.//xs:complexType/xs:complexContent[xs:restriction[@base]/xs:attribute]/
(., xs:restriction/(., @base, xs:attribute/(., @name)))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ComplexTypeChoice-summary" href=
"#pattern-ComplexTypeChoice" id=
"pattern-ComplexTypeChoice-summary">pattern-ComplexTypeChoice</a></td>
<td rowspan="1" colspan="1">.//xs:complexType/xs:choice/ (.,
xs:element/(., @name))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ComplexTypeChoiceAny-summary" href=
"#pattern-ComplexTypeChoiceAny" id=
"pattern-ComplexTypeChoiceAny-summary">pattern-ComplexTypeChoiceAny</a></td>
<td rowspan="1" colspan="1">.//xs:complexType/xs:choice/xs:any/(.,
@namespace, @processContents, @maxOccurs, @minOccurs)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ComplexTypeChoiceExtension-summary" href=
"#pattern-ComplexTypeChoiceExtension" id=
"pattern-ComplexTypeChoiceExtension-summary">pattern-ComplexTypeChoiceExtension</a></td>
<td rowspan="1" colspan="1">
.//xs:complexType/xs:complexContent[xs:extension[@base]/xs:choice]/
(., xs:extension/ (., @base, xs:choice/(., xs:element/(.,
@name))))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ComplexTypeExtensionAnnotationOnly-summary" href=
"#pattern-ComplexTypeExtensionAnnotationOnly" id=
"pattern-ComplexTypeExtensionAnnotationOnly-summary">pattern-ComplexTypeExtensionAnnotationOnly</a></td>
<td rowspan="1" colspan="1">
.//xs:complexType/xs:complexContent/xs:extension[@base]/xs:annotation[not(preceding-sibling::*)
and not(following-sibling::*)]/ (../(., @base), ../../(.))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ComplexTypeFinal-summary" href="#pattern-ComplexTypeFinal"
id=
"pattern-ComplexTypeFinal-summary">pattern-ComplexTypeFinal</a></td>
<td rowspan="1" colspan="1">.//xs:complexType[@final]/(.,
@final)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ComplexTypeOnlyAttributeGroup-summary" href=
"#pattern-ComplexTypeOnlyAttributeGroup" id=
"pattern-ComplexTypeOnlyAttributeGroup-summary">pattern-ComplexTypeOnlyAttributeGroup</a></td>
<td rowspan="1" colspan="1">
.//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)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ComplexTypeOnlyAttributes-summary" href=
"#pattern-ComplexTypeOnlyAttributes" id=
"pattern-ComplexTypeOnlyAttributes-summary">pattern-ComplexTypeOnlyAttributes</a></td>
<td rowspan="1" colspan="1">
.//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)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ComplexTypeSequenceChoice-summary" href=
"#pattern-ComplexTypeSequenceChoice" id=
"pattern-ComplexTypeSequenceChoice-summary">pattern-ComplexTypeSequenceChoice</a></td>
<td rowspan="1" colspan="1">
.//xs:complexType/xs:sequence/xs:choice/ (., xs:element/(.,
@name))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ComplexTypeSequenceChoiceAny-summary" href=
"#pattern-ComplexTypeSequenceChoiceAny" id=
"pattern-ComplexTypeSequenceChoiceAny-summary">pattern-ComplexTypeSequenceChoiceAny</a></td>
<td rowspan="1" colspan="1">
.//xs:complexType/xs:sequence/xs:choice/xs:any/(., @namespace,
@processContents, @maxOccurs, @minOccurs)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ComplexTypeSequenceRestriction-summary" href=
"#pattern-ComplexTypeSequenceRestriction" id=
"pattern-ComplexTypeSequenceRestriction-summary">pattern-ComplexTypeSequenceRestriction</a></td>
<td rowspan="1" colspan="1">
.//xs:complexType/xs:complexContent[xs:restriction[@base]/xs:sequence]/
(., xs:restriction/(., @base, xs:sequence))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="pattern-DateAttribute-summary"
href="#pattern-DateAttribute" id=
"pattern-DateAttribute-summary">pattern-DateAttribute</a></td>
<td rowspan="1" colspan="1">
.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:date')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="pattern-DateElement-summary"
href="#pattern-DateElement" id=
"pattern-DateElement-summary">pattern-DateElement</a></td>
<td rowspan="1" colspan="1">.//xs:element/@type[resolve-QName(.,..)
= xs:QName('xs:date')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-DateSimpleTypePattern-summary" href=
"#pattern-DateSimpleTypePattern" id=
"pattern-DateSimpleTypePattern-summary">pattern-DateSimpleTypePattern</a></td>
<td rowspan="1" colspan="1">
.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:date')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-DecimalAttribute-summary" href="#pattern-DecimalAttribute"
id=
"pattern-DecimalAttribute-summary">pattern-DecimalAttribute</a></td>
<td rowspan="1" colspan="1">
.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:decimal')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-DecimalElement-summary" href="#pattern-DecimalElement" id=
"pattern-DecimalElement-summary">pattern-DecimalElement</a></td>
<td rowspan="1" colspan="1">.//xs:element/@type[resolve-QName(.,..)
= xs:QName('xs:decimal')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-DecimalEnumerationType-summary" href=
"#pattern-DecimalEnumerationType" id=
"pattern-DecimalEnumerationType-summary">pattern-DecimalEnumerationType</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:decimal') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-DecimalSimpleTypeFractionDigits-summary" href=
"#pattern-DecimalSimpleTypeFractionDigits" id=
"pattern-DecimalSimpleTypeFractionDigits-summary">pattern-DecimalSimpleTypeFractionDigits</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:decimal') and xs:fractionDigits/@value]/ (., @base,
xs:fractionDigits/(., @value))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-DecimalSimpleTypePattern-summary" href=
"#pattern-DecimalSimpleTypePattern" id=
"pattern-DecimalSimpleTypePattern-summary">pattern-DecimalSimpleTypePattern</a></td>
<td rowspan="1" colspan="1">
.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:decimal')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-DecimalSimpleTypeTotalDigits-summary" href=
"#pattern-DecimalSimpleTypeTotalDigits" id=
"pattern-DecimalSimpleTypeTotalDigits-summary">pattern-DecimalSimpleTypeTotalDigits</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:decimal') and xs:totalDigits/@value]/ (., @base,
xs:totalDigits/(., @value))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-DoubleEnumerationType-summary" href=
"#pattern-DoubleEnumerationType" id=
"pattern-DoubleEnumerationType-summary">pattern-DoubleEnumerationType</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:double') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-DoubleSimpleTypePattern-summary" href=
"#pattern-DoubleSimpleTypePattern" id=
"pattern-DoubleSimpleTypePattern-summary">pattern-DoubleSimpleTypePattern</a></td>
<td rowspan="1" colspan="1">
.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:double')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-DurationAttribute-summary" href=
"#pattern-DurationAttribute" id=
"pattern-DurationAttribute-summary">pattern-DurationAttribute</a></td>
<td rowspan="1" colspan="1">
.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:duration')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-DurationElement-summary" href="#pattern-DurationElement"
id=
"pattern-DurationElement-summary">pattern-DurationElement</a></td>
<td rowspan="1" colspan="1">.//xs:element/@type[resolve-QName(.,..)
= xs:QName('xs:duration')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ENTITIESAttribute-summary" href=
"#pattern-ENTITIESAttribute" id=
"pattern-ENTITIESAttribute-summary">pattern-ENTITIESAttribute</a></td>
<td rowspan="1" colspan="1">
.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:ENTITIES')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ENTITIESElement-summary" href="#pattern-ENTITIESElement"
id=
"pattern-ENTITIESElement-summary">pattern-ENTITIESElement</a></td>
<td rowspan="1" colspan="1">.//xs:element/@type[resolve-QName(.,..)
= xs:QName('xs:ENTITIES')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ENTITYAttribute-summary" href="#pattern-ENTITYAttribute"
id=
"pattern-ENTITYAttribute-summary">pattern-ENTITYAttribute</a></td>
<td rowspan="1" colspan="1">
.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:ENTITY')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="pattern-ENTITYElement-summary"
href="#pattern-ENTITYElement" id=
"pattern-ENTITYElement-summary">pattern-ENTITYElement</a></td>
<td rowspan="1" colspan="1">.//xs:element/@type[resolve-QName(.,..)
= xs:QName('xs:ENTITY')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ElementDefault-summary" href="#pattern-ElementDefault" id=
"pattern-ElementDefault-summary">pattern-ElementDefault</a></td>
<td rowspan="1" colspan="1">.//xs:element/ (@default)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ElementDefaultAnyType-summary" href=
"#pattern-ElementDefaultAnyType" id=
"pattern-ElementDefaultAnyType-summary">pattern-ElementDefaultAnyType</a></td>
<td rowspan="1" colspan="1">.//xs:element[@name and not(@type) and
./not(xs:simpleType or xs:complexType or xs:unique or xs:key or
xs:keyref)]/(.)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="pattern-ElementFixed-summary"
href="#pattern-ElementFixed" id=
"pattern-ElementFixed-summary">pattern-ElementFixed</a></td>
<td rowspan="1" colspan="1">.//xs:element[@fixed] / (@fixed)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ElementFormUnqualified-summary" href=
"#pattern-ElementFormUnqualified" id=
"pattern-ElementFormUnqualified-summary">pattern-ElementFormUnqualified</a></td>
<td rowspan="1" colspan="1">.//xs:element[@form='unqualified']/
(@form)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="pattern-ElementGroup-summary"
href="#pattern-ElementGroup" id=
"pattern-ElementGroup-summary">pattern-ElementGroup</a></td>
<td rowspan="1" colspan="1">
.//xs:group/(.,@name,@ref,@minOccurs,@maxOccurs,xs:sequence,xs:all,xs:choice)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="pattern-ElementKey-summary"
href="#pattern-ElementKey" id=
"pattern-ElementKey-summary">pattern-ElementKey</a></td>
<td rowspan="1" colspan="1">.//xs:element/xs:key[xs:selector and
xs:field]/(., xs:selector, xs:selector/(@xpath), xs:field,
xs:field/(@xpath))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ElementMaxOccursFinite-summary" href=
"#pattern-ElementMaxOccursFinite" id=
"pattern-ElementMaxOccursFinite-summary">pattern-ElementMaxOccursFinite</a></td>
<td rowspan="1" colspan="1">.//xs:element[@maxOccurs and
not(@maxOccurs = '0' or @maxOccurs = '1' or @maxOccurs =
'unbounded')]/ (@maxOccurs)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ElementMinOccurs0MaxOccursFinite-summary" href=
"#pattern-ElementMinOccurs0MaxOccursFinite" id=
"pattern-ElementMinOccurs0MaxOccursFinite-summary">pattern-ElementMinOccurs0MaxOccursFinite</a></td>
<td rowspan="1" colspan="1">.//xs:element[@minOccurs = '0' and
@maxOccurs and not(@maxOccurs = '0' or @maxOccurs = '1' or
@maxOccurs = 'unbounded')]/ (@minOccurs, @maxOccurs)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ElementMinOccursFinite-summary" href=
"#pattern-ElementMinOccursFinite" id=
"pattern-ElementMinOccursFinite-summary">pattern-ElementMinOccursFinite</a></td>
<td rowspan="1" colspan="1">.//xs:element[xs:integer(@minOccurs) gt
1]/ (@minOccurs, @maxOccurs)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ElementReferenceUnqualified-summary" href=
"#pattern-ElementReferenceUnqualified" id=
"pattern-ElementReferenceUnqualified-summary">pattern-ElementReferenceUnqualified</a></td>
<td rowspan="1" colspan="1">.//xs:element[@ref and
not(contains(@ref, ':'))]/ (., @ref)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ElementTypeDefaultNamespace-summary" href=
"#pattern-ElementTypeDefaultNamespace" id=
"pattern-ElementTypeDefaultNamespace-summary">pattern-ElementTypeDefaultNamespace</a></td>
<td rowspan="1" colspan="1">.//xs:element[@name and @type and
not(contains(@type, ':'))]/ (@name, @type)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ElementTypeReferenceUnqualified-summary" href=
"#pattern-ElementTypeReferenceUnqualified" id=
"pattern-ElementTypeReferenceUnqualified-summary">pattern-ElementTypeReferenceUnqualified</a></td>
<td rowspan="1" colspan="1">.//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)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ExtendedSequenceLax-summary" href=
"#pattern-ExtendedSequenceLax" id=
"pattern-ExtendedSequenceLax-summary">pattern-ExtendedSequenceLax</a></td>
<td rowspan="1" colspan="1">.//xs:sequence/xs:any[@processContents
= 'lax' and (not (@minOccurs) or @minOccurs = '1' or @minOccurs =
'0') and (not (@maxOccurs) or @maxOccurs = '1' or
@maxOccurs='unbounded') and @namespace = '##targetNamespace']/ (.,
@processContents, @minOccurs, @maxOccurs, @namespace)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ExtendedSequenceLaxAny-summary" href=
"#pattern-ExtendedSequenceLaxAny" id=
"pattern-ExtendedSequenceLaxAny-summary">pattern-ExtendedSequenceLaxAny</a></td>
<td rowspan="1" colspan="1">.//xs:sequence/xs:any[@processContents
= 'lax' and (not (@minOccurs) or @minOccurs = '1' or @minOccurs =
'0') and (not (@maxOccurs) or @maxOccurs = '1' or
@maxOccurs='unbounded') and (not(@namespace) or @namespace =
'##any')]/ (., @processContents, @minOccurs, @maxOccurs,
@namespace)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ExtendedSequenceLaxOther-summary" href=
"#pattern-ExtendedSequenceLaxOther" id=
"pattern-ExtendedSequenceLaxOther-summary">pattern-ExtendedSequenceLaxOther</a></td>
<td rowspan="1" colspan="1">.//xs:sequence/xs:any[@processContents
= 'lax' 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)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ExtendedSequenceNamespacedFinite-summary" href=
"#pattern-ExtendedSequenceNamespacedFinite" id=
"pattern-ExtendedSequenceNamespacedFinite-summary">pattern-ExtendedSequenceNamespacedFinite</a></td>
<td rowspan="1" colspan="1">.//xs:sequence/xs:any[@processContents
and @namespace and @maxOccurs and (not (@minOccurs) or @minOccurs =
'1' or @minOccurs = '0') and (not (@maxOccurs = '1') ) and (not
(@maxOccurs='unbounded')) and (not (@namespace =
'##targetNamespace')) and (not (@namespace = '##any')) and (not
(@namespace = '##local')) and (not (@namespace = '##other'))]/ (.,
@processContents, @minOccurs, @maxOccurs, @namespace)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ExtendedSequenceSkip-summary" href=
"#pattern-ExtendedSequenceSkip" id=
"pattern-ExtendedSequenceSkip-summary">pattern-ExtendedSequenceSkip</a></td>
<td rowspan="1" colspan="1">.//xs:sequence/xs:any[@processContents
= 'skip' and (not (@minOccurs) or @minOccurs = '1' or @minOccurs =
'0') and (not (@maxOccurs) or @maxOccurs = '1' or
@maxOccurs='unbounded') and @namespace = '##targetNamespace']/ (.,
@processContents, @minOccurs, @maxOccurs, @namespace)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ExtendedSequenceSkipAny-summary" href=
"#pattern-ExtendedSequenceSkipAny" id=
"pattern-ExtendedSequenceSkipAny-summary">pattern-ExtendedSequenceSkipAny</a></td>
<td rowspan="1" colspan="1">.//xs:sequence/xs:any[@processContents
= 'skip' and (not (@minOccurs) or @minOccurs = '1' or @minOccurs =
'0') and (not (@maxOccurs) or @maxOccurs = '1' or
@maxOccurs='unbounded') and (not(@namespace) or @namespace =
'##any')]/ (., @processContents, @minOccurs, @maxOccurs,
@namespace)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ExtendedSequenceSkipOther-summary" href=
"#pattern-ExtendedSequenceSkipOther" id=
"pattern-ExtendedSequenceSkipOther-summary">pattern-ExtendedSequenceSkipOther</a></td>
<td rowspan="1" colspan="1">.//xs:sequence/xs:any[@processContents
= 'skip' 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)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ExtendedSequenceStrict-summary" href=
"#pattern-ExtendedSequenceStrict" id=
"pattern-ExtendedSequenceStrict-summary">pattern-ExtendedSequenceStrict</a></td>
<td rowspan="1" colspan="1">
.//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 = '##targetNamespace']/ (.,
@processContents, @minOccurs, @maxOccurs, @namespace)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ExtendedSequenceStrictAny-summary" href=
"#pattern-ExtendedSequenceStrictAny" id=
"pattern-ExtendedSequenceStrictAny-summary">pattern-ExtendedSequenceStrictAny</a></td>
<td rowspan="1" colspan="1">
.//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 (not(@namespace) or @namespace =
'##any')]/ (., @processContents, @minOccurs, @maxOccurs,
@namespace)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ExtendedSequenceStrictOther-summary" href=
"#pattern-ExtendedSequenceStrictOther" id=
"pattern-ExtendedSequenceStrictOther-summary">pattern-ExtendedSequenceStrictOther</a></td>
<td rowspan="1" colspan="1">
.//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)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ExtendedSimpleContent-summary" href=
"#pattern-ExtendedSimpleContent" id=
"pattern-ExtendedSimpleContent-summary">pattern-ExtendedSimpleContent</a></td>
<td rowspan="1" colspan="1">
.//xs:complexType/xs:simpleContent/xs:extension[@base]/ (.., .,
./@base, xs:attribute/ (., @name))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="pattern-FinalDefault-summary"
href="#pattern-FinalDefault" id=
"pattern-FinalDefault-summary">pattern-FinalDefault</a></td>
<td rowspan="1" colspan="1">./@finalDefault</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-FloatAttribute-summary" href="#pattern-FloatAttribute" id=
"pattern-FloatAttribute-summary">pattern-FloatAttribute</a></td>
<td rowspan="1" colspan="1">
.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:float')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="pattern-FloatElement-summary"
href="#pattern-FloatElement" id=
"pattern-FloatElement-summary">pattern-FloatElement</a></td>
<td rowspan="1" colspan="1">.//xs:element/@type[resolve-QName(.,..)
= xs:QName('xs:float')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-FloatEnumerationType-summary" href=
"#pattern-FloatEnumerationType" id=
"pattern-FloatEnumerationType-summary">pattern-FloatEnumerationType</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:float') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-FloatSimpleTypePattern-summary" href=
"#pattern-FloatSimpleTypePattern" id=
"pattern-FloatSimpleTypePattern-summary">pattern-FloatSimpleTypePattern</a></td>
<td rowspan="1" colspan="1">
.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:float')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="pattern-GDayAttribute-summary"
href="#pattern-GDayAttribute" id=
"pattern-GDayAttribute-summary">pattern-GDayAttribute</a></td>
<td rowspan="1" colspan="1">
.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:gDay')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="pattern-GDayElement-summary"
href="#pattern-GDayElement" id=
"pattern-GDayElement-summary">pattern-GDayElement</a></td>
<td rowspan="1" colspan="1">.//xs:element/@type[resolve-QName(.,..)
= xs:QName('xs:gDay')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-GDaySimpleTypePattern-summary" href=
"#pattern-GDaySimpleTypePattern" id=
"pattern-GDaySimpleTypePattern-summary">pattern-GDaySimpleTypePattern</a></td>
<td rowspan="1" colspan="1">
.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:gDay')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-GMonthAttribute-summary" href="#pattern-GMonthAttribute"
id=
"pattern-GMonthAttribute-summary">pattern-GMonthAttribute</a></td>
<td rowspan="1" colspan="1">
.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:gMonth')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-GMonthDayAttribute-summary" href=
"#pattern-GMonthDayAttribute" id=
"pattern-GMonthDayAttribute-summary">pattern-GMonthDayAttribute</a></td>
<td rowspan="1" colspan="1">
.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:gMonthDay')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-GMonthDayElement-summary" href="#pattern-GMonthDayElement"
id=
"pattern-GMonthDayElement-summary">pattern-GMonthDayElement</a></td>
<td rowspan="1" colspan="1">.//xs:element/@type[resolve-QName(.,..)
= xs:QName('xs:gMonthDay')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-GMonthDaySimpleTypePattern-summary" href=
"#pattern-GMonthDaySimpleTypePattern" id=
"pattern-GMonthDaySimpleTypePattern-summary">pattern-GMonthDaySimpleTypePattern</a></td>
<td rowspan="1" colspan="1">
.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:gMonthDay')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="pattern-GMonthElement-summary"
href="#pattern-GMonthElement" id=
"pattern-GMonthElement-summary">pattern-GMonthElement</a></td>
<td rowspan="1" colspan="1">.//xs:element/@type[resolve-QName(.,..)
= xs:QName('xs:gMonth')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-GMonthSimpleTypePattern-summary" href=
"#pattern-GMonthSimpleTypePattern" id=
"pattern-GMonthSimpleTypePattern-summary">pattern-GMonthSimpleTypePattern</a></td>
<td rowspan="1" colspan="1">
.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:gMonth')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-GYearAttribute-summary" href="#pattern-GYearAttribute" id=
"pattern-GYearAttribute-summary">pattern-GYearAttribute</a></td>
<td rowspan="1" colspan="1">
.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:gYear')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="pattern-GYearElement-summary"
href="#pattern-GYearElement" id=
"pattern-GYearElement-summary">pattern-GYearElement</a></td>
<td rowspan="1" colspan="1">.//xs:element/@type[resolve-QName(.,..)
= xs:QName('xs:gYear')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-GYearMonthAttribute-summary" href=
"#pattern-GYearMonthAttribute" id=
"pattern-GYearMonthAttribute-summary">pattern-GYearMonthAttribute</a></td>
<td rowspan="1" colspan="1">
.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:gYearMonth')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-GYearMonthElement-summary" href=
"#pattern-GYearMonthElement" id=
"pattern-GYearMonthElement-summary">pattern-GYearMonthElement</a></td>
<td rowspan="1" colspan="1">.//xs:element/@type[resolve-QName(.,..)
= xs:QName('xs:gYearMonth')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-GYearMonthSimpleTypePattern-summary" href=
"#pattern-GYearMonthSimpleTypePattern" id=
"pattern-GYearMonthSimpleTypePattern-summary">pattern-GYearMonthSimpleTypePattern</a></td>
<td rowspan="1" colspan="1">
.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:gYearMonth')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-GYearSimpleTypePattern-summary" href=
"#pattern-GYearSimpleTypePattern" id=
"pattern-GYearSimpleTypePattern-summary">pattern-GYearSimpleTypePattern</a></td>
<td rowspan="1" colspan="1">
.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:gYear')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-GlobalAttributeSimpleType-summary" href=
"#pattern-GlobalAttributeSimpleType" id=
"pattern-GlobalAttributeSimpleType-summary">pattern-GlobalAttributeSimpleType</a></td>
<td rowspan="1" colspan="1">./xs:attribute/xs:simpleType/(../(.,
@name), .., ., descendant::*, descendant::*/@value,
descendant::*/@base)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-GlobalAttributeUnqualifiedType-summary" href=
"#pattern-GlobalAttributeUnqualifiedType" id=
"pattern-GlobalAttributeUnqualifiedType-summary">pattern-GlobalAttributeUnqualifiedType</a></td>
<td rowspan="1" colspan="1">./xs:attribute[@name and @type and
not(contains(@type, ':'))]/ (., @name, @type)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-GlobalComplexTypeAbstract-summary" href=
"#pattern-GlobalComplexTypeAbstract" id=
"pattern-GlobalComplexTypeAbstract-summary">pattern-GlobalComplexTypeAbstract</a></td>
<td rowspan="1" colspan="1">./xs:complexType[@abstract='true']/
(@abstract)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-GlobalComplexTypeBlock-summary" href=
"#pattern-GlobalComplexTypeBlock" id=
"pattern-GlobalComplexTypeBlock-summary">pattern-GlobalComplexTypeBlock</a></td>
<td rowspan="1" colspan="1">./xs:complexType/ (@block)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-GlobalComplexTypeEmptyExtension-summary" href=
"#pattern-GlobalComplexTypeEmptyExtension" id=
"pattern-GlobalComplexTypeEmptyExtension-summary">pattern-GlobalComplexTypeEmptyExtension</a></td>
<td rowspan="1" colspan="1">
./xs:complexType[@name]/xs:complexContent[xs:extension[@base]/not(*)]/
(../../(., @name), .., ., xs:extension/(., @base))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-GlobalElementAbstract-summary" href=
"#pattern-GlobalElementAbstract" id=
"pattern-GlobalElementAbstract-summary">pattern-GlobalElementAbstract</a></td>
<td rowspan="1" colspan="1">./xs:element[@abstract='true']/
(@abstract)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-GlobalElementAll-summary" href="#pattern-GlobalElementAll"
id=
"pattern-GlobalElementAll-summary">pattern-GlobalElementAll</a></td>
<td rowspan="1" colspan="1">
./xs:element[@name]/xs:complexType/xs:all[xs:element]/ (../../(.,
@name), .., ., xs:element/(., @name))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-GlobalElementBlock-summary" href=
"#pattern-GlobalElementBlock" id=
"pattern-GlobalElementBlock-summary">pattern-GlobalElementBlock</a></td>
<td rowspan="1" colspan="1">./xs:element/ (@block)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-GlobalElementChoice-summary" href=
"#pattern-GlobalElementChoice" id=
"pattern-GlobalElementChoice-summary">pattern-GlobalElementChoice</a></td>
<td rowspan="1" colspan="1">
./xs:element[@name]/xs:complexType/xs:choice[xs:element]/
(../../(., @name), .., ., xs:element/(., @name))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-GlobalElementComplexTypeEmptyExtension-summary" href=
"#pattern-GlobalElementComplexTypeEmptyExtension" id=
"pattern-GlobalElementComplexTypeEmptyExtension-summary">pattern-GlobalElementComplexTypeEmptyExtension</a></td>
<td rowspan="1" colspan="1">
./xs:element[@name]/xs:complexType/xs:complexContent[xs:extension[@base]/not(*)]/
(../../(., @name), .., ., xs:extension/(., @base))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-GlobalElementComplexTypeSequenceExtension-summary" href=
"#pattern-GlobalElementComplexTypeSequenceExtension" id=
"pattern-GlobalElementComplexTypeSequenceExtension-summary">pattern-GlobalElementComplexTypeSequenceExtension</a></td>
<td rowspan="1" colspan="1">
./xs:element[@name]/xs:complexType/xs:complexContent[xs:extension[@base]/xs:sequence]/
(../../(., @name), .., ., xs:extension/(., @base, xs:sequence/(.,
xs:element/(., @name), xs:attribute/(., @name))))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-GlobalElementFinal-summary" href=
"#pattern-GlobalElementFinal" id=
"pattern-GlobalElementFinal-summary">pattern-GlobalElementFinal</a></td>
<td rowspan="1" colspan="1">./xs:element/ (@final)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-GlobalElementSequenceAny-summary" href=
"#pattern-GlobalElementSequenceAny" id=
"pattern-GlobalElementSequenceAny-summary">pattern-GlobalElementSequenceAny</a></td>
<td rowspan="1" colspan="1">
./xs:element[@name]/xs:complexType/xs:sequence[xs:any and
not(xs:element)]/ (../../(., @name))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-GlobalElementSimpleType-summary" href=
"#pattern-GlobalElementSimpleType" id=
"pattern-GlobalElementSimpleType-summary">pattern-GlobalElementSimpleType</a></td>
<td rowspan="1" colspan="1">./xs:element[@name]/xs:simpleType/
(../(., @name), .)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-GlobalElementUnqualifiedType-summary" href=
"#pattern-GlobalElementUnqualifiedType" id=
"pattern-GlobalElementUnqualifiedType-summary">pattern-GlobalElementUnqualifiedType</a></td>
<td rowspan="1" colspan="1">./xs:element[@name and @type and
not(contains(@type, ':'))]/ (., @name, @type)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-HexBinaryAttribute-summary" href=
"#pattern-HexBinaryAttribute" id=
"pattern-HexBinaryAttribute-summary">pattern-HexBinaryAttribute</a></td>
<td rowspan="1" colspan="1">
.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:hexBinary')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-HexBinaryElement-summary" href="#pattern-HexBinaryElement"
id=
"pattern-HexBinaryElement-summary">pattern-HexBinaryElement</a></td>
<td rowspan="1" colspan="1">.//xs:element/@type[resolve-QName(.,..)
= xs:QName('xs:hexBinary')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="pattern-IDAttribute-summary"
href="#pattern-IDAttribute" id=
"pattern-IDAttribute-summary">pattern-IDAttribute</a></td>
<td rowspan="1" colspan="1">
.//xs:attribute/@type[resolve-QName(.,..) = xs:QName('xs:ID')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="pattern-IDElement-summary"
href="#pattern-IDElement" id=
"pattern-IDElement-summary">pattern-IDElement</a></td>
<td rowspan="1" colspan="1">.//xs:element/@type[resolve-QName(.,..)
= xs:QName('xs:ID')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-IDREFAttribute-summary" href="#pattern-IDREFAttribute" id=
"pattern-IDREFAttribute-summary">pattern-IDREFAttribute</a></td>
<td rowspan="1" colspan="1">
.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:IDREF')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="pattern-IDREFElement-summary"
href="#pattern-IDREFElement" id=
"pattern-IDREFElement-summary">pattern-IDREFElement</a></td>
<td rowspan="1" colspan="1">.//xs:element/@type[resolve-QName(.,..)
= xs:QName('xs:IDREF')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-IDREFSAttribute-summary" href="#pattern-IDREFSAttribute"
id=
"pattern-IDREFSAttribute-summary">pattern-IDREFSAttribute</a></td>
<td rowspan="1" colspan="1">
.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:IDREFS')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="pattern-IDREFSElement-summary"
href="#pattern-IDREFSElement" id=
"pattern-IDREFSElement-summary">pattern-IDREFSElement</a></td>
<td rowspan="1" colspan="1">.//xs:element/@type[resolve-QName(.,..)
= xs:QName('xs:IDREFS')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ImportSchemaNamespace-summary" href=
"#pattern-ImportSchemaNamespace" id=
"pattern-ImportSchemaNamespace-summary">pattern-ImportSchemaNamespace</a></td>
<td rowspan="1" colspan="1">./xs:import[not(@schemaLocation) and
@namespace = 'http://www.w3.org/2001/XMLSchema']/ (.,
@namespace)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-IntEnumerationType-summary" href=
"#pattern-IntEnumerationType" id=
"pattern-IntEnumerationType-summary">pattern-IntEnumerationType</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:int') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-IntSimpleTypePattern-summary" href=
"#pattern-IntSimpleTypePattern" id=
"pattern-IntSimpleTypePattern-summary">pattern-IntSimpleTypePattern</a></td>
<td rowspan="1" colspan="1">
.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:int')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-IntegerAttribute-summary" href="#pattern-IntegerAttribute"
id=
"pattern-IntegerAttribute-summary">pattern-IntegerAttribute</a></td>
<td rowspan="1" colspan="1">
.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:integer')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-IntegerElement-summary" href="#pattern-IntegerElement" id=
"pattern-IntegerElement-summary">pattern-IntegerElement</a></td>
<td rowspan="1" colspan="1">.//xs:element/@type[resolve-QName(.,..)
= xs:QName('xs:integer')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-IntegerEnumerationType-summary" href=
"#pattern-IntegerEnumerationType" id=
"pattern-IntegerEnumerationType-summary">pattern-IntegerEnumerationType</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:integer') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-IntegerSimpleTypePattern-summary" href=
"#pattern-IntegerSimpleTypePattern" id=
"pattern-IntegerSimpleTypePattern-summary">pattern-IntegerSimpleTypePattern</a></td>
<td rowspan="1" colspan="1">
.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:integer')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-LanguageAttribute-summary" href=
"#pattern-LanguageAttribute" id=
"pattern-LanguageAttribute-summary">pattern-LanguageAttribute</a></td>
<td rowspan="1" colspan="1">
.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:language')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-LanguageElement-summary" href="#pattern-LanguageElement"
id=
"pattern-LanguageElement-summary">pattern-LanguageElement</a></td>
<td rowspan="1" colspan="1">.//xs:element/@type[resolve-QName(.,..)
= xs:QName('xs:language')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-LanguageEnumerationType-summary" href=
"#pattern-LanguageEnumerationType" id=
"pattern-LanguageEnumerationType-summary">pattern-LanguageEnumerationType</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:language') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="pattern-List-summary" href=
"#pattern-List" id="pattern-List-summary">pattern-List</a></td>
<td rowspan="1" colspan="1">.//xs:list[@itemType]/ (.,
@itemType)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-LocalAttributeSimpleType-summary" href=
"#pattern-LocalAttributeSimpleType" id=
"pattern-LocalAttributeSimpleType-summary">pattern-LocalAttributeSimpleType</a></td>
<td rowspan="1" colspan="1">
.//xs:attribute[not(parent::xs:schema)]/xs:simpleType</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-LocalElementComplexTypeEmptyExtension-summary" href=
"#pattern-LocalElementComplexTypeEmptyExtension" id=
"pattern-LocalElementComplexTypeEmptyExtension-summary">pattern-LocalElementComplexTypeEmptyExtension</a></td>
<td rowspan="1" colspan="1">
.//xs:element[not(parent::xs:schema)]/xs:complexType[not(@name)]/xs:complexContent[xs:extension[@base]/not(*)]/
(../../(., @name), .., ., xs:extension/(., @base))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-LocalElementSimpleType-summary" href=
"#pattern-LocalElementSimpleType" id=
"pattern-LocalElementSimpleType-summary">pattern-LocalElementSimpleType</a></td>
<td rowspan="1" colspan="1">
.//xs:element[not(parent::xs:schema)]/xs:simpleType</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-LongEnumerationType-summary" href=
"#pattern-LongEnumerationType" id=
"pattern-LongEnumerationType-summary">pattern-LongEnumerationType</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:long') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-LongSimpleTypePattern-summary" href=
"#pattern-LongSimpleTypePattern" id=
"pattern-LongSimpleTypePattern-summary">pattern-LongSimpleTypePattern</a></td>
<td rowspan="1" colspan="1">
.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:long')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="pattern-MaxOccurs0-summary"
href="#pattern-MaxOccurs0" id=
"pattern-MaxOccurs0-summary">pattern-MaxOccurs0</a></td>
<td rowspan="1" colspan="1">.//xs:element[@maxOccurs='0']/(.,
@maxOccurs, @minOccurs)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-MixedComplexContent-summary" href=
"#pattern-MixedComplexContent" id=
"pattern-MixedComplexContent-summary">pattern-MixedComplexContent</a></td>
<td rowspan="1" colspan="1">.//xs:complexContent[@mixed = 'true']/
(@mixed)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-MixedContentType-summary" href="#pattern-MixedContentType"
id=
"pattern-MixedContentType-summary">pattern-MixedContentType</a></td>
<td rowspan="1" colspan="1">.//xs:complexType[@mixed = 'true']/
(@mixed)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-NMTOKENAttribute-summary" href="#pattern-NMTOKENAttribute"
id=
"pattern-NMTOKENAttribute-summary">pattern-NMTOKENAttribute</a></td>
<td rowspan="1" colspan="1">
.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:NMTOKEN')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-NMTOKENElement-summary" href="#pattern-NMTOKENElement" id=
"pattern-NMTOKENElement-summary">pattern-NMTOKENElement</a></td>
<td rowspan="1" colspan="1">.//xs:element/@type[resolve-QName(.,..)
= xs:QName('xs:NMTOKEN')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-NMTOKENEnumerationType-summary" href=
"#pattern-NMTOKENEnumerationType" id=
"pattern-NMTOKENEnumerationType-summary">pattern-NMTOKENEnumerationType</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:NMTOKEN') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-NMTOKENSAttribute-summary" href=
"#pattern-NMTOKENSAttribute" id=
"pattern-NMTOKENSAttribute-summary">pattern-NMTOKENSAttribute</a></td>
<td rowspan="1" colspan="1">
.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:NMTOKENS')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-NMTOKENSElement-summary" href="#pattern-NMTOKENSElement"
id=
"pattern-NMTOKENSElement-summary">pattern-NMTOKENSElement</a></td>
<td rowspan="1" colspan="1">.//xs:element/@type[resolve-QName(.,..)
= xs:QName('xs:NMTOKENS')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-NegativeIntegerAttribute-summary" href=
"#pattern-NegativeIntegerAttribute" id=
"pattern-NegativeIntegerAttribute-summary">pattern-NegativeIntegerAttribute</a></td>
<td rowspan="1" colspan="1">
.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:negativeInteger')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-NegativeIntegerElement-summary" href=
"#pattern-NegativeIntegerElement" id=
"pattern-NegativeIntegerElement-summary">pattern-NegativeIntegerElement</a></td>
<td rowspan="1" colspan="1">.//xs:element/@type[resolve-QName(.,..)
= xs:QName('xs:negativeInteger')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-NillableOptionalElement-summary" href=
"#pattern-NillableOptionalElement" id=
"pattern-NillableOptionalElement-summary">pattern-NillableOptionalElement</a></td>
<td rowspan="1" colspan="1">.//xs:element[@nillable = 'true' and
@minOccurs = '0']/ (@nillable, @minOccurs)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-NoTargetNamespace-summary" href=
"#pattern-NoTargetNamespace" id=
"pattern-NoTargetNamespace-summary">pattern-NoTargetNamespace</a></td>
<td rowspan="1" colspan="1">.[not(@targetNamespace)]/ (.)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-NonNegativeIntegerElement-summary" href=
"#pattern-NonNegativeIntegerElement" id=
"pattern-NonNegativeIntegerElement-summary">pattern-NonNegativeIntegerElement</a></td>
<td rowspan="1" colspan="1">.//xs:element/@type[resolve-QName(.,..)
= xs:QName('xs:nonNegativeInteger')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-NonNegativeIntegerEnumerationType-summary" href=
"#pattern-NonNegativeIntegerEnumerationType" id=
"pattern-NonNegativeIntegerEnumerationType-summary">pattern-NonNegativeIntegerEnumerationType</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:nonNegativeInteger') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-NonNegativeIntegerSimpleTypePattern-summary" href=
"#pattern-NonNegativeIntegerSimpleTypePattern" id=
"pattern-NonNegativeIntegerSimpleTypePattern-summary">pattern-NonNegativeIntegerSimpleTypePattern</a></td>
<td rowspan="1" colspan="1">
.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:nonNegativeInteger')]/xs:pattern[@value]/ (..,
../@base, ., @value)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-NonPositiveIntegerAttribute-summary" href=
"#pattern-NonPositiveIntegerAttribute" id=
"pattern-NonPositiveIntegerAttribute-summary">pattern-NonPositiveIntegerAttribute</a></td>
<td rowspan="1" colspan="1">
.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:nonPositiveInteger')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-NonPositiveIntegerElement-summary" href=
"#pattern-NonPositiveIntegerElement" id=
"pattern-NonPositiveIntegerElement-summary">pattern-NonPositiveIntegerElement</a></td>
<td rowspan="1" colspan="1">.//xs:element/@type[resolve-QName(.,..)
= xs:QName('xs:nonPositiveInteger')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-PositiveIntegerEnumerationType-summary" href=
"#pattern-PositiveIntegerEnumerationType" id=
"pattern-PositiveIntegerEnumerationType-summary">pattern-PositiveIntegerEnumerationType</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:positiveInteger') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-PositiveIntegerSimpleTypePattern-summary" href=
"#pattern-PositiveIntegerSimpleTypePattern" id=
"pattern-PositiveIntegerSimpleTypePattern-summary">pattern-PositiveIntegerSimpleTypePattern</a></td>
<td rowspan="1" colspan="1">
.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:positiveInteger')]/xs:pattern[@value]/ (.., ../@base,
., @value)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-PrecisionDecimal-summary" href="#pattern-PrecisionDecimal"
id=
"pattern-PrecisionDecimal-summary">pattern-PrecisionDecimal</a></td>
<td rowspan="1" colspan="1">.//xs:simpleType/xs:union[
xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:decimal')]/xs:totalDigits[@value ='16'] and
xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:double')] and
xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:string') and xs:enumeration/@value='NaN' and
xs:enumeration/@value='-INF' and not(xs:enumeration[3])] and
not(xs:simpleType[4] | xs:simpleType[@*]) ]/(., xs:simpleType/(.,
xs:restriction/(., @base, xs:totalDigits/(., @value),
xs:enumeration/(., @value))))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-QNameEnumerationType-summary" href=
"#pattern-QNameEnumerationType" id=
"pattern-QNameEnumerationType-summary">pattern-QNameEnumerationType</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:QName') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-QualifiedLocalAttributes-summary" href=
"#pattern-QualifiedLocalAttributes" id=
"pattern-QualifiedLocalAttributes-summary">pattern-QualifiedLocalAttributes</a></td>
<td rowspan="1" colspan="1">.[@attributeFormDefault = 'qualified']/
(@attributeFormDefault)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="pattern-Redefine-summary"
href="#pattern-Redefine" id=
"pattern-Redefine-summary">pattern-Redefine</a></td>
<td rowspan="1" colspan="1">.//xs:redefine[@schemaLocation] / (.,
@schemaLocation, child::*, child::*/@name, child::*/@base)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-RestrictedLength-summary" href="#pattern-RestrictedLength"
id=
"pattern-RestrictedLength-summary">pattern-RestrictedLength</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction/xs:length[@value]/(.., ../@base, .,
@value)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-RestrictedMaxExclusive-summary" href=
"#pattern-RestrictedMaxExclusive" id=
"pattern-RestrictedMaxExclusive-summary">pattern-RestrictedMaxExclusive</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction/xs:maxExclusive[@value]/(..,
../@base, ., @value)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-RestrictedMaxInclusive-summary" href=
"#pattern-RestrictedMaxInclusive" id=
"pattern-RestrictedMaxInclusive-summary">pattern-RestrictedMaxInclusive</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction/xs:maxInclusive[@value]/(..,
../@base, ., @value)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-RestrictedMaxLength-summary" href=
"#pattern-RestrictedMaxLength" id=
"pattern-RestrictedMaxLength-summary">pattern-RestrictedMaxLength</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction/xs:maxLength[@value]/(.., ../@base,
., @value)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-RestrictedMinExclusive-summary" href=
"#pattern-RestrictedMinExclusive" id=
"pattern-RestrictedMinExclusive-summary">pattern-RestrictedMinExclusive</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction/xs:minExclusive[@value]/(..,
../@base, ., @value)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-RestrictedMinInclusive-summary" href=
"#pattern-RestrictedMinInclusive" id=
"pattern-RestrictedMinInclusive-summary">pattern-RestrictedMinInclusive</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction/xs:minInclusive[@value]/(..,
../@base, ., @value)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-RestrictedMinLength-summary" href=
"#pattern-RestrictedMinLength" id=
"pattern-RestrictedMinLength-summary">pattern-RestrictedMinLength</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction/xs:minLength[@value]/(.., ../@base,
., @value)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-RestrictedPattern-summary" href=
"#pattern-RestrictedPattern" id=
"pattern-RestrictedPattern-summary">pattern-RestrictedPattern</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction/xs:pattern[@value]/(.., ../@base,
., @value)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-RestrictedSimpleContent-summary" href=
"#pattern-RestrictedSimpleContent" id=
"pattern-RestrictedSimpleContent-summary">pattern-RestrictedSimpleContent</a></td>
<td rowspan="1" colspan="1">
.//xs:complexType/xs:simpleContent/xs:restriction[@base]/(.., .,
@base, child::*, child::*/@value)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-RestrictedStringMaxLength-summary" href=
"#pattern-RestrictedStringMaxLength" id=
"pattern-RestrictedStringMaxLength-summary">pattern-RestrictedStringMaxLength</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:string')]/xs:maxLength[@value]/ (.., ../@base, .,
@value)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-RestrictedStringMinLength-summary" href=
"#pattern-RestrictedStringMinLength" id=
"pattern-RestrictedStringMinLength-summary">pattern-RestrictedStringMinLength</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:string')]/xs:minLength[@value]/ (.., ../@base, .,
@value)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-RestrictedStringMinMaxLength-summary" href=
"#pattern-RestrictedStringMinMaxLength" id=
"pattern-RestrictedStringMinMaxLength-summary">pattern-RestrictedStringMinMaxLength</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:string') and xs:minLength/@value and
xs:maxLength/@value]/ (., @base, xs:minLength/(., @value),
xs:maxLength/(., @value))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-RestrictedWhitespaceCollapse-summary" href=
"#pattern-RestrictedWhitespaceCollapse" id=
"pattern-RestrictedWhitespaceCollapse-summary">pattern-RestrictedWhitespaceCollapse</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction/xs:whiteSpace[@value='collapse']/(..,
../@base, ., @value, @fixed)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-RestrictedWhitespacePreserve-summary" href=
"#pattern-RestrictedWhitespacePreserve" id=
"pattern-RestrictedWhitespacePreserve-summary">pattern-RestrictedWhitespacePreserve</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction/xs:whiteSpace[@value='preserve']/(..,
../@base, ., @value, @fixed)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-RestrictedWhitespaceReplace-summary" href=
"#pattern-RestrictedWhitespaceReplace" id=
"pattern-RestrictedWhitespaceReplace-summary">pattern-RestrictedWhitespaceReplace</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction/xs:whiteSpace[@value='replace']/(..,
../@base, ., @value, @fixed)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-SOAPEncodedArray-summary" href="#pattern-SOAPEncodedArray"
id=
"pattern-SOAPEncodedArray-summary">pattern-SOAPEncodedArray</a></td>
<td rowspan="1" colspan="1">
./xs:complexType[@name]/xs:complexContent/xs:restriction[
@base/resolve-QName(.,..) = xs:QName('soap11enc:Array')]/
xs:attribute[(@ref/resolve-QName(.,..) =
xs:QName('soap11enc:arrayType')) and @wsdl11:arrayType]/ (../..,
../(., @base), ., @ref, @wsdl11:arrayType)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-SequenceAnyStrict-summary" href=
"#pattern-SequenceAnyStrict" id=
"pattern-SequenceAnyStrict-summary">pattern-SequenceAnyStrict</a></td>
<td rowspan="1" colspan="1">
.//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 (not (@namespace) or @namespace =
'##any')]/ (., @processContents, @minOccurs, @maxOccurs,
@namespace)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-SequenceChoice-summary" href="#pattern-SequenceChoice" id=
"pattern-SequenceChoice-summary">pattern-SequenceChoice</a></td>
<td rowspan="1" colspan="1">.//xs:sequence/xs:choice/(.)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-SequenceMaxOccursFinite-summary" href=
"#pattern-SequenceMaxOccursFinite" id=
"pattern-SequenceMaxOccursFinite-summary">pattern-SequenceMaxOccursFinite</a></td>
<td rowspan="1" colspan="1">.//xs:sequence[@maxOccurs and
not(@maxOccurs = '0' or @maxOccurs = '1' or @maxOccurs =
'unbounded')]/ (@maxOccurs)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-SequenceMinOccurs0-summary" href=
"#pattern-SequenceMinOccurs0" id=
"pattern-SequenceMinOccurs0-summary">pattern-SequenceMinOccurs0</a></td>
<td rowspan="1" colspan="1">.//xs:sequence[@minOccurs = '0' and
(not(@maxOccurs) or @maxOccurs = '1')]/ (@minOccurs,
@maxOccurs)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-SequenceMinOccurs0MaxOccursUnbounded-summary" href=
"#pattern-SequenceMinOccurs0MaxOccursUnbounded" id=
"pattern-SequenceMinOccurs0MaxOccursUnbounded-summary">pattern-SequenceMinOccurs0MaxOccursUnbounded</a></td>
<td rowspan="1" colspan="1">.//xs:sequence[@minOccurs = '0' and
@maxOccurs = 'unbounded']/ (@minOccurs, @maxOccurs)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-SequenceMinOccurs1MaxOccursUnbounded-summary" href=
"#pattern-SequenceMinOccurs1MaxOccursUnbounded" id=
"pattern-SequenceMinOccurs1MaxOccursUnbounded-summary">pattern-SequenceMinOccurs1MaxOccursUnbounded</a></td>
<td rowspan="1" colspan="1">.//xs:sequence[(not(@minOccurs) or
@minOccurs = '1') and @maxOccurs = 'unbounded']/ (@minOccurs,
@maxOccurs)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-SequenceMinOccursFinite-summary" href=
"#pattern-SequenceMinOccursFinite" id=
"pattern-SequenceMinOccursFinite-summary">pattern-SequenceMinOccursFinite</a></td>
<td rowspan="1" colspan="1">.//xs:sequence[xs:integer(@minOccurs)
gt 1]/ (@minOccurs, @maxOccurs)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-SequenceSequenceElement-summary" href=
"#pattern-SequenceSequenceElement" id=
"pattern-SequenceSequenceElement-summary">pattern-SequenceSequenceElement</a></td>
<td rowspan="1" colspan="1">.//xs:sequence/xs:sequence/xs:element/
(., ..)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-SequenceSequenceGroup-summary" href=
"#pattern-SequenceSequenceGroup" id=
"pattern-SequenceSequenceGroup-summary">pattern-SequenceSequenceGroup</a></td>
<td rowspan="1" colspan="1">.//xs:sequence/xs:sequence/xs:group/(.,
..)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ShortEnumerationType-summary" href=
"#pattern-ShortEnumerationType" id=
"pattern-ShortEnumerationType-summary">pattern-ShortEnumerationType</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:short') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-ShortSimpleTypePattern-summary" href=
"#pattern-ShortSimpleTypePattern" id=
"pattern-ShortSimpleTypePattern-summary">pattern-ShortSimpleTypePattern</a></td>
<td rowspan="1" colspan="1">
.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:short')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-SimpleContentAnyAttributeLax-summary" href=
"#pattern-SimpleContentAnyAttributeLax" id=
"pattern-SimpleContentAnyAttributeLax-summary">pattern-SimpleContentAnyAttributeLax</a></td>
<td rowspan="1" colspan="1">
.//xs:complexType/xs:simpleContent/xs:extension/xs:anyAttribute[(@processContents
= 'lax') and (@namespace = '##other')]/ (., @processContents,
@namespace)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-SimpleContentAnyAttributeSkip-summary" href=
"#pattern-SimpleContentAnyAttributeSkip" id=
"pattern-SimpleContentAnyAttributeSkip-summary">pattern-SimpleContentAnyAttributeSkip</a></td>
<td rowspan="1" colspan="1">
.//xs:complexType/xs:simpleContent/xs:extension/xs:anyAttribute[(@processContents
= 'skip')]/ (., @processContents)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-SimpleContentAnyAttributeStrict-summary" href=
"#pattern-SimpleContentAnyAttributeStrict" id=
"pattern-SimpleContentAnyAttributeStrict-summary">pattern-SimpleContentAnyAttributeStrict</a></td>
<td rowspan="1" colspan="1">
.//xs:complexType/xs:simpleContent/xs:extension/xs:anyAttribute[not(@processContents)
or (@processContents = 'strict') and (@namespace = '##other')]/ (.,
@processContents, @namespace)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-SimpleTypeEnumerationType-summary" href=
"#pattern-SimpleTypeEnumerationType" id=
"pattern-SimpleTypeEnumerationType-summary">pattern-SimpleTypeEnumerationType</a></td>
<td rowspan="1" colspan="1">.//xs:simpleType/xs:restriction[@base
and namespace-uri-from-QName(resolve-QName(@base,.)) !=
'http://www.w3.org/2001/XMLSchema' ]/ (., @base, xs:enumeration/(.,
@value))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-SimpleTypeRenamed-summary" href=
"#pattern-SimpleTypeRenamed" id=
"pattern-SimpleTypeRenamed-summary">pattern-SimpleTypeRenamed</a></td>
<td rowspan="1" colspan="1">.//xs:simpleType/xs:restriction[@base
and count(./*) = 0]/ (., @base)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-StringSimpleTypePattern-summary" href=
"#pattern-StringSimpleTypePattern" id=
"pattern-StringSimpleTypePattern-summary">pattern-StringSimpleTypePattern</a></td>
<td rowspan="1" colspan="1">
.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:string')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-SubstitutionGroup-summary" href=
"#pattern-SubstitutionGroup" id=
"pattern-SubstitutionGroup-summary">pattern-SubstitutionGroup</a></td>
<td rowspan="1" colspan="1">
.//xs:element[@substitutionGroup]/(.,@name,@substitutionGroup)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="pattern-TimeAttribute-summary"
href="#pattern-TimeAttribute" id=
"pattern-TimeAttribute-summary">pattern-TimeAttribute</a></td>
<td rowspan="1" colspan="1">
.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:time')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="pattern-TimeElement-summary"
href="#pattern-TimeElement" id=
"pattern-TimeElement-summary">pattern-TimeElement</a></td>
<td rowspan="1" colspan="1">.//xs:element/@type[resolve-QName(.,..)
= xs:QName('xs:time')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-TokenEnumerationType-summary" href=
"#pattern-TokenEnumerationType" id=
"pattern-TokenEnumerationType-summary">pattern-TokenEnumerationType</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:token') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-TokenSimpleTypePattern-summary" href=
"#pattern-TokenSimpleTypePattern" id=
"pattern-TokenSimpleTypePattern-summary">pattern-TokenSimpleTypePattern</a></td>
<td rowspan="1" colspan="1">
.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:token')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-UnionMemberTypes-summary" href="#pattern-UnionMemberTypes"
id=
"pattern-UnionMemberTypes-summary">pattern-UnionMemberTypes</a></td>
<td rowspan="1" colspan="1">.//xs:simpleType/xs:union[@memberTypes
and not(xs:simpleType)]/ (., @memberTypes)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-UnionSimpleAndMemberTypes-summary" href=
"#pattern-UnionSimpleAndMemberTypes" id=
"pattern-UnionSimpleAndMemberTypes-summary">pattern-UnionSimpleAndMemberTypes</a></td>
<td rowspan="1" colspan="1">.//xs:simpleType/xs:union[@memberTypes
and xs:simpleType]/ (., @memberTypes, xs:simpleType)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-UnionSimpleTypes-summary" href="#pattern-UnionSimpleTypes"
id=
"pattern-UnionSimpleTypes-summary">pattern-UnionSimpleTypes</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:union[not(@memberTypes)]/xs:simpleType/ (..,
.)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="pattern-Unique-summary" href=
"#pattern-Unique" id=
"pattern-Unique-summary">pattern-Unique</a></td>
<td rowspan="1" colspan="1">.//xs:element/xs:unique/(..,
.,xs:selector,xs:selector/@xpath,xs:field,xs:field/@xpath)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-UnqualifiedLocalElements-summary" href=
"#pattern-UnqualifiedLocalElements" id=
"pattern-UnqualifiedLocalElements-summary">pattern-UnqualifiedLocalElements</a></td>
<td rowspan="1" colspan="1">.[not(@elementFormDefault) or
@elementFormDefault = 'unqualified']/ (., @elementFormDefault)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-UnsignedByteAttribute-summary" href=
"#pattern-UnsignedByteAttribute" id=
"pattern-UnsignedByteAttribute-summary">pattern-UnsignedByteAttribute</a></td>
<td rowspan="1" colspan="1">
.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:unsignedByte')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-UnsignedByteElement-summary" href=
"#pattern-UnsignedByteElement" id=
"pattern-UnsignedByteElement-summary">pattern-UnsignedByteElement</a></td>
<td rowspan="1" colspan="1">.//xs:element/@type[resolve-QName(.,..)
= xs:QName('xs:unsignedByte')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-UnsignedIntAttribute-summary" href=
"#pattern-UnsignedIntAttribute" id=
"pattern-UnsignedIntAttribute-summary">pattern-UnsignedIntAttribute</a></td>
<td rowspan="1" colspan="1">
.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:unsignedInt')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-UnsignedIntElement-summary" href=
"#pattern-UnsignedIntElement" id=
"pattern-UnsignedIntElement-summary">pattern-UnsignedIntElement</a></td>
<td rowspan="1" colspan="1">.//xs:element/@type[resolve-QName(.,..)
= xs:QName('xs:unsignedInt')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-UnsignedIntEnumerationType-summary" href=
"#pattern-UnsignedIntEnumerationType" id=
"pattern-UnsignedIntEnumerationType-summary">pattern-UnsignedIntEnumerationType</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:unsignedInt') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-UnsignedIntSimpleTypePattern-summary" href=
"#pattern-UnsignedIntSimpleTypePattern" id=
"pattern-UnsignedIntSimpleTypePattern-summary">pattern-UnsignedIntSimpleTypePattern</a></td>
<td rowspan="1" colspan="1">
.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:unsignedInt')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-UnsignedLongAttribute-summary" href=
"#pattern-UnsignedLongAttribute" id=
"pattern-UnsignedLongAttribute-summary">pattern-UnsignedLongAttribute</a></td>
<td rowspan="1" colspan="1">
.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:unsignedLong')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-UnsignedLongElement-summary" href=
"#pattern-UnsignedLongElement" id=
"pattern-UnsignedLongElement-summary">pattern-UnsignedLongElement</a></td>
<td rowspan="1" colspan="1">.//xs:element/@type[resolve-QName(.,..)
= xs:QName('xs:unsignedLong')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-UnsignedLongEnumerationType-summary" href=
"#pattern-UnsignedLongEnumerationType" id=
"pattern-UnsignedLongEnumerationType-summary">pattern-UnsignedLongEnumerationType</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:unsignedLong') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-UnsignedLongSimpleTypePattern-summary" href=
"#pattern-UnsignedLongSimpleTypePattern" id=
"pattern-UnsignedLongSimpleTypePattern-summary">pattern-UnsignedLongSimpleTypePattern</a></td>
<td rowspan="1" colspan="1">
.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:unsignedLong')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-UnsignedShortAttribute-summary" href=
"#pattern-UnsignedShortAttribute" id=
"pattern-UnsignedShortAttribute-summary">pattern-UnsignedShortAttribute</a></td>
<td rowspan="1" colspan="1">
.//xs:attribute/@type[resolve-QName(.,..) =
xs:QName('xs:unsignedShort')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-UnsignedShortElement-summary" href=
"#pattern-UnsignedShortElement" id=
"pattern-UnsignedShortElement-summary">pattern-UnsignedShortElement</a></td>
<td rowspan="1" colspan="1">.//xs:element/@type[resolve-QName(.,..)
= xs:QName('xs:unsignedShort')]</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-UnsignedShortEnumerationType-summary" href=
"#pattern-UnsignedShortEnumerationType" id=
"pattern-UnsignedShortEnumerationType-summary">pattern-UnsignedShortEnumerationType</a></td>
<td rowspan="1" colspan="1">
.//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:unsignedShort') and xs:enumeration]/ (., @base,
xs:enumeration/(., @value))</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"pattern-UnsignedShortSimpleTypePattern-summary" href=
"#pattern-UnsignedShortSimpleTypePattern" id=
"pattern-UnsignedShortSimpleTypePattern-summary">pattern-UnsignedShortSimpleTypePattern</a></td>
<td rowspan="1" colspan="1">
.//xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:unsignedShort')]/xs:pattern[@value]/ (.., ../@base, .,
@value)</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="pattern-XmlLang-summary" href=
"#pattern-XmlLang" id=
"pattern-XmlLang-summary">pattern-XmlLang</a></td>
<td rowspan="1" colspan="1">.[@xml:lang] / (@xml:lang)</td>
</tr>
</tbody>
</table>
<br /></div>
<h2><a name="assertionsummary" id="assertionsummary"></a>D.
Assertion Summary (Non-Normative)</h2>
<a name="document-assertion-summary" id=
"document-assertion-summary"></a>
<table width="100%" border="1">
<caption>Table D-1. Summary of Document Assertions</caption>
<col width="20%" span="1" />
<col width="80%" span="1" />
<tbody>
<tr>
<th rowspan="1" colspan="1">Id</th>
<th rowspan="1" colspan="1">Assertion</th>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="assert-BOM-summary" href=
"#assert-BOM" id="assert-BOM-summary">assert-BOM</a></td>
<td rowspan="1" colspan="1">MAY include the <a href=
"#Unicode">[Unicode]</a> Byte Order Mark (<a href=
"#BOM">[BOM]</a>).</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="assert-BasicPatterns-summary"
href="#assert-BasicPatterns" id=
"assert-BasicPatterns-summary">assert-BasicPatterns</a></td>
<td rowspan="1" colspan="1">MUST only contain <a href="#XML">[XML
1.0]</a> element nodes and attribute nodes which form a part of one
or more complete patterns contained in this and the <a href=
"#BasicPatterns">[Basic Patterns]</a> specifications.</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="assert-CommentsAndPIs-summary"
href="#assert-CommentsAndPIs" id=
"assert-CommentsAndPIs-summary">assert-CommentsAndPIs</a></td>
<td rowspan="1" colspan="1">MAY contain additional <a href=
"#XML">[XML 1.0]</a> comment nodes and processing instruction
nodes.</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="assert-Unicode-summary" href=
"#assert-Unicode" id=
"assert-Unicode-summary">assert-Unicode</a></td>
<td rowspan="1" colspan="1">MUST use either the UTF-8 or UTF-16
<a href="#Unicode">[Unicode]</a> encoding.</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="assert-XML10-summary" href=
"#assert-XML10" id="assert-XML10-summary">assert-XML10</a></td>
<td rowspan="1" colspan="1">MUST be a Well-formed <a href=
"#XML">[XML 1.0]</a> document</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="assert-XMLSchema10-summary"
href="#assert-XMLSchema10" id=
"assert-XMLSchema10-summary">assert-XMLSchema10</a></td>
<td rowspan="1" colspan="1">MUST conform to the <a href=
"#XMLSchema">[XML Schema 1.0]</a> Recommendation</td>
</tr>
</tbody>
</table>
<br />
<a name="implementation-assertion-summary" id=
"implementation-assertion-summary"></a>
<table width="100%" border="1">
<caption>Table D-2. Summary of Implementation Assertions</caption>
<col width="20%" span="1" />
<col width="80%" span="1" />
<tbody>
<tr>
<th rowspan="1" colspan="1">Id</th>
<th rowspan="1" colspan="1">Assertion</th>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="assert-AnySchema-summary"
href="#assert-AnySchema" id=
"assert-AnySchema-summary">assert-AnySchema</a></td>
<td rowspan="1" colspan="1">MUST be able to consume any valid
<a href="#XMLSchema">[XML Schema 1.0]</a> Document.</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"assert-ConsumeInvalidAllowed-summary" href=
"#assert-ConsumeInvalidAllowed" id=
"assert-ConsumeInvalidAllowed-summary">assert-ConsumeInvalidAllowed</a></td>
<td rowspan="1" colspan="1">MAY consume Well-formed <a href=
"#XML">[XML 1.0]</a> instance documents which do not satisfy
local-schema validity against the originating <a href=
"#XMLSchema">[XML Schema 1.0]</a> Document.</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="assert-ConsumeXML-summary"
href="#assert-ConsumeXML" id=
"assert-ConsumeXML-summary">assert-ConsumeXML</a></td>
<td rowspan="1" colspan="1">MUST be able to consume any Well-formed
<a href="#XML">[XML 1.0]</a> Document which satisfies local-schema
validity against the originating <a href="#XMLSchema">[XML Schema
1.0]</a> Document exposing all of the <a href="#XML">[XML 1.0]</a>
element node and attribute node content in the data model.</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="assert-DataModel-summary"
href="#assert-DataModel" id=
"assert-DataModel-summary">assert-DataModel</a></td>
<td rowspan="1" colspan="1">MUST produce a data model exposing all
of the <a href="#XML">[XML 1.0]</a> element node and attribute node
content described by the originating <a href="#XMLSchema">[XML
Schema 1.0]</a> Document.</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name=
"assert-ProduceInvalidAllowed-summary" href=
"#assert-ProduceInvalidAllowed" id=
"assert-ProduceInvalidAllowed-summary">assert-ProduceInvalidAllowed</a></td>
<td rowspan="1" colspan="1">MAY allow the production of Well-formed
<a href="#XML">[XML 1.0]</a> instance documents containing values
exposed in the data model which do not satisfy local-schema
validity against the originating <a href="#XMLSchema">[XML Schema
1.0]</a> Document.</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="assert-ProduceXML-summary"
href="#assert-ProduceXML" id=
"assert-ProduceXML-summary">assert-ProduceXML</a></td>
<td rowspan="1" colspan="1">MUST be able to produce Well-formed
<a href="#XML">[XML 1.0]</a> instance documents which satisfy
local-schema validity against the originating <a href=
"#XMLSchema">[XML Schema 1.0]</a> Document containing values
exposed in the data model.</td>
</tr>
<tr>
<td rowspan="1" colspan="1"><a name="assert-SchemaValid-summary"
href="#assert-SchemaValid" id=
"assert-SchemaValid-summary">assert-SchemaValid</a></td>
<td rowspan="1" colspan="1">MUST be able to process any <a href=
"#XMLSchema">[XML Schema 1.0]</a> Document conforming to this
specification</td>
</tr>
</tbody>
</table>
<br />
<div class="div1">
<h2><a name="schemasummary" id="schemasummary"></a>E. Supported XML
Schema elements, attributes and simple types (Non-Normative)</h2>
<p>This section lists all the elements, attributes and simple types
defined by the XML Schema specifications and indicates if it is
referenced from one of the patterns.</p>
<table id="schema_elements" border="1" width="100%">
<caption>Table E. List of supported and non-supported schema
elements</caption>
<thead>
<tr>
<th>Element</th>
<th>Patterns</th>
</tr>
</thead>
<tbody>
<tr id="xsd_element_all">
<th>xs:all</th>
<td><a href="#pattern-GlobalElementAll">GlobalElementAll</a>,
<a href="#pattern-AllElement">AllElement</a>, <a href=
"#pattern-ComplexTypeAll">ComplexTypeAll</a>, <a href=
"#pattern-ComplexTypeOnlyAttributes">ComplexTypeOnlyAttributes</a>,
<a href=
"#pattern-ComplexTypeOnlyAttributeGroup">ComplexTypeOnlyAttributeGroup</a>,
<a href="#pattern-ElementGroup">ElementGroup</a></td>
</tr>
<tr id="xsd_element_annotation">
<th>xs:annotation</th>
<td><a href="#pattern-AppinfoElement">AppinfoElement</a>, <a href=
"#pattern-ComplexTypeExtensionAnnotationOnly">ComplexTypeExtensionAnnotationOnly</a></td>
</tr>
<tr id="xsd_element_any">
<th>xs:any</th>
<td><a href=
"#pattern-AnyURIEnumerationType">AnyURIEnumerationType</a>,
<a href="#pattern-ComplexTypeOnlyAttributes">ComplexTypeOnlyAttributes</a>,
<a href=
"#pattern-ComplexTypeOnlyAttributeGroup">ComplexTypeOnlyAttributeGroup</a>,
<a href=
"#pattern-GlobalElementSequenceAny">GlobalElementSequenceAny</a>,
<a href=
"#pattern-ComplexTypeAnyAttribute">ComplexTypeAnyAttribute</a>,
<a href="#pattern-AnyAttributeStrict">AnyAttributeStrict</a>,
<a href="#pattern-AnyAttributeLax">AnyAttributeLax</a>, <a href=
"#pattern-AnyAttributeSkip">AnyAttributeSkip</a>, <a href=
"#pattern-AnyAttributeOtherStrict">AnyAttributeOtherStrict</a>,
<a href="#pattern-AnyAttributeOtherLax">AnyAttributeOtherLax</a>,
<a href="#pattern-AnyAttributeOtherSkip">AnyAttributeOtherSkip</a>,
<a href=
"#pattern-ComplexContentRestrictionAnyAttribute">ComplexContentRestrictionAnyAttribute</a>,
<a href=
"#pattern-ComplexContentExtensionAnyAttribute">ComplexContentExtensionAnyAttribute</a>,
<a href=
"#pattern-SimpleContentAnyAttributeSkip">SimpleContentAnyAttributeSkip</a>,
<a href=
"#pattern-SimpleContentAnyAttributeLax">SimpleContentAnyAttributeLax</a>,
<a href=
"#pattern-SimpleContentAnyAttributeStrict">SimpleContentAnyAttributeStrict</a>,
<a href=
"#pattern-AnyAttributeNamespacedFinite">AnyAttributeNamespacedFinite</a>,
<a href=
"#pattern-ExtendedSequenceStrict">ExtendedSequenceStrict</a>,
<a href="#pattern-ExtendedSequenceLax">ExtendedSequenceLax</a>,
<a href="#pattern-ExtendedSequenceSkip">ExtendedSequenceSkip</a>,
<a href=
"#pattern-ExtendedSequenceStrictAny">ExtendedSequenceStrictAny</a>,
<a href=
"#pattern-ExtendedSequenceLaxAny">ExtendedSequenceLaxAny</a>,
<a href=
"#pattern-ExtendedSequenceSkipAny">ExtendedSequenceSkipAny</a>,
<a href=
"#pattern-ExtendedSequenceStrictOther">ExtendedSequenceStrictOther</a>,
<a href=
"#pattern-ExtendedSequenceLaxOther">ExtendedSequenceLaxOther</a>,
<a href=
"#pattern-ExtendedSequenceSkipOther">ExtendedSequenceSkipOther</a>,
<a href="#pattern-SequenceAnyStrict">SequenceAnyStrict</a>,
<a href="#pattern-ExtendedSequenceNamespacedFinite">ExtendedSequenceNamespacedFinite</a>,
<a href="#pattern-ComplexTypeChoiceAny">ComplexTypeChoiceAny</a>,
<a href=
"#pattern-ComplexTypeSequenceChoiceAny">ComplexTypeSequenceChoiceAny</a>,
<a href="#pattern-AnySimpleTypeElement">AnySimpleTypeElement</a>,
<a href="#pattern-AnyTypeElement">AnyTypeElement</a>, <a href=
"#pattern-AnySimpleTypeAttribute">AnySimpleTypeAttribute</a>,
<a href=
"#pattern-AttributeGroupAnyAttribute">AttributeGroupAnyAttribute</a></td>
</tr>
<tr id="xsd_element_anyAttribute">
<th>xs:anyAttribute</th>
<td><a href=
"#pattern-ComplexTypeOnlyAttributes">ComplexTypeOnlyAttributes</a>,
<a href=
"#pattern-ComplexTypeOnlyAttributeGroup">ComplexTypeOnlyAttributeGroup</a>,
<a href=
"#pattern-ComplexTypeAnyAttribute">ComplexTypeAnyAttribute</a>,
<a href="#pattern-AnyAttributeStrict">AnyAttributeStrict</a>,
<a href="#pattern-AnyAttributeLax">AnyAttributeLax</a>, <a href=
"#pattern-AnyAttributeSkip">AnyAttributeSkip</a>, <a href=
"#pattern-AnyAttributeOtherStrict">AnyAttributeOtherStrict</a>,
<a href="#pattern-AnyAttributeOtherLax">AnyAttributeOtherLax</a>,
<a href="#pattern-AnyAttributeOtherSkip">AnyAttributeOtherSkip</a>,
<a href=
"#pattern-ComplexContentRestrictionAnyAttribute">ComplexContentRestrictionAnyAttribute</a>,
<a href=
"#pattern-ComplexContentExtensionAnyAttribute">ComplexContentExtensionAnyAttribute</a>,
<a href=
"#pattern-SimpleContentAnyAttributeSkip">SimpleContentAnyAttributeSkip</a>,
<a href=
"#pattern-SimpleContentAnyAttributeLax">SimpleContentAnyAttributeLax</a>,
<a href=
"#pattern-SimpleContentAnyAttributeStrict">SimpleContentAnyAttributeStrict</a>,
<a href=
"#pattern-AnyAttributeNamespacedFinite">AnyAttributeNamespacedFinite</a>,
<a href=
"#pattern-AttributeGroupAnyAttribute">AttributeGroupAnyAttribute</a></td>
</tr>
<tr id="xsd_element_appinfo">
<th>xs:appinfo</th>
<td><a href="#pattern-AppinfoElement">AppinfoElement</a></td>
</tr>
<tr id="xsd_element_attribute">
<th>xs:attribute</th>
<td><a href=
"#pattern-GlobalElementComplexTypeSequenceExtension">GlobalElementComplexTypeSequenceExtension</a>,
<a href=
"#pattern-GlobalAttributeUnqualifiedType">GlobalAttributeUnqualifiedType</a>,
<a href=
"#pattern-GlobalAttributeSimpleType">GlobalAttributeSimpleType</a>,
<a href=
"#pattern-AttributeElementNameClash">AttributeElementNameClash</a>,
<a href=
"#pattern-AttributeFormQualified">AttributeFormQualified</a>,
<a href="#pattern-AttributeRequired">AttributeRequired</a>,
<a href="#pattern-AttributeFixed">AttributeFixed</a>, <a href=
"#pattern-AttributeDefault">AttributeDefault</a>, <a href=
"#pattern-AttributeReferenceUnqualified">AttributeReferenceUnqualified</a>,
<a href=
"#pattern-AttributeTypeReferenceUnqualified">AttributeTypeReferenceUnqualified</a>,
<a href=
"#pattern-LocalAttributeSimpleType">LocalAttributeSimpleType</a>,
<a href="#pattern-AttributeProhibited">AttributeProhibited</a>,
<a href=
"#pattern-ComplexTypeOnlyAttributes">ComplexTypeOnlyAttributes</a>,
<a href=
"#pattern-ComplexTypeOnlyAttributeGroup">ComplexTypeOnlyAttributeGroup</a>,
<a href="#pattern-ExtendedSimpleContent">ExtendedSimpleContent</a>,
<a href="#pattern-SOAPEncodedArray">SOAPEncodedArray</a>, <a href=
"#pattern-ComplexTypeAttributeGroupExtension">ComplexTypeAttributeGroupExtension</a>,
<a href=
"#pattern-ComplexTypeAttributeRestriction">ComplexTypeAttributeRestriction</a>,
<a href=
"#pattern-AnySimpleTypeAttribute">AnySimpleTypeAttribute</a>,
<a href="#pattern-DecimalAttribute">DecimalAttribute</a>, <a href=
"#pattern-FloatAttribute">FloatAttribute</a>, <a href=
"#pattern-DurationAttribute">DurationAttribute</a>, <a href=
"#pattern-TimeAttribute">TimeAttribute</a>, <a href=
"#pattern-DateAttribute">DateAttribute</a>, <a href=
"#pattern-GYearMonthAttribute">GYearMonthAttribute</a>, <a href=
"#pattern-GYearAttribute">GYearAttribute</a>, <a href=
"#pattern-GMonthDayAttribute">GMonthDayAttribute</a>, <a href=
"#pattern-GDayAttribute">GDayAttribute</a>, <a href=
"#pattern-GMonthAttribute">GMonthAttribute</a>, <a href=
"#pattern-HexBinaryAttribute">HexBinaryAttribute</a>, <a href=
"#pattern-Base64BinaryAttribute">Base64BinaryAttribute</a>,
<a href="#pattern-LanguageAttribute">LanguageAttribute</a>,
<a href="#pattern-NMTOKENAttribute">NMTOKENAttribute</a>, <a href=
"#pattern-NMTOKENSAttribute">NMTOKENSAttribute</a>, <a href=
"#pattern-IDAttribute">IDAttribute</a>, <a href=
"#pattern-IDREFAttribute">IDREFAttribute</a>, <a href=
"#pattern-IDREFSAttribute">IDREFSAttribute</a>, <a href=
"#pattern-ENTITYAttribute">ENTITYAttribute</a>, <a href=
"#pattern-ENTITIESAttribute">ENTITIESAttribute</a>, <a href=
"#pattern-IntegerAttribute">IntegerAttribute</a>, <a href=
"#pattern-NonPositiveIntegerAttribute">NonPositiveIntegerAttribute</a>,
<a href=
"#pattern-NegativeIntegerAttribute">NegativeIntegerAttribute</a>,
<a href="#pattern-UnsignedLongAttribute">UnsignedLongAttribute</a>,
<a href="#pattern-UnsignedIntAttribute">UnsignedIntAttribute</a>,
<a href=
"#pattern-UnsignedShortAttribute">UnsignedShortAttribute</a>,
<a href="#pattern-UnsignedByteAttribute">UnsignedByteAttribute</a>,
<a href="#pattern-AttributeGroup">AttributeGroup</a>, <a href=
"#pattern-AttributeGroupAnyAttribute">AttributeGroupAnyAttribute</a></td>
</tr>
<tr id="xsd_element_attributeGroup">
<th>xs:attributeGroup</th>
<td><a href=
"#pattern-ComplexTypeOnlyAttributes">ComplexTypeOnlyAttributes</a>,
<a href=
"#pattern-ComplexTypeOnlyAttributeGroup">ComplexTypeOnlyAttributeGroup</a>,
<a href=
"#pattern-ComplexTypeAttributeGroupExtension">ComplexTypeAttributeGroupExtension</a>,
<a href="#pattern-AttributeGroup">AttributeGroup</a>, <a href=
"#pattern-AttributeGroupAnyAttribute">AttributeGroupAnyAttribute</a></td>
</tr>
<tr id="xsd_element_choice">
<th>xs:choice</th>
<td><a href="#pattern-GlobalElementChoice">GlobalElementChoice</a>,
<a href="#pattern-ChoiceElement">ChoiceElement</a>, <a href=
"#pattern-ComplexTypeChoice">ComplexTypeChoice</a>, <a href=
"#pattern-ComplexTypeOnlyAttributes">ComplexTypeOnlyAttributes</a>,
<a href=
"#pattern-ComplexTypeOnlyAttributeGroup">ComplexTypeOnlyAttributeGroup</a>,
<a href=
"#pattern-ComplexTypeChoiceExtension">ComplexTypeChoiceExtension</a>,
<a href=
"#pattern-ComplexTypeSequenceChoice">ComplexTypeSequenceChoice</a>,
<a href="#pattern-ChoiceSequence">ChoiceSequence</a>, <a href=
"#pattern-SequenceChoice">SequenceChoice</a>, <a href=
"#pattern-ChoiceChoice">ChoiceChoice</a>, <a href=
"#pattern-ChoiceMaxOccursUnbounded">ChoiceMaxOccursUnbounded</a>,
<a href="#pattern-ChoiceMaxOccursFinite">ChoiceMaxOccursFinite</a>,
<a href="#pattern-ChoiceMinOccurs0">ChoiceMinOccurs0</a>, <a href=
"#pattern-ChoiceMinOccursFinite">ChoiceMinOccursFinite</a>,
<a href="#pattern-ComplexTypeChoiceAny">ComplexTypeChoiceAny</a>,
<a href=
"#pattern-ComplexTypeSequenceChoiceAny">ComplexTypeSequenceChoiceAny</a>,
<a href="#pattern-ElementGroup">ElementGroup</a></td>
</tr>
<tr id="xsd_element_complexContent">
<th>xs:complexContent</th>
<td><a href="#pattern-MixedComplexContent">MixedComplexContent</a>,
<a href=
"#pattern-GlobalElementComplexTypeSequenceExtension">GlobalElementComplexTypeSequenceExtension</a>,
<a href=
"#pattern-GlobalElementComplexTypeEmptyExtension">GlobalElementComplexTypeEmptyExtension</a>,
<a href=
"#pattern-LocalElementComplexTypeEmptyExtension">LocalElementComplexTypeEmptyExtension</a>,
<a href=
"#pattern-GlobalComplexTypeEmptyExtension">GlobalComplexTypeEmptyExtension</a>,
<a href=
"#pattern-ComplexTypeOnlyAttributes">ComplexTypeOnlyAttributes</a>,
<a href=
"#pattern-ComplexTypeOnlyAttributeGroup">ComplexTypeOnlyAttributeGroup</a>,
<a href="#pattern-SOAPEncodedArray">SOAPEncodedArray</a>, <a href=
"#pattern-ComplexTypeChoiceExtension">ComplexTypeChoiceExtension</a>,
<a href=
"#pattern-ComplexTypeAttributeGroupExtension">ComplexTypeAttributeGroupExtension</a>,
<a href=
"#pattern-ComplexTypeAttributeRestriction">ComplexTypeAttributeRestriction</a>,
<a href=
"#pattern-ComplexTypeSequenceRestriction">ComplexTypeSequenceRestriction</a>,
<a href=
"#pattern-ComplexContentRestrictionAnyAttribute">ComplexContentRestrictionAnyAttribute</a>,
<a href=
"#pattern-ComplexContentExtensionAnyAttribute">ComplexContentExtensionAnyAttribute</a>,
<a href=
"#pattern-ComplexTypeExtensionAnnotationOnly">ComplexTypeExtensionAnnotationOnly</a></td>
</tr>
<tr id="xsd_element_complexType">
<th>xs:complexType</th>
<td><a href="#pattern-MixedContentType">MixedContentType</a>,
<a href="#pattern-GlobalElementAll">GlobalElementAll</a>, <a href=
"#pattern-GlobalElementChoice">GlobalElementChoice</a>, <a href=
"#pattern-GlobalElementComplexTypeSequenceExtension">GlobalElementComplexTypeSequenceExtension</a>,
<a href=
"#pattern-GlobalElementComplexTypeEmptyExtension">GlobalElementComplexTypeEmptyExtension</a>,
<a href=
"#pattern-AttributeElementNameClash">AttributeElementNameClash</a>,
<a href=
"#pattern-LocalElementComplexTypeEmptyExtension">LocalElementComplexTypeEmptyExtension</a>,
<a href="#pattern-ElementDefaultAnyType">ElementDefaultAnyType</a>,
<a href=
"#pattern-GlobalComplexTypeAbstract">GlobalComplexTypeAbstract</a>,
<a href=
"#pattern-GlobalComplexTypeBlock">GlobalComplexTypeBlock</a>,
<a href=
"#pattern-GlobalComplexTypeEmptyExtension">GlobalComplexTypeEmptyExtension</a>,
<a href="#pattern-ComplexTypeAll">ComplexTypeAll</a>, <a href=
"#pattern-ComplexTypeChoice">ComplexTypeChoice</a>, <a href=
"#pattern-ComplexTypeOnlyAttributes">ComplexTypeOnlyAttributes</a>,
<a href=
"#pattern-ComplexTypeOnlyAttributeGroup">ComplexTypeOnlyAttributeGroup</a>,
<a href=
"#pattern-GlobalElementSequenceAny">GlobalElementSequenceAny</a>,
<a href=
"#pattern-ComplexTypeAnyAttribute">ComplexTypeAnyAttribute</a>,
<a href="#pattern-AnyAttributeStrict">AnyAttributeStrict</a>,
<a href="#pattern-AnyAttributeLax">AnyAttributeLax</a>, <a href=
"#pattern-AnyAttributeSkip">AnyAttributeSkip</a>, <a href=
"#pattern-AnyAttributeOtherStrict">AnyAttributeOtherStrict</a>,
<a href="#pattern-AnyAttributeOtherLax">AnyAttributeOtherLax</a>,
<a href="#pattern-AnyAttributeOtherSkip">AnyAttributeOtherSkip</a>,
<a href="#pattern-ExtendedSimpleContent">ExtendedSimpleContent</a>,
<a href="#pattern-SOAPEncodedArray">SOAPEncodedArray</a>, <a href=
"#pattern-RestrictedSimpleContent">RestrictedSimpleContent</a>,
<a href=
"#pattern-ComplexTypeChoiceExtension">ComplexTypeChoiceExtension</a>,
<a href=
"#pattern-ComplexTypeAttributeGroupExtension">ComplexTypeAttributeGroupExtension</a>,
<a href=
"#pattern-ComplexTypeAttributeRestriction">ComplexTypeAttributeRestriction</a>,
<a href=
"#pattern-ComplexTypeSequenceRestriction">ComplexTypeSequenceRestriction</a>,
<a href=
"#pattern-ComplexContentRestrictionAnyAttribute">ComplexContentRestrictionAnyAttribute</a>,
<a href=
"#pattern-ComplexContentExtensionAnyAttribute">ComplexContentExtensionAnyAttribute</a>,
<a href="#pattern-ComplexTypeFinal">ComplexTypeFinal</a>, <a href=
"#pattern-ComplexTypeExtensionAnnotationOnly">ComplexTypeExtensionAnnotationOnly</a>,
<a href=
"#pattern-SimpleContentAnyAttributeSkip">SimpleContentAnyAttributeSkip</a>,
<a href=
"#pattern-SimpleContentAnyAttributeLax">SimpleContentAnyAttributeLax</a>,
<a href=
"#pattern-SimpleContentAnyAttributeStrict">SimpleContentAnyAttributeStrict</a>,
<a href=
"#pattern-AnyAttributeNamespacedFinite">AnyAttributeNamespacedFinite</a>,
<a href=
"#pattern-ComplexTypeSequenceChoice">ComplexTypeSequenceChoice</a>,
<a href="#pattern-ComplexTypeChoiceAny">ComplexTypeChoiceAny</a>,
<a href=
"#pattern-ComplexTypeSequenceChoiceAny">ComplexTypeSequenceChoiceAny</a></td>
</tr>
<tr id="xsd_element_documentation">
<th>xs:documentation</th>
<td>N/A</td>
</tr>
<tr id="xsd_element_element">
<th>xs:element</th>
<td><a href=
"#pattern-GlobalElementUnqualifiedType">GlobalElementUnqualifiedType</a>,
<a href=
"#pattern-ElementTypeDefaultNamespace">ElementTypeDefaultNamespace</a>,
<a href="#pattern-GlobalElementAbstract">GlobalElementAbstract</a>,
<a href="#pattern-GlobalElementBlock">GlobalElementBlock</a>,
<a href="#pattern-GlobalElementFinal">GlobalElementFinal</a>,
<a href="#pattern-GlobalElementAll">GlobalElementAll</a>, <a href=
"#pattern-GlobalElementChoice">GlobalElementChoice</a>, <a href=
"#pattern-GlobalElementSimpleType">GlobalElementSimpleType</a>,
<a href=
"#pattern-GlobalElementComplexTypeSequenceExtension">GlobalElementComplexTypeSequenceExtension</a>,
<a href=
"#pattern-GlobalElementComplexTypeEmptyExtension">GlobalElementComplexTypeEmptyExtension</a>,
<a href=
"#pattern-ElementMinOccursFinite">ElementMinOccursFinite</a>,
<a href=
"#pattern-ElementMinOccurs0MaxOccursFinite">ElementMinOccurs0MaxOccursFinite</a>,
<a href=
"#pattern-ElementMaxOccursFinite">ElementMaxOccursFinite</a>,
<a href=
"#pattern-ElementFormUnqualified">ElementFormUnqualified</a>,
<a href="#pattern-ChoiceElement">ChoiceElement</a>, <a href=
"#pattern-AllElement">AllElement</a>, <a href=
"#pattern-ElementFixed">ElementFixed</a>, <a href=
"#pattern-AttributeElementNameClash">AttributeElementNameClash</a>,
<a href=
"#pattern-NillableOptionalElement">NillableOptionalElement</a>,
<a href=
"#pattern-ElementTypeReferenceUnqualified">ElementTypeReferenceUnqualified</a>,
<a href=
"#pattern-ElementReferenceUnqualified">ElementReferenceUnqualified</a>,
<a href=
"#pattern-LocalElementSimpleType">LocalElementSimpleType</a>,
<a href=
"#pattern-LocalElementComplexTypeEmptyExtension">LocalElementComplexTypeEmptyExtension</a>,
<a href="#pattern-ElementDefaultAnyType">ElementDefaultAnyType</a>,
<a href="#pattern-ElementKey">ElementKey</a>, <a href=
"#pattern-MaxOccurs0">MaxOccurs0</a>, <a href=
"#pattern-ElementDefault">ElementDefault</a>, <a href=
"#pattern-ComplexTypeAll">ComplexTypeAll</a>, <a href=
"#pattern-ComplexTypeChoice">ComplexTypeChoice</a>, <a href=
"#pattern-GlobalElementSequenceAny">GlobalElementSequenceAny</a>,
<a href=
"#pattern-ComplexTypeChoiceExtension">ComplexTypeChoiceExtension</a>,
<a href=
"#pattern-ComplexTypeSequenceChoice">ComplexTypeSequenceChoice</a>,
<a href=
"#pattern-SequenceSequenceElement">SequenceSequenceElement</a>,
<a href="#pattern-AnySimpleTypeElement">AnySimpleTypeElement</a>,
<a href="#pattern-AnyTypeElement">AnyTypeElement</a>, <a href=
"#pattern-DecimalElement">DecimalElement</a>, <a href=
"#pattern-FloatElement">FloatElement</a>, <a href=
"#pattern-DurationElement">DurationElement</a>, <a href=
"#pattern-TimeElement">TimeElement</a>, <a href=
"#pattern-DateElement">DateElement</a>, <a href=
"#pattern-GYearMonthElement">GYearMonthElement</a>, <a href=
"#pattern-GYearElement">GYearElement</a>, <a href=
"#pattern-GMonthDayElement">GMonthDayElement</a>, <a href=
"#pattern-GDayElement">GDayElement</a>, <a href=
"#pattern-GMonthElement">GMonthElement</a>, <a href=
"#pattern-HexBinaryElement">HexBinaryElement</a>, <a href=
"#pattern-LanguageElement">LanguageElement</a>, <a href=
"#pattern-NMTOKENElement">NMTOKENElement</a>, <a href=
"#pattern-NMTOKENSElement">NMTOKENSElement</a>, <a href=
"#pattern-IDElement">IDElement</a>, <a href=
"#pattern-IDREFElement">IDREFElement</a>, <a href=
"#pattern-IDREFSElement">IDREFSElement</a>, <a href=
"#pattern-ENTITYElement">ENTITYElement</a>, <a href=
"#pattern-ENTITIESElement">ENTITIESElement</a>, <a href=
"#pattern-IntegerElement">IntegerElement</a>, <a href=
"#pattern-NonPositiveIntegerElement">NonPositiveIntegerElement</a>,
<a href=
"#pattern-NegativeIntegerElement">NegativeIntegerElement</a>,
<a href=
"#pattern-NonNegativeIntegerElement">NonNegativeIntegerElement</a>,
<a href="#pattern-UnsignedLongElement">UnsignedLongElement</a>,
<a href="#pattern-UnsignedIntElement">UnsignedIntElement</a>,
<a href="#pattern-UnsignedShortElement">UnsignedShortElement</a>,
<a href="#pattern-UnsignedByteElement">UnsignedByteElement</a>,
<a href="#pattern-SubstitutionGroup">SubstitutionGroup</a>,
<a href="#pattern-Unique">Unique</a></td>
</tr>
<tr id="xsd_element_enumeration">
<th>xs:enumeration</th>
<td><a href=
"#pattern-NMTOKENEnumerationType">NMTOKENEnumerationType</a>,
<a href="#pattern-IntEnumerationType">IntEnumerationType</a>,
<a href="#pattern-ShortEnumerationType">ShortEnumerationType</a>,
<a href="#pattern-LongEnumerationType">LongEnumerationType</a>,
<a href="#pattern-DoubleEnumerationType">DoubleEnumerationType</a>,
<a href=
"#pattern-IntegerEnumerationType">IntegerEnumerationType</a>,
<a href=
"#pattern-DecimalEnumerationType">DecimalEnumerationType</a>,
<a href="#pattern-FloatEnumerationType">FloatEnumerationType</a>,
<a href=
"#pattern-NonNegativeIntegerEnumerationType">NonNegativeIntegerEnumerationType</a>,
<a href=
"#pattern-PositiveIntegerEnumerationType">PositiveIntegerEnumerationType</a>,
<a href=
"#pattern-UnsignedIntEnumerationType">UnsignedIntEnumerationType</a>,
<a href=
"#pattern-UnsignedLongEnumerationType">UnsignedLongEnumerationType</a>,
<a href=
"#pattern-UnsignedShortEnumerationType">UnsignedShortEnumerationType</a>,
<a href="#pattern-TokenEnumerationType">TokenEnumerationType</a>,
<a href=
"#pattern-LanguageEnumerationType">LanguageEnumerationType</a>,
<a href=
"#pattern-SimpleTypeEnumerationType">SimpleTypeEnumerationType</a>,
<a href="#pattern-QNameEnumerationType">QNameEnumerationType</a>,
<a href="#pattern-AnyURIEnumerationType">AnyURIEnumerationType</a>,
<a href="#pattern-PrecisionDecimal">PrecisionDecimal</a></td>
</tr>
<tr id="xsd_element_field">
<th>xs:field</th>
<td><a href="#pattern-ElementKey">ElementKey</a>, <a href=
"#pattern-Unique">Unique</a></td>
</tr>
<tr id="xsd_element_fractionDigits">
<th>xs:fractionDigits</th>
<td><a href=
"#pattern-DecimalSimpleTypeFractionDigits">DecimalSimpleTypeFractionDigits</a></td>
</tr>
<tr id="xsd_element_group">
<th>xs:group</th>
<td><a href=
"#pattern-ComplexTypeOnlyAttributes">ComplexTypeOnlyAttributes</a>,
<a href=
"#pattern-ComplexTypeOnlyAttributeGroup">ComplexTypeOnlyAttributeGroup</a>,
<a href="#pattern-SequenceSequenceGroup">SequenceSequenceGroup</a>,
<a href="#pattern-ElementGroup">ElementGroup</a></td>
</tr>
<tr id="xsd_element_import">
<th>xs:import</th>
<td><a href=
"#pattern-ImportSchemaNamespace">ImportSchemaNamespace</a></td>
</tr>
<tr id="xsd_element_include">
<th>xs:include</th>
<td>N/A</td>
</tr>
<tr id="xsd_element_key">
<th>xs:key</th>
<td><a href=
"#pattern-ElementDefaultAnyType">ElementDefaultAnyType</a>,
<a href="#pattern-ElementKey">ElementKey</a></td>
</tr>
<tr id="xsd_element_keyref">
<th>xs:keyref</th>
<td><a href=
"#pattern-ElementDefaultAnyType">ElementDefaultAnyType</a></td>
</tr>
<tr id="xsd_element_length">
<th>xs:length</th>
<td><a href="#pattern-RestrictedLength">RestrictedLength</a></td>
</tr>
<tr id="xsd_element_list">
<th>xs:list</th>
<td><a href="#pattern-List">List</a></td>
</tr>
<tr id="xsd_element_maxExclusive">
<th>xs:maxExclusive</th>
<td><a href=
"#pattern-RestrictedMaxExclusive">RestrictedMaxExclusive</a></td>
</tr>
<tr id="xsd_element_maxInclusive">
<th>xs:maxInclusive</th>
<td><a href=
"#pattern-RestrictedMaxInclusive">RestrictedMaxInclusive</a></td>
</tr>
<tr id="xsd_element_maxLength">
<th>xs:maxLength</th>
<td><a href=
"#pattern-RestrictedStringMaxLength">RestrictedStringMaxLength</a>,
<a href=
"#pattern-RestrictedStringMinMaxLength">RestrictedStringMinMaxLength</a>,
<a href="#pattern-RestrictedMaxLength">RestrictedMaxLength</a></td>
</tr>
<tr id="xsd_element_minExclusive">
<th>xs:minExclusive</th>
<td><a href=
"#pattern-RestrictedMinExclusive">RestrictedMinExclusive</a></td>
</tr>
<tr id="xsd_element_minInclusive">
<th>xs:minInclusive</th>
<td><a href=
"#pattern-RestrictedMinInclusive">RestrictedMinInclusive</a></td>
</tr>
<tr id="xsd_element_minLength">
<th>xs:minLength</th>
<td><a href=
"#pattern-RestrictedStringMinLength">RestrictedStringMinLength</a>,
<a href=
"#pattern-RestrictedStringMinMaxLength">RestrictedStringMinMaxLength</a>,
<a href="#pattern-RestrictedMinLength">RestrictedMinLength</a></td>
</tr>
<tr id="xsd_element_notation">
<th>xs:notation</th>
<td>N/A</td>
</tr>
<tr id="xsd_element_pattern">
<th>xs:pattern</th>
<td><a href=
"#pattern-StringSimpleTypePattern">StringSimpleTypePattern</a>,
<a href="#pattern-IntSimpleTypePattern">IntSimpleTypePattern</a>,
<a href=
"#pattern-IntegerSimpleTypePattern">IntegerSimpleTypePattern</a>,
<a href="#pattern-LongSimpleTypePattern">LongSimpleTypePattern</a>,
<a href=
"#pattern-DecimalSimpleTypePattern">DecimalSimpleTypePattern</a>,
<a href=
"#pattern-FloatSimpleTypePattern">FloatSimpleTypePattern</a>,
<a href=
"#pattern-DoubleSimpleTypePattern">DoubleSimpleTypePattern</a>,
<a href=
"#pattern-ShortSimpleTypePattern">ShortSimpleTypePattern</a>,
<a href="#pattern-ByteSimpleTypePattern">ByteSimpleTypePattern</a>,
<a href=
"#pattern-NonNegativeIntegerSimpleTypePattern">NonNegativeIntegerSimpleTypePattern</a>,
<a href=
"#pattern-PositiveIntegerSimpleTypePattern">PositiveIntegerSimpleTypePattern</a>,
<a href=
"#pattern-UnsignedLongSimpleTypePattern">UnsignedLongSimpleTypePattern</a>,
<a href=
"#pattern-UnsignedIntSimpleTypePattern">UnsignedIntSimpleTypePattern</a>,
<a href=
"#pattern-UnsignedShortSimpleTypePattern">UnsignedShortSimpleTypePattern</a>,
<a href="#pattern-DateSimpleTypePattern">DateSimpleTypePattern</a>,
<a href=
"#pattern-GYearSimpleTypePattern">GYearSimpleTypePattern</a>,
<a href=
"#pattern-GMonthSimpleTypePattern">GMonthSimpleTypePattern</a>,
<a href="#pattern-GDaySimpleTypePattern">GDaySimpleTypePattern</a>,
<a href=
"#pattern-GYearMonthSimpleTypePattern">GYearMonthSimpleTypePattern</a>,
<a href=
"#pattern-GMonthDaySimpleTypePattern">GMonthDaySimpleTypePattern</a>,
<a href=
"#pattern-TokenSimpleTypePattern">TokenSimpleTypePattern</a>,
<a href="#pattern-RestrictedPattern">RestrictedPattern</a></td>
</tr>
<tr id="xsd_element_redefine">
<th>xs:redefine</th>
<td><a href="#pattern-Redefine">Redefine</a></td>
</tr>
<tr id="xsd_element_restriction">
<th>xs:restriction</th>
<td><a href=
"#pattern-NMTOKENEnumerationType">NMTOKENEnumerationType</a>,
<a href="#pattern-IntEnumerationType">IntEnumerationType</a>,
<a href="#pattern-ShortEnumerationType">ShortEnumerationType</a>,
<a href="#pattern-LongEnumerationType">LongEnumerationType</a>,
<a href="#pattern-DoubleEnumerationType">DoubleEnumerationType</a>,
<a href=
"#pattern-IntegerEnumerationType">IntegerEnumerationType</a>,
<a href=
"#pattern-DecimalEnumerationType">DecimalEnumerationType</a>,
<a href="#pattern-FloatEnumerationType">FloatEnumerationType</a>,
<a href=
"#pattern-NonNegativeIntegerEnumerationType">NonNegativeIntegerEnumerationType</a>,
<a href=
"#pattern-PositiveIntegerEnumerationType">PositiveIntegerEnumerationType</a>,
<a href=
"#pattern-UnsignedIntEnumerationType">UnsignedIntEnumerationType</a>,
<a href=
"#pattern-UnsignedLongEnumerationType">UnsignedLongEnumerationType</a>,
<a href=
"#pattern-UnsignedShortEnumerationType">UnsignedShortEnumerationType</a>,
<a href="#pattern-TokenEnumerationType">TokenEnumerationType</a>,
<a href=
"#pattern-LanguageEnumerationType">LanguageEnumerationType</a>,
<a href=
"#pattern-SimpleTypeEnumerationType">SimpleTypeEnumerationType</a>,
<a href=
"#pattern-DecimalSimpleTypeTotalDigits">DecimalSimpleTypeTotalDigits</a>,
<a href=
"#pattern-DecimalSimpleTypeFractionDigits">DecimalSimpleTypeFractionDigits</a>,
<a href="#pattern-QNameEnumerationType">QNameEnumerationType</a>,
<a href="#pattern-AnyURIEnumerationType">AnyURIEnumerationType</a>,
<a href="#pattern-SOAPEncodedArray">SOAPEncodedArray</a>, <a href=
"#pattern-RestrictedSimpleContent">RestrictedSimpleContent</a>,
<a href=
"#pattern-ComplexTypeAttributeRestriction">ComplexTypeAttributeRestriction</a>,
<a href=
"#pattern-ComplexTypeSequenceRestriction">ComplexTypeSequenceRestriction</a>,
<a href=
"#pattern-ComplexContentRestrictionAnyAttribute">ComplexContentRestrictionAnyAttribute</a>,
<a href=
"#pattern-StringSimpleTypePattern">StringSimpleTypePattern</a>,
<a href="#pattern-IntSimpleTypePattern">IntSimpleTypePattern</a>,
<a href=
"#pattern-IntegerSimpleTypePattern">IntegerSimpleTypePattern</a>,
<a href="#pattern-LongSimpleTypePattern">LongSimpleTypePattern</a>,
<a href=
"#pattern-DecimalSimpleTypePattern">DecimalSimpleTypePattern</a>,
<a href=
"#pattern-FloatSimpleTypePattern">FloatSimpleTypePattern</a>,
<a href=
"#pattern-DoubleSimpleTypePattern">DoubleSimpleTypePattern</a>,
<a href=
"#pattern-ShortSimpleTypePattern">ShortSimpleTypePattern</a>,
<a href="#pattern-ByteSimpleTypePattern">ByteSimpleTypePattern</a>,
<a href=
"#pattern-NonNegativeIntegerSimpleTypePattern">NonNegativeIntegerSimpleTypePattern</a>,
<a href=
"#pattern-PositiveIntegerSimpleTypePattern">PositiveIntegerSimpleTypePattern</a>,
<a href=
"#pattern-UnsignedLongSimpleTypePattern">UnsignedLongSimpleTypePattern</a>,
<a href=
"#pattern-UnsignedIntSimpleTypePattern">UnsignedIntSimpleTypePattern</a>,
<a href=
"#pattern-UnsignedShortSimpleTypePattern">UnsignedShortSimpleTypePattern</a>,
<a href="#pattern-DateSimpleTypePattern">DateSimpleTypePattern</a>,
<a href=
"#pattern-GYearSimpleTypePattern">GYearSimpleTypePattern</a>,
<a href=
"#pattern-GMonthSimpleTypePattern">GMonthSimpleTypePattern</a>,
<a href="#pattern-GDaySimpleTypePattern">GDaySimpleTypePattern</a>,
<a href=
"#pattern-GYearMonthSimpleTypePattern">GYearMonthSimpleTypePattern</a>,
<a href=
"#pattern-GMonthDaySimpleTypePattern">GMonthDaySimpleTypePattern</a>,
<a href=
"#pattern-TokenSimpleTypePattern">TokenSimpleTypePattern</a>,
<a href=
"#pattern-RestrictedStringMinLength">RestrictedStringMinLength</a>,
<a href=
"#pattern-RestrictedStringMaxLength">RestrictedStringMaxLength</a>,
<a href=
"#pattern-RestrictedStringMinMaxLength">RestrictedStringMinMaxLength</a>,
<a href="#pattern-SimpleTypeRenamed">SimpleTypeRenamed</a>,
<a href="#pattern-RestrictedMinInclusive">RestrictedMinInclusive</a>,
<a href=
"#pattern-RestrictedMaxInclusive">RestrictedMaxInclusive</a>,
<a href=
"#pattern-RestrictedMinExclusive">RestrictedMinExclusive</a>,
<a href=
"#pattern-RestrictedMaxExclusive">RestrictedMaxExclusive</a>,
<a href="#pattern-RestrictedLength">RestrictedLength</a>, <a href=
"#pattern-RestrictedMaxLength">RestrictedMaxLength</a>, <a href=
"#pattern-RestrictedMinLength">RestrictedMinLength</a>, <a href=
"#pattern-RestrictedPattern">RestrictedPattern</a>, <a href=
"#pattern-RestrictedWhitespacePreserve">RestrictedWhitespacePreserve</a>,
<a href=
"#pattern-RestrictedWhitespaceCollapse">RestrictedWhitespaceCollapse</a>,
<a href=
"#pattern-RestrictedWhitespaceReplace">RestrictedWhitespaceReplace</a>,
<a href="#pattern-PrecisionDecimal">PrecisionDecimal</a></td>
</tr>
<tr id="xsd_element_schema">
<th>xs:schema</th>
<td><a href=
"#pattern-LocalElementSimpleType">LocalElementSimpleType</a>,
<a href=
"#pattern-LocalElementComplexTypeEmptyExtension">LocalElementComplexTypeEmptyExtension</a>,
<a href=
"#pattern-LocalAttributeSimpleType">LocalAttributeSimpleType</a></td>
</tr>
<tr id="xsd_element_selector">
<th>xs:selector</th>
<td><a href="#pattern-ElementKey">ElementKey</a>, <a href=
"#pattern-Unique">Unique</a></td>
</tr>
<tr id="xsd_element_sequence">
<th>xs:sequence</th>
<td><a href=
"#pattern-GlobalElementComplexTypeSequenceExtension">GlobalElementComplexTypeSequenceExtension</a>,
<a href=
"#pattern-AttributeElementNameClash">AttributeElementNameClash</a>,
<a href=
"#pattern-ComplexTypeOnlyAttributes">ComplexTypeOnlyAttributes</a>,
<a href=
"#pattern-ComplexTypeOnlyAttributeGroup">ComplexTypeOnlyAttributeGroup</a>,
<a href=
"#pattern-GlobalElementSequenceAny">GlobalElementSequenceAny</a>,
<a href=
"#pattern-ComplexTypeSequenceRestriction">ComplexTypeSequenceRestriction</a>,
<a href=
"#pattern-ComplexTypeSequenceChoice">ComplexTypeSequenceChoice</a>,
<a href=
"#pattern-SequenceSequenceElement">SequenceSequenceElement</a>,
<a href="#pattern-SequenceMinOccurs0">SequenceMinOccurs0</a>,
<a href=
"#pattern-SequenceMinOccurs0MaxOccursUnbounded">SequenceMinOccurs0MaxOccursUnbounded</a>,
<a href=
"#pattern-SequenceMinOccurs1MaxOccursUnbounded">SequenceMinOccurs1MaxOccursUnbounded</a>,
<a href=
"#pattern-SequenceMinOccursFinite">SequenceMinOccursFinite</a>,
<a href=
"#pattern-SequenceMaxOccursFinite">SequenceMaxOccursFinite</a>,
<a href=
"#pattern-ExtendedSequenceStrict">ExtendedSequenceStrict</a>,
<a href="#pattern-ExtendedSequenceLax">ExtendedSequenceLax</a>,
<a href="#pattern-ExtendedSequenceSkip">ExtendedSequenceSkip</a>,
<a href=
"#pattern-ExtendedSequenceStrictAny">ExtendedSequenceStrictAny</a>,
<a href=
"#pattern-ExtendedSequenceLaxAny">ExtendedSequenceLaxAny</a>,
<a href=
"#pattern-ExtendedSequenceSkipAny">ExtendedSequenceSkipAny</a>,
<a href=
"#pattern-ExtendedSequenceStrictOther">ExtendedSequenceStrictOther</a>,
<a href=
"#pattern-ExtendedSequenceLaxOther">ExtendedSequenceLaxOther</a>,
<a href=
"#pattern-ExtendedSequenceSkipOther">ExtendedSequenceSkipOther</a>,
<a href="#pattern-SequenceAnyStrict">SequenceAnyStrict</a>,
<a href="#pattern-ExtendedSequenceNamespacedFinite">ExtendedSequenceNamespacedFinite</a>,
<a href="#pattern-SequenceSequenceGroup">SequenceSequenceGroup</a>,
<a href="#pattern-ChoiceSequence">ChoiceSequence</a>, <a href=
"#pattern-SequenceChoice">SequenceChoice</a>, <a href=
"#pattern-ComplexTypeSequenceChoiceAny">ComplexTypeSequenceChoiceAny</a>,
<a href="#pattern-ElementGroup">ElementGroup</a></td>
</tr>
<tr id="xsd_element_simpleContent">
<th>xs:simpleContent</th>
<td><a href=
"#pattern-ComplexTypeOnlyAttributes">ComplexTypeOnlyAttributes</a>,
<a href=
"#pattern-ComplexTypeOnlyAttributeGroup">ComplexTypeOnlyAttributeGroup</a>,
<a href="#pattern-ExtendedSimpleContent">ExtendedSimpleContent</a>,
<a href=
"#pattern-RestrictedSimpleContent">RestrictedSimpleContent</a>,
<a href=
"#pattern-SimpleContentAnyAttributeSkip">SimpleContentAnyAttributeSkip</a>,
<a href=
"#pattern-SimpleContentAnyAttributeLax">SimpleContentAnyAttributeLax</a>,
<a href=
"#pattern-SimpleContentAnyAttributeStrict">SimpleContentAnyAttributeStrict</a></td>
</tr>
<tr id="xsd_element_simpleType">
<th>xs:simpleType</th>
<td><a href=
"#pattern-GlobalElementSimpleType">GlobalElementSimpleType</a>,
<a href=
"#pattern-GlobalAttributeSimpleType">GlobalAttributeSimpleType</a>,
<a href=
"#pattern-LocalElementSimpleType">LocalElementSimpleType</a>,
<a href="#pattern-ElementDefaultAnyType">ElementDefaultAnyType</a>,
<a href=
"#pattern-LocalAttributeSimpleType">LocalAttributeSimpleType</a>,
<a href=
"#pattern-NMTOKENEnumerationType">NMTOKENEnumerationType</a>,
<a href="#pattern-IntEnumerationType">IntEnumerationType</a>,
<a href="#pattern-ShortEnumerationType">ShortEnumerationType</a>,
<a href="#pattern-LongEnumerationType">LongEnumerationType</a>,
<a href="#pattern-DoubleEnumerationType">DoubleEnumerationType</a>,
<a href=
"#pattern-IntegerEnumerationType">IntegerEnumerationType</a>,
<a href=
"#pattern-DecimalEnumerationType">DecimalEnumerationType</a>,
<a href="#pattern-FloatEnumerationType">FloatEnumerationType</a>,
<a href=
"#pattern-NonNegativeIntegerEnumerationType">NonNegativeIntegerEnumerationType</a>,
<a href=
"#pattern-PositiveIntegerEnumerationType">PositiveIntegerEnumerationType</a>,
<a href=
"#pattern-UnsignedIntEnumerationType">UnsignedIntEnumerationType</a>,
<a href=
"#pattern-UnsignedLongEnumerationType">UnsignedLongEnumerationType</a>,
<a href=
"#pattern-UnsignedShortEnumerationType">UnsignedShortEnumerationType</a>,
<a href="#pattern-TokenEnumerationType">TokenEnumerationType</a>,
<a href=
"#pattern-LanguageEnumerationType">LanguageEnumerationType</a>,
<a href=
"#pattern-SimpleTypeEnumerationType">SimpleTypeEnumerationType</a>,
<a href=
"#pattern-DecimalSimpleTypeTotalDigits">DecimalSimpleTypeTotalDigits</a>,
<a href=
"#pattern-DecimalSimpleTypeFractionDigits">DecimalSimpleTypeFractionDigits</a>,
<a href="#pattern-QNameEnumerationType">QNameEnumerationType</a>,
<a href="#pattern-AnyURIEnumerationType">AnyURIEnumerationType</a>,
<a href="#pattern-UnionMemberTypes">UnionMemberTypes</a>, <a href=
"#pattern-UnionSimpleTypes">UnionSimpleTypes</a>, <a href=
"#pattern-UnionSimpleAndMemberTypes">UnionSimpleAndMemberTypes</a>,
<a href=
"#pattern-RestrictedStringMinLength">RestrictedStringMinLength</a>,
<a href=
"#pattern-RestrictedStringMaxLength">RestrictedStringMaxLength</a>,
<a href=
"#pattern-RestrictedStringMinMaxLength">RestrictedStringMinMaxLength</a>,
<a href="#pattern-SimpleTypeRenamed">SimpleTypeRenamed</a>,
<a href="#pattern-RestrictedMinInclusive">RestrictedMinInclusive</a>,
<a href=
"#pattern-RestrictedMaxInclusive">RestrictedMaxInclusive</a>,
<a href=
"#pattern-RestrictedMinExclusive">RestrictedMinExclusive</a>,
<a href=
"#pattern-RestrictedMaxExclusive">RestrictedMaxExclusive</a>,
<a href="#pattern-RestrictedLength">RestrictedLength</a>, <a href=
"#pattern-RestrictedMaxLength">RestrictedMaxLength</a>, <a href=
"#pattern-RestrictedMinLength">RestrictedMinLength</a>, <a href=
"#pattern-RestrictedPattern">RestrictedPattern</a>, <a href=
"#pattern-RestrictedWhitespacePreserve">RestrictedWhitespacePreserve</a>,
<a href=
"#pattern-RestrictedWhitespaceCollapse">RestrictedWhitespaceCollapse</a>,
<a href=
"#pattern-RestrictedWhitespaceReplace">RestrictedWhitespaceReplace</a>,
<a href="#pattern-PrecisionDecimal">PrecisionDecimal</a></td>
</tr>
<tr id="xsd_element_totalDigits">
<th>xs:totalDigits</th>
<td><a href=
"#pattern-DecimalSimpleTypeTotalDigits">DecimalSimpleTypeTotalDigits</a>,
<a href="#pattern-PrecisionDecimal">PrecisionDecimal</a></td>
</tr>
<tr id="xsd_element_union">
<th>xs:union</th>
<td><a href="#pattern-UnionMemberTypes">UnionMemberTypes</a>,
<a href="#pattern-UnionSimpleTypes">UnionSimpleTypes</a>, <a href=
"#pattern-UnionSimpleAndMemberTypes">UnionSimpleAndMemberTypes</a>,
<a href="#pattern-PrecisionDecimal">PrecisionDecimal</a></td>
</tr>
<tr id="xsd_element_unique">
<th>xs:unique</th>
<td><a href=
"#pattern-ElementDefaultAnyType">ElementDefaultAnyType</a>,
<a href="#pattern-Unique">Unique</a></td>
</tr>
<tr id="xsd_element_whiteSpace">
<th>xs:whiteSpace</th>
<td><a href=
"#pattern-RestrictedWhitespacePreserve">RestrictedWhitespacePreserve</a>,
<a href=
"#pattern-RestrictedWhitespaceCollapse">RestrictedWhitespaceCollapse</a>,
<a href=
"#pattern-RestrictedWhitespaceReplace">RestrictedWhitespaceReplace</a></td>
</tr>
</tbody>
</table>
<table id="schema_attributes" border="1" width="100%">
<caption>Table E. List of supported and non-supported schema
attributes</caption>
<thead>
<tr>
<th>Attribute</th>
<th>Patterns</th>
</tr>
</thead>
<tbody>
<tr id="xsd_simple_type_abstract">
<th>@abstract</th>
<td><a href=
"#pattern-GlobalElementAbstract">GlobalElementAbstract</a>,
<a href="#pattern-GlobalComplexTypeAbstract">GlobalComplexTypeAbstract</a></td>
</tr>
<tr id="xsd_simple_type_attributeFormDefault">
<th>@attributeFormDefault</th>
<td><a href=
"#pattern-QualifiedLocalAttributes">QualifiedLocalAttributes</a></td>
</tr>
<tr id="xsd_simple_type_base">
<th>@base</th>
<td><a href=
"#pattern-GlobalElementComplexTypeSequenceExtension">GlobalElementComplexTypeSequenceExtension</a>,
<a href=
"#pattern-GlobalElementComplexTypeEmptyExtension">GlobalElementComplexTypeEmptyExtension</a>,
<a href=
"#pattern-GlobalAttributeSimpleType">GlobalAttributeSimpleType</a>,
<a href=
"#pattern-LocalElementComplexTypeEmptyExtension">LocalElementComplexTypeEmptyExtension</a>,
<a href=
"#pattern-GlobalComplexTypeEmptyExtension">GlobalComplexTypeEmptyExtension</a>,
<a href=
"#pattern-NMTOKENEnumerationType">NMTOKENEnumerationType</a>,
<a href="#pattern-IntEnumerationType">IntEnumerationType</a>,
<a href="#pattern-ShortEnumerationType">ShortEnumerationType</a>,
<a href="#pattern-LongEnumerationType">LongEnumerationType</a>,
<a href="#pattern-DoubleEnumerationType">DoubleEnumerationType</a>,
<a href=
"#pattern-IntegerEnumerationType">IntegerEnumerationType</a>,
<a href=
"#pattern-DecimalEnumerationType">DecimalEnumerationType</a>,
<a href="#pattern-FloatEnumerationType">FloatEnumerationType</a>,
<a href=
"#pattern-NonNegativeIntegerEnumerationType">NonNegativeIntegerEnumerationType</a>,
<a href=
"#pattern-PositiveIntegerEnumerationType">PositiveIntegerEnumerationType</a>,
<a href=
"#pattern-UnsignedIntEnumerationType">UnsignedIntEnumerationType</a>,
<a href=
"#pattern-UnsignedLongEnumerationType">UnsignedLongEnumerationType</a>,
<a href=
"#pattern-UnsignedShortEnumerationType">UnsignedShortEnumerationType</a>,
<a href="#pattern-TokenEnumerationType">TokenEnumerationType</a>,
<a href=
"#pattern-LanguageEnumerationType">LanguageEnumerationType</a>,
<a href=
"#pattern-SimpleTypeEnumerationType">SimpleTypeEnumerationType</a>,
<a href=
"#pattern-DecimalSimpleTypeTotalDigits">DecimalSimpleTypeTotalDigits</a>,
<a href=
"#pattern-DecimalSimpleTypeFractionDigits">DecimalSimpleTypeFractionDigits</a>,
<a href="#pattern-QNameEnumerationType">QNameEnumerationType</a>,
<a href="#pattern-AnyURIEnumerationType">AnyURIEnumerationType</a>,
<a href="#pattern-ExtendedSimpleContent">ExtendedSimpleContent</a>,
<a href="#pattern-SOAPEncodedArray">SOAPEncodedArray</a>, <a href=
"#pattern-RestrictedSimpleContent">RestrictedSimpleContent</a>,
<a href=
"#pattern-ComplexTypeChoiceExtension">ComplexTypeChoiceExtension</a>,
<a href=
"#pattern-ComplexTypeAttributeGroupExtension">ComplexTypeAttributeGroupExtension</a>,
<a href=
"#pattern-ComplexTypeAttributeRestriction">ComplexTypeAttributeRestriction</a>,
<a href=
"#pattern-ComplexTypeSequenceRestriction">ComplexTypeSequenceRestriction</a>,
<a href=
"#pattern-ComplexTypeExtensionAnnotationOnly">ComplexTypeExtensionAnnotationOnly</a>,
<a href=
"#pattern-StringSimpleTypePattern">StringSimpleTypePattern</a>,
<a href="#pattern-IntSimpleTypePattern">IntSimpleTypePattern</a>,
<a href=
"#pattern-IntegerSimpleTypePattern">IntegerSimpleTypePattern</a>,
<a href="#pattern-LongSimpleTypePattern">LongSimpleTypePattern</a>,
<a href=
"#pattern-DecimalSimpleTypePattern">DecimalSimpleTypePattern</a>,
<a href=
"#pattern-FloatSimpleTypePattern">FloatSimpleTypePattern</a>,
<a href=
"#pattern-DoubleSimpleTypePattern">DoubleSimpleTypePattern</a>,
<a href=
"#pattern-ShortSimpleTypePattern">ShortSimpleTypePattern</a>,
<a href="#pattern-ByteSimpleTypePattern">ByteSimpleTypePattern</a>,
<a href=
"#pattern-NonNegativeIntegerSimpleTypePattern">NonNegativeIntegerSimpleTypePattern</a>,
<a href=
"#pattern-PositiveIntegerSimpleTypePattern">PositiveIntegerSimpleTypePattern</a>,
<a href=
"#pattern-UnsignedLongSimpleTypePattern">UnsignedLongSimpleTypePattern</a>,
<a href=
"#pattern-UnsignedIntSimpleTypePattern">UnsignedIntSimpleTypePattern</a>,
<a href=
"#pattern-UnsignedShortSimpleTypePattern">UnsignedShortSimpleTypePattern</a>,
<a href="#pattern-DateSimpleTypePattern">DateSimpleTypePattern</a>,
<a href=
"#pattern-GYearSimpleTypePattern">GYearSimpleTypePattern</a>,
<a href=
"#pattern-GMonthSimpleTypePattern">GMonthSimpleTypePattern</a>,
<a href="#pattern-GDaySimpleTypePattern">GDaySimpleTypePattern</a>,
<a href=
"#pattern-GYearMonthSimpleTypePattern">GYearMonthSimpleTypePattern</a>,
<a href=
"#pattern-GMonthDaySimpleTypePattern">GMonthDaySimpleTypePattern</a>,
<a href=
"#pattern-TokenSimpleTypePattern">TokenSimpleTypePattern</a>,
<a href=
"#pattern-RestrictedStringMinLength">RestrictedStringMinLength</a>,
<a href=
"#pattern-RestrictedStringMaxLength">RestrictedStringMaxLength</a>,
<a href=
"#pattern-RestrictedStringMinMaxLength">RestrictedStringMinMaxLength</a>,
<a href="#pattern-SimpleTypeRenamed">SimpleTypeRenamed</a>,
<a href="#pattern-RestrictedMinInclusive">RestrictedMinInclusive</a>,
<a href=
"#pattern-RestrictedMaxInclusive">RestrictedMaxInclusive</a>,
<a href=
"#pattern-RestrictedMinExclusive">RestrictedMinExclusive</a>,
<a href=
"#pattern-RestrictedMaxExclusive">RestrictedMaxExclusive</a>,
<a href="#pattern-RestrictedLength">RestrictedLength</a>, <a href=
"#pattern-RestrictedMaxLength">RestrictedMaxLength</a>, <a href=
"#pattern-RestrictedMinLength">RestrictedMinLength</a>, <a href=
"#pattern-RestrictedPattern">RestrictedPattern</a>, <a href=
"#pattern-RestrictedWhitespacePreserve">RestrictedWhitespacePreserve</a>,
<a href=
"#pattern-RestrictedWhitespaceCollapse">RestrictedWhitespaceCollapse</a>,
<a href=
"#pattern-RestrictedWhitespaceReplace">RestrictedWhitespaceReplace</a>,
<a href="#pattern-PrecisionDecimal">PrecisionDecimal</a>, <a href=
"#pattern-Redefine">Redefine</a></td>
</tr>
<tr id="xsd_simple_type_block">
<th>@block</th>
<td><a href="#pattern-BlockDefault">BlockDefault</a>, <a href=
"#pattern-GlobalElementBlock">GlobalElementBlock</a>, <a href=
"#pattern-GlobalComplexTypeBlock">GlobalComplexTypeBlock</a></td>
</tr>
<tr id="xsd_simple_type_blockDefault">
<th>@blockDefault</th>
<td><a href="#pattern-BlockDefault">BlockDefault</a></td>
</tr>
<tr id="xsd_simple_type_default">
<th>@default</th>
<td><a href="#pattern-ElementDefault">ElementDefault</a>, <a href=
"#pattern-AttributeDefault">AttributeDefault</a></td>
</tr>
<tr id="xsd_simple_type_elementFormDefault">
<th>@elementFormDefault</th>
<td><a href=
"#pattern-UnqualifiedLocalElements">UnqualifiedLocalElements</a></td>
</tr>
<tr id="xsd_simple_type_final">
<th>@final</th>
<td><a href="#pattern-FinalDefault">FinalDefault</a>, <a href=
"#pattern-GlobalElementFinal">GlobalElementFinal</a>, <a href=
"#pattern-ComplexTypeFinal">ComplexTypeFinal</a></td>
</tr>
<tr id="xsd_simple_type_finalDefault">
<th>@finalDefault</th>
<td><a href="#pattern-FinalDefault">FinalDefault</a></td>
</tr>
<tr id="xsd_simple_type_fixed">
<th>@fixed</th>
<td><a href="#pattern-ElementFixed">ElementFixed</a>, <a href=
"#pattern-AttributeFixed">AttributeFixed</a>, <a href=
"#pattern-RestrictedWhitespacePreserve">RestrictedWhitespacePreserve</a>,
<a href=
"#pattern-RestrictedWhitespaceCollapse">RestrictedWhitespaceCollapse</a>,
<a href=
"#pattern-RestrictedWhitespaceReplace">RestrictedWhitespaceReplace</a></td>
</tr>
<tr id="xsd_simple_type_form">
<th>@form</th>
<td><a href=
"#pattern-ElementFormUnqualified">ElementFormUnqualified</a>,
<a href=
"#pattern-AttributeFormQualified">AttributeFormQualified</a></td>
</tr>
<tr id="xsd_simple_type_id">
<th>@id</th>
<td>N/A</td>
</tr>
<tr id="xsd_simple_type_itemType">
<th>@itemType</th>
<td><a href="#pattern-List">List</a></td>
</tr>
<tr id="xsd_simple_type_maxOccurs">
<th>@maxOccurs</th>
<td><a href=
"#pattern-ElementMinOccursFinite">ElementMinOccursFinite</a>,
<a href=
"#pattern-ElementMinOccurs0MaxOccursFinite">ElementMinOccurs0MaxOccursFinite</a>,
<a href=
"#pattern-ElementMaxOccursFinite">ElementMaxOccursFinite</a>,
<a href="#pattern-MaxOccurs0">MaxOccurs0</a>, <a href=
"#pattern-SequenceMinOccurs0">SequenceMinOccurs0</a>, <a href=
"#pattern-SequenceMinOccurs0MaxOccursUnbounded">SequenceMinOccurs0MaxOccursUnbounded</a>,
<a href=
"#pattern-SequenceMinOccurs1MaxOccursUnbounded">SequenceMinOccurs1MaxOccursUnbounded</a>,
<a href=
"#pattern-SequenceMinOccursFinite">SequenceMinOccursFinite</a>,
<a href=
"#pattern-SequenceMaxOccursFinite">SequenceMaxOccursFinite</a>,
<a href=
"#pattern-ExtendedSequenceStrict">ExtendedSequenceStrict</a>,
<a href="#pattern-ExtendedSequenceLax">ExtendedSequenceLax</a>,
<a href="#pattern-ExtendedSequenceSkip">ExtendedSequenceSkip</a>,
<a href=
"#pattern-ExtendedSequenceStrictAny">ExtendedSequenceStrictAny</a>,
<a href=
"#pattern-ExtendedSequenceLaxAny">ExtendedSequenceLaxAny</a>,
<a href=
"#pattern-ExtendedSequenceSkipAny">ExtendedSequenceSkipAny</a>,
<a href=
"#pattern-ExtendedSequenceStrictOther">ExtendedSequenceStrictOther</a>,
<a href=
"#pattern-ExtendedSequenceLaxOther">ExtendedSequenceLaxOther</a>,
<a href=
"#pattern-ExtendedSequenceSkipOther">ExtendedSequenceSkipOther</a>,
<a href="#pattern-SequenceAnyStrict">SequenceAnyStrict</a>,
<a href="#pattern-ExtendedSequenceNamespacedFinite">ExtendedSequenceNamespacedFinite</a>,
<a href=
"#pattern-ChoiceMaxOccursUnbounded">ChoiceMaxOccursUnbounded</a>,
<a href="#pattern-ChoiceMaxOccursFinite">ChoiceMaxOccursFinite</a>,
<a href="#pattern-ComplexTypeChoiceAny">ComplexTypeChoiceAny</a>,
<a href=
"#pattern-ComplexTypeSequenceChoiceAny">ComplexTypeSequenceChoiceAny</a>,
<a href="#pattern-ElementGroup">ElementGroup</a></td>
</tr>
<tr id="xsd_simple_type_memberTypes">
<th>@memberTypes</th>
<td><a href="#pattern-UnionMemberTypes">UnionMemberTypes</a>,
<a href="#pattern-UnionSimpleTypes">UnionSimpleTypes</a>, <a href=
"#pattern-UnionSimpleAndMemberTypes">UnionSimpleAndMemberTypes</a></td>
</tr>
<tr id="xsd_simple_type_minOccurs">
<th>@minOccurs</th>
<td><a href=
"#pattern-ElementMinOccursFinite">ElementMinOccursFinite</a>,
<a href=
"#pattern-ElementMinOccurs0MaxOccursFinite">ElementMinOccurs0MaxOccursFinite</a>,
<a href=
"#pattern-NillableOptionalElement">NillableOptionalElement</a>,
<a href="#pattern-MaxOccurs0">MaxOccurs0</a>, <a href=
"#pattern-SequenceMinOccurs0">SequenceMinOccurs0</a>, <a href=
"#pattern-SequenceMinOccurs0MaxOccursUnbounded">SequenceMinOccurs0MaxOccursUnbounded</a>,
<a href=
"#pattern-SequenceMinOccurs1MaxOccursUnbounded">SequenceMinOccurs1MaxOccursUnbounded</a>,
<a href=
"#pattern-SequenceMinOccursFinite">SequenceMinOccursFinite</a>,
<a href=
"#pattern-ExtendedSequenceStrict">ExtendedSequenceStrict</a>,
<a href="#pattern-ExtendedSequenceLax">ExtendedSequenceLax</a>,
<a href="#pattern-ExtendedSequenceSkip">ExtendedSequenceSkip</a>,
<a href=
"#pattern-ExtendedSequenceStrictAny">ExtendedSequenceStrictAny</a>,
<a href=
"#pattern-ExtendedSequenceLaxAny">ExtendedSequenceLaxAny</a>,
<a href=
"#pattern-ExtendedSequenceSkipAny">ExtendedSequenceSkipAny</a>,
<a href=
"#pattern-ExtendedSequenceStrictOther">ExtendedSequenceStrictOther</a>,
<a href=
"#pattern-ExtendedSequenceLaxOther">ExtendedSequenceLaxOther</a>,
<a href=
"#pattern-ExtendedSequenceSkipOther">ExtendedSequenceSkipOther</a>,
<a href="#pattern-SequenceAnyStrict">SequenceAnyStrict</a>,
<a href="#pattern-ExtendedSequenceNamespacedFinite">ExtendedSequenceNamespacedFinite</a>,
<a href="#pattern-ChoiceMinOccurs0">ChoiceMinOccurs0</a>, <a href=
"#pattern-ChoiceMinOccursFinite">ChoiceMinOccursFinite</a>,
<a href="#pattern-ComplexTypeChoiceAny">ComplexTypeChoiceAny</a>,
<a href=
"#pattern-ComplexTypeSequenceChoiceAny">ComplexTypeSequenceChoiceAny</a>,
<a href="#pattern-ElementGroup">ElementGroup</a></td>
</tr>
<tr id="xsd_simple_type_mixed">
<th>@mixed</th>
<td><a href="#pattern-MixedComplexContent">MixedComplexContent</a>,
<a href="#pattern-MixedContentType">MixedContentType</a></td>
</tr>
<tr id="xsd_simple_type_name">
<th>@name</th>
<td><a href=
"#pattern-ImportSchemaNamespace">ImportSchemaNamespace</a>,
<a href="#pattern-GlobalElementUnqualifiedType">GlobalElementUnqualifiedType</a>,
<a href=
"#pattern-ElementTypeDefaultNamespace">ElementTypeDefaultNamespace</a>,
<a href="#pattern-GlobalElementAll">GlobalElementAll</a>, <a href=
"#pattern-GlobalElementChoice">GlobalElementChoice</a>, <a href=
"#pattern-GlobalElementSimpleType">GlobalElementSimpleType</a>,
<a href=
"#pattern-GlobalElementComplexTypeSequenceExtension">GlobalElementComplexTypeSequenceExtension</a>,
<a href=
"#pattern-GlobalElementComplexTypeEmptyExtension">GlobalElementComplexTypeEmptyExtension</a>,
<a href=
"#pattern-GlobalAttributeUnqualifiedType">GlobalAttributeUnqualifiedType</a>,
<a href=
"#pattern-GlobalAttributeSimpleType">GlobalAttributeSimpleType</a>,
<a href=
"#pattern-AttributeElementNameClash">AttributeElementNameClash</a>,
<a href=
"#pattern-ElementTypeReferenceUnqualified">ElementTypeReferenceUnqualified</a>,
<a href=
"#pattern-LocalElementComplexTypeEmptyExtension">LocalElementComplexTypeEmptyExtension</a>,
<a href="#pattern-ElementDefaultAnyType">ElementDefaultAnyType</a>,
<a href=
"#pattern-AttributeTypeReferenceUnqualified">AttributeTypeReferenceUnqualified</a>,
<a href=
"#pattern-GlobalComplexTypeEmptyExtension">GlobalComplexTypeEmptyExtension</a>,
<a href="#pattern-ComplexTypeAll">ComplexTypeAll</a>, <a href=
"#pattern-ComplexTypeChoice">ComplexTypeChoice</a>, <a href=
"#pattern-GlobalElementSequenceAny">GlobalElementSequenceAny</a>,
<a href="#pattern-AnyAttributeStrict">AnyAttributeStrict</a>,
<a href="#pattern-AnyAttributeLax">AnyAttributeLax</a>, <a href=
"#pattern-AnyAttributeSkip">AnyAttributeSkip</a>, <a href=
"#pattern-AnyAttributeOtherStrict">AnyAttributeOtherStrict</a>,
<a href="#pattern-AnyAttributeOtherLax">AnyAttributeOtherLax</a>,
<a href="#pattern-AnyAttributeOtherSkip">AnyAttributeOtherSkip</a>,
<a href="#pattern-ExtendedSimpleContent">ExtendedSimpleContent</a>,
<a href="#pattern-SOAPEncodedArray">SOAPEncodedArray</a>, <a href=
"#pattern-ComplexTypeChoiceExtension">ComplexTypeChoiceExtension</a>,
<a href=
"#pattern-ComplexTypeAttributeRestriction">ComplexTypeAttributeRestriction</a>,
<a href=
"#pattern-ComplexContentRestrictionAnyAttribute">ComplexContentRestrictionAnyAttribute</a>,
<a href=
"#pattern-ComplexContentExtensionAnyAttribute">ComplexContentExtensionAnyAttribute</a>,
<a href=
"#pattern-SimpleContentAnyAttributeLax">SimpleContentAnyAttributeLax</a>,
<a href=
"#pattern-SimpleContentAnyAttributeStrict">SimpleContentAnyAttributeStrict</a>,
<a href=
"#pattern-AnyAttributeNamespacedFinite">AnyAttributeNamespacedFinite</a>,
<a href=
"#pattern-ComplexTypeSequenceChoice">ComplexTypeSequenceChoice</a>,
<a href=
"#pattern-ExtendedSequenceStrict">ExtendedSequenceStrict</a>,
<a href="#pattern-ExtendedSequenceLax">ExtendedSequenceLax</a>,
<a href="#pattern-ExtendedSequenceSkip">ExtendedSequenceSkip</a>,
<a href=
"#pattern-ExtendedSequenceStrictAny">ExtendedSequenceStrictAny</a>,
<a href=
"#pattern-ExtendedSequenceLaxAny">ExtendedSequenceLaxAny</a>,
<a href=
"#pattern-ExtendedSequenceSkipAny">ExtendedSequenceSkipAny</a>,
<a href=
"#pattern-ExtendedSequenceStrictOther">ExtendedSequenceStrictOther</a>,
<a href=
"#pattern-ExtendedSequenceLaxOther">ExtendedSequenceLaxOther</a>,
<a href=
"#pattern-ExtendedSequenceSkipOther">ExtendedSequenceSkipOther</a>,
<a href="#pattern-SequenceAnyStrict">SequenceAnyStrict</a>,
<a href="#pattern-ExtendedSequenceNamespacedFinite">ExtendedSequenceNamespacedFinite</a>,
<a href="#pattern-ComplexTypeChoiceAny">ComplexTypeChoiceAny</a>,
<a href=
"#pattern-ComplexTypeSequenceChoiceAny">ComplexTypeSequenceChoiceAny</a>,
<a href="#pattern-AttributeGroup">AttributeGroup</a>, <a href=
"#pattern-SubstitutionGroup">SubstitutionGroup</a>, <a href=
"#pattern-ElementGroup">ElementGroup</a>, <a href=
"#pattern-AttributeGroupAnyAttribute">AttributeGroupAnyAttribute</a>,
<a href="#pattern-Redefine">Redefine</a></td>
</tr>
<tr id="xsd_simple_type_namespace">
<th>@namespace</th>
<td><a href=
"#pattern-ImportSchemaNamespace">ImportSchemaNamespace</a>,
<a href="#pattern-AnyAttributeStrict">AnyAttributeStrict</a>,
<a href="#pattern-AnyAttributeLax">AnyAttributeLax</a>, <a href=
"#pattern-AnyAttributeSkip">AnyAttributeSkip</a>, <a href=
"#pattern-AnyAttributeOtherStrict">AnyAttributeOtherStrict</a>,
<a href="#pattern-AnyAttributeOtherLax">AnyAttributeOtherLax</a>,
<a href="#pattern-AnyAttributeOtherSkip">AnyAttributeOtherSkip</a>,
<a href=
"#pattern-ComplexContentRestrictionAnyAttribute">ComplexContentRestrictionAnyAttribute</a>,
<a href=
"#pattern-ComplexContentExtensionAnyAttribute">ComplexContentExtensionAnyAttribute</a>,
<a href=
"#pattern-SimpleContentAnyAttributeLax">SimpleContentAnyAttributeLax</a>,
<a href=
"#pattern-SimpleContentAnyAttributeStrict">SimpleContentAnyAttributeStrict</a>,
<a href=
"#pattern-AnyAttributeNamespacedFinite">AnyAttributeNamespacedFinite</a>,
<a href=
"#pattern-ExtendedSequenceStrict">ExtendedSequenceStrict</a>,
<a href="#pattern-ExtendedSequenceLax">ExtendedSequenceLax</a>,
<a href="#pattern-ExtendedSequenceSkip">ExtendedSequenceSkip</a>,
<a href=
"#pattern-ExtendedSequenceStrictAny">ExtendedSequenceStrictAny</a>,
<a href=
"#pattern-ExtendedSequenceLaxAny">ExtendedSequenceLaxAny</a>,
<a href=
"#pattern-ExtendedSequenceSkipAny">ExtendedSequenceSkipAny</a>,
<a href=
"#pattern-ExtendedSequenceStrictOther">ExtendedSequenceStrictOther</a>,
<a href=
"#pattern-ExtendedSequenceLaxOther">ExtendedSequenceLaxOther</a>,
<a href=
"#pattern-ExtendedSequenceSkipOther">ExtendedSequenceSkipOther</a>,
<a href="#pattern-SequenceAnyStrict">SequenceAnyStrict</a>,
<a href="#pattern-ExtendedSequenceNamespacedFinite">ExtendedSequenceNamespacedFinite</a>,
<a href="#pattern-ComplexTypeChoiceAny">ComplexTypeChoiceAny</a>,
<a href=
"#pattern-ComplexTypeSequenceChoiceAny">ComplexTypeSequenceChoiceAny</a>,
<a href=
"#pattern-AttributeGroupAnyAttribute">AttributeGroupAnyAttribute</a></td>
</tr>
<tr id="xsd_simple_type_nillable">
<th>@nillable</th>
<td><a href=
"#pattern-NillableOptionalElement">NillableOptionalElement</a></td>
</tr>
<tr id="xsd_simple_type_processContents">
<th>@processContents</th>
<td><a href="#pattern-AnyAttributeStrict">AnyAttributeStrict</a>,
<a href="#pattern-AnyAttributeLax">AnyAttributeLax</a>, <a href=
"#pattern-AnyAttributeSkip">AnyAttributeSkip</a>, <a href=
"#pattern-AnyAttributeOtherStrict">AnyAttributeOtherStrict</a>,
<a href="#pattern-AnyAttributeOtherLax">AnyAttributeOtherLax</a>,
<a href="#pattern-AnyAttributeOtherSkip">AnyAttributeOtherSkip</a>,
<a href=
"#pattern-ComplexContentRestrictionAnyAttribute">ComplexContentRestrictionAnyAttribute</a>,
<a href=
"#pattern-ComplexContentExtensionAnyAttribute">ComplexContentExtensionAnyAttribute</a>,
<a href=
"#pattern-SimpleContentAnyAttributeSkip">SimpleContentAnyAttributeSkip</a>,
<a href=
"#pattern-SimpleContentAnyAttributeLax">SimpleContentAnyAttributeLax</a>,
<a href=
"#pattern-SimpleContentAnyAttributeStrict">SimpleContentAnyAttributeStrict</a>,
<a href=
"#pattern-AnyAttributeNamespacedFinite">AnyAttributeNamespacedFinite</a>,
<a href=
"#pattern-ExtendedSequenceStrict">ExtendedSequenceStrict</a>,
<a href="#pattern-ExtendedSequenceLax">ExtendedSequenceLax</a>,
<a href="#pattern-ExtendedSequenceSkip">ExtendedSequenceSkip</a>,
<a href=
"#pattern-ExtendedSequenceStrictAny">ExtendedSequenceStrictAny</a>,
<a href=
"#pattern-ExtendedSequenceLaxAny">ExtendedSequenceLaxAny</a>,
<a href=
"#pattern-ExtendedSequenceSkipAny">ExtendedSequenceSkipAny</a>,
<a href=
"#pattern-ExtendedSequenceStrictOther">ExtendedSequenceStrictOther</a>,
<a href=
"#pattern-ExtendedSequenceLaxOther">ExtendedSequenceLaxOther</a>,
<a href=
"#pattern-ExtendedSequenceSkipOther">ExtendedSequenceSkipOther</a>,
<a href="#pattern-SequenceAnyStrict">SequenceAnyStrict</a>,
<a href="#pattern-ExtendedSequenceNamespacedFinite">ExtendedSequenceNamespacedFinite</a>,
<a href="#pattern-ComplexTypeChoiceAny">ComplexTypeChoiceAny</a>,
<a href=
"#pattern-ComplexTypeSequenceChoiceAny">ComplexTypeSequenceChoiceAny</a>,
<a href=
"#pattern-AttributeGroupAnyAttribute">AttributeGroupAnyAttribute</a></td>
</tr>
<tr id="xsd_simple_type_public">
<th>@public</th>
<td>N/A</td>
</tr>
<tr id="xsd_simple_type_ref">
<th>@ref</th>
<td><a href=
"#pattern-ElementReferenceUnqualified">ElementReferenceUnqualified</a>,
<a href=
"#pattern-AttributeReferenceUnqualified">AttributeReferenceUnqualified</a>,
<a href=
"#pattern-ComplexTypeOnlyAttributeGroup">ComplexTypeOnlyAttributeGroup</a>,
<a href="#pattern-SOAPEncodedArray">SOAPEncodedArray</a>, <a href=
"#pattern-AttributeGroup">AttributeGroup</a>, <a href=
"#pattern-ElementGroup">ElementGroup</a></td>
</tr>
<tr id="xsd_simple_type_refer">
<th>@refer</th>
<td>N/A</td>
</tr>
<tr id="xsd_simple_type_schemaLocation">
<th>@schemaLocation</th>
<td><a href=
"#pattern-ImportSchemaNamespace">ImportSchemaNamespace</a>,
<a href="#pattern-Redefine">Redefine</a></td>
</tr>
<tr id="xsd_simple_type_source">
<th>@source</th>
<td>N/A</td>
</tr>
<tr id="xsd_simple_type_substitutionGroup">
<th>@substitutionGroup</th>
<td><a href="#pattern-SubstitutionGroup">SubstitutionGroup</a></td>
</tr>
<tr id="xsd_simple_type_system">
<th>@system</th>
<td>N/A</td>
</tr>
<tr id="xsd_simple_type_targetNamespace">
<th>@targetNamespace</th>
<td><a href="#pattern-NoTargetNamespace">NoTargetNamespace</a></td>
</tr>
<tr id="xsd_simple_type_type">
<th>@type</th>
<td><a href=
"#pattern-GlobalElementUnqualifiedType">GlobalElementUnqualifiedType</a>,
<a href=
"#pattern-ElementTypeDefaultNamespace">ElementTypeDefaultNamespace</a>,
<a href=
"#pattern-GlobalAttributeUnqualifiedType">GlobalAttributeUnqualifiedType</a>,
<a href=
"#pattern-ElementTypeReferenceUnqualified">ElementTypeReferenceUnqualified</a>,
<a href="#pattern-ElementDefaultAnyType">ElementDefaultAnyType</a>,
<a href=
"#pattern-AttributeTypeReferenceUnqualified">AttributeTypeReferenceUnqualified</a>,
<a href="#pattern-AnySimpleTypeElement">AnySimpleTypeElement</a>,
<a href="#pattern-AnyTypeElement">AnyTypeElement</a>, <a href=
"#pattern-DecimalElement">DecimalElement</a>, <a href=
"#pattern-FloatElement">FloatElement</a>, <a href=
"#pattern-DurationElement">DurationElement</a>, <a href=
"#pattern-TimeElement">TimeElement</a>, <a href=
"#pattern-DateElement">DateElement</a>, <a href=
"#pattern-GYearMonthElement">GYearMonthElement</a>, <a href=
"#pattern-GYearElement">GYearElement</a>, <a href=
"#pattern-GMonthDayElement">GMonthDayElement</a>, <a href=
"#pattern-GDayElement">GDayElement</a>, <a href=
"#pattern-GMonthElement">GMonthElement</a>, <a href=
"#pattern-HexBinaryElement">HexBinaryElement</a>, <a href=
"#pattern-LanguageElement">LanguageElement</a>, <a href=
"#pattern-NMTOKENElement">NMTOKENElement</a>, <a href=
"#pattern-NMTOKENSElement">NMTOKENSElement</a>, <a href=
"#pattern-IDElement">IDElement</a>, <a href=
"#pattern-IDREFElement">IDREFElement</a>, <a href=
"#pattern-IDREFSElement">IDREFSElement</a>, <a href=
"#pattern-ENTITYElement">ENTITYElement</a>, <a href=
"#pattern-ENTITIESElement">ENTITIESElement</a>, <a href=
"#pattern-IntegerElement">IntegerElement</a>, <a href=
"#pattern-NonPositiveIntegerElement">NonPositiveIntegerElement</a>,
<a href=
"#pattern-NegativeIntegerElement">NegativeIntegerElement</a>,
<a href=
"#pattern-NonNegativeIntegerElement">NonNegativeIntegerElement</a>,
<a href="#pattern-UnsignedLongElement">UnsignedLongElement</a>,
<a href="#pattern-UnsignedIntElement">UnsignedIntElement</a>,
<a href="#pattern-UnsignedShortElement">UnsignedShortElement</a>,
<a href="#pattern-UnsignedByteElement">UnsignedByteElement</a>,
<a href=
"#pattern-AnySimpleTypeAttribute">AnySimpleTypeAttribute</a>,
<a href="#pattern-DecimalAttribute">DecimalAttribute</a>, <a href=
"#pattern-FloatAttribute">FloatAttribute</a>, <a href=
"#pattern-DurationAttribute">DurationAttribute</a>, <a href=
"#pattern-TimeAttribute">TimeAttribute</a>, <a href=
"#pattern-DateAttribute">DateAttribute</a>, <a href=
"#pattern-GYearMonthAttribute">GYearMonthAttribute</a>, <a href=
"#pattern-GYearAttribute">GYearAttribute</a>, <a href=
"#pattern-GMonthDayAttribute">GMonthDayAttribute</a>, <a href=
"#pattern-GDayAttribute">GDayAttribute</a>, <a href=
"#pattern-GMonthAttribute">GMonthAttribute</a>, <a href=
"#pattern-HexBinaryAttribute">HexBinaryAttribute</a>, <a href=
"#pattern-Base64BinaryAttribute">Base64BinaryAttribute</a>,
<a href="#pattern-LanguageAttribute">LanguageAttribute</a>,
<a href="#pattern-NMTOKENAttribute">NMTOKENAttribute</a>, <a href=
"#pattern-NMTOKENSAttribute">NMTOKENSAttribute</a>, <a href=
"#pattern-IDAttribute">IDAttribute</a>, <a href=
"#pattern-IDREFAttribute">IDREFAttribute</a>, <a href=
"#pattern-IDREFSAttribute">IDREFSAttribute</a>, <a href=
"#pattern-ENTITYAttribute">ENTITYAttribute</a>, <a href=
"#pattern-ENTITIESAttribute">ENTITIESAttribute</a>, <a href=
"#pattern-IntegerAttribute">IntegerAttribute</a>, <a href=
"#pattern-NonPositiveIntegerAttribute">NonPositiveIntegerAttribute</a>,
<a href=
"#pattern-NegativeIntegerAttribute">NegativeIntegerAttribute</a>,
<a href="#pattern-UnsignedLongAttribute">UnsignedLongAttribute</a>,
<a href="#pattern-UnsignedIntAttribute">UnsignedIntAttribute</a>,
<a href=
"#pattern-UnsignedShortAttribute">UnsignedShortAttribute</a>,
<a href=
"#pattern-UnsignedByteAttribute">UnsignedByteAttribute</a></td>
</tr>
<tr id="xsd_simple_type_use">
<th>@use</th>
<td><a href="#pattern-AttributeRequired">AttributeRequired</a>,
<a href="#pattern-AttributeProhibited">AttributeProhibited</a>,
<a href=
"#pattern-ComplexTypeOnlyAttributes">ComplexTypeOnlyAttributes</a></td>
</tr>
<tr id="xsd_simple_type_value">
<th>@value</th>
<td><a href=
"#pattern-GlobalAttributeSimpleType">GlobalAttributeSimpleType</a>,
<a href=
"#pattern-NMTOKENEnumerationType">NMTOKENEnumerationType</a>,
<a href="#pattern-IntEnumerationType">IntEnumerationType</a>,
<a href="#pattern-ShortEnumerationType">ShortEnumerationType</a>,
<a href="#pattern-LongEnumerationType">LongEnumerationType</a>,
<a href="#pattern-DoubleEnumerationType">DoubleEnumerationType</a>,
<a href=
"#pattern-IntegerEnumerationType">IntegerEnumerationType</a>,
<a href=
"#pattern-DecimalEnumerationType">DecimalEnumerationType</a>,
<a href="#pattern-FloatEnumerationType">FloatEnumerationType</a>,
<a href=
"#pattern-NonNegativeIntegerEnumerationType">NonNegativeIntegerEnumerationType</a>,
<a href=
"#pattern-PositiveIntegerEnumerationType">PositiveIntegerEnumerationType</a>,
<a href=
"#pattern-UnsignedIntEnumerationType">UnsignedIntEnumerationType</a>,
<a href=
"#pattern-UnsignedLongEnumerationType">UnsignedLongEnumerationType</a>,
<a href=
"#pattern-UnsignedShortEnumerationType">UnsignedShortEnumerationType</a>,
<a href="#pattern-TokenEnumerationType">TokenEnumerationType</a>,
<a href=
"#pattern-LanguageEnumerationType">LanguageEnumerationType</a>,
<a href=
"#pattern-SimpleTypeEnumerationType">SimpleTypeEnumerationType</a>,
<a href=
"#pattern-DecimalSimpleTypeTotalDigits">DecimalSimpleTypeTotalDigits</a>,
<a href=
"#pattern-DecimalSimpleTypeFractionDigits">DecimalSimpleTypeFractionDigits</a>,
<a href="#pattern-QNameEnumerationType">QNameEnumerationType</a>,
<a href="#pattern-AnyURIEnumerationType">AnyURIEnumerationType</a>,
<a href=
"#pattern-RestrictedSimpleContent">RestrictedSimpleContent</a>,
<a href=
"#pattern-StringSimpleTypePattern">StringSimpleTypePattern</a>,
<a href="#pattern-IntSimpleTypePattern">IntSimpleTypePattern</a>,
<a href=
"#pattern-IntegerSimpleTypePattern">IntegerSimpleTypePattern</a>,
<a href="#pattern-LongSimpleTypePattern">LongSimpleTypePattern</a>,
<a href=
"#pattern-DecimalSimpleTypePattern">DecimalSimpleTypePattern</a>,
<a href=
"#pattern-FloatSimpleTypePattern">FloatSimpleTypePattern</a>,
<a href=
"#pattern-DoubleSimpleTypePattern">DoubleSimpleTypePattern</a>,
<a href=
"#pattern-ShortSimpleTypePattern">ShortSimpleTypePattern</a>,
<a href="#pattern-ByteSimpleTypePattern">ByteSimpleTypePattern</a>,
<a href=
"#pattern-NonNegativeIntegerSimpleTypePattern">NonNegativeIntegerSimpleTypePattern</a>,
<a href=
"#pattern-PositiveIntegerSimpleTypePattern">PositiveIntegerSimpleTypePattern</a>,
<a href=
"#pattern-UnsignedLongSimpleTypePattern">UnsignedLongSimpleTypePattern</a>,
<a href=
"#pattern-UnsignedIntSimpleTypePattern">UnsignedIntSimpleTypePattern</a>,
<a href=
"#pattern-UnsignedShortSimpleTypePattern">UnsignedShortSimpleTypePattern</a>,
<a href="#pattern-DateSimpleTypePattern">DateSimpleTypePattern</a>,
<a href=
"#pattern-GYearSimpleTypePattern">GYearSimpleTypePattern</a>,
<a href=
"#pattern-GMonthSimpleTypePattern">GMonthSimpleTypePattern</a>,
<a href="#pattern-GDaySimpleTypePattern">GDaySimpleTypePattern</a>,
<a href=
"#pattern-GYearMonthSimpleTypePattern">GYearMonthSimpleTypePattern</a>,
<a href=
"#pattern-GMonthDaySimpleTypePattern">GMonthDaySimpleTypePattern</a>,
<a href=
"#pattern-TokenSimpleTypePattern">TokenSimpleTypePattern</a>,
<a href=
"#pattern-RestrictedStringMinLength">RestrictedStringMinLength</a>,
<a href=
"#pattern-RestrictedStringMaxLength">RestrictedStringMaxLength</a>,
<a href=
"#pattern-RestrictedStringMinMaxLength">RestrictedStringMinMaxLength</a>,
<a href=
"#pattern-RestrictedMinInclusive">RestrictedMinInclusive</a>,
<a href=
"#pattern-RestrictedMaxInclusive">RestrictedMaxInclusive</a>,
<a href=
"#pattern-RestrictedMinExclusive">RestrictedMinExclusive</a>,
<a href=
"#pattern-RestrictedMaxExclusive">RestrictedMaxExclusive</a>,
<a href="#pattern-RestrictedLength">RestrictedLength</a>, <a href=
"#pattern-RestrictedMaxLength">RestrictedMaxLength</a>, <a href=
"#pattern-RestrictedMinLength">RestrictedMinLength</a>, <a href=
"#pattern-RestrictedPattern">RestrictedPattern</a>, <a href=
"#pattern-RestrictedWhitespacePreserve">RestrictedWhitespacePreserve</a>,
<a href=
"#pattern-RestrictedWhitespaceCollapse">RestrictedWhitespaceCollapse</a>,
<a href=
"#pattern-RestrictedWhitespaceReplace">RestrictedWhitespaceReplace</a>,
<a href="#pattern-PrecisionDecimal">PrecisionDecimal</a></td>
</tr>
<tr id="xsd_simple_type_version">
<th>@version</th>
<td>N/A</td>
</tr>
<tr id="xsd_simple_type_xpath">
<th>@xpath</th>
<td><a href="#pattern-ElementKey">ElementKey</a>, <a href=
"#pattern-Unique">Unique</a></td>
</tr>
</tbody>
</table>
<table id="schema_types" border="1" width="100%">
<caption>Table E. List of supported and non-supported schema simple
types</caption>
<thead>
<tr>
<th>Simple Type</th>
<th>Patterns</th>
</tr>
</thead>
<tbody>
<tr id="xsd_simple_type_ENTITIES">
<th>xs:ENTITIES</th>
<td><a href="#pattern-ENTITIESElement">ENTITIESElement</a>,
<a href="#pattern-ENTITIESAttribute">ENTITIESAttribute</a></td>
</tr>
<tr id="xsd_simple_type_ENTITY">
<th>xs:ENTITY</th>
<td><a href="#pattern-ENTITYElement">ENTITYElement</a>, <a href=
"#pattern-ENTITYAttribute">ENTITYAttribute</a></td>
</tr>
<tr id="xsd_simple_type_ID">
<th>xs:ID</th>
<td><a href="#pattern-IDElement">IDElement</a>, <a href=
"#pattern-IDAttribute">IDAttribute</a></td>
</tr>
<tr id="xsd_simple_type_IDREF">
<th>xs:IDREF</th>
<td><a href="#pattern-IDREFElement">IDREFElement</a>, <a href=
"#pattern-IDREFAttribute">IDREFAttribute</a></td>
</tr>
<tr id="xsd_simple_type_IDREFS">
<th>xs:IDREFS</th>
<td><a href="#pattern-IDREFSElement">IDREFSElement</a>, <a href=
"#pattern-IDREFSAttribute">IDREFSAttribute</a></td>
</tr>
<tr id="xsd_simple_type_NCName">
<th>xs:NCName</th>
<td>N/A</td>
</tr>
<tr id="xsd_simple_type_NMTOKEN">
<th>xs:NMTOKEN</th>
<td><a href=
"#pattern-NMTOKENEnumerationType">NMTOKENEnumerationType</a>,
<a href="#pattern-NMTOKENElement">NMTOKENElement</a>, <a href=
"#pattern-NMTOKENAttribute">NMTOKENAttribute</a></td>
</tr>
<tr id="xsd_simple_type_NMTOKENS">
<th>xs:NMTOKENS</th>
<td><a href="#pattern-NMTOKENSElement">NMTOKENSElement</a>,
<a href="#pattern-NMTOKENSAttribute">NMTOKENSAttribute</a></td>
</tr>
<tr id="xsd_simple_type_NOTATION">
<th>xs:NOTATION</th>
<td>N/A</td>
</tr>
<tr id="xsd_simple_type_Name">
<th>xs:Name</th>
<td>N/A</td>
</tr>
<tr id="xsd_simple_type_QName">
<th>xs:QName</th>
<td><a href=
"#pattern-QNameEnumerationType">QNameEnumerationType</a></td>
</tr>
<tr id="xsd_simple_type_anyURI">
<th>xs:anyURI</th>
<td><a href=
"#pattern-AnyURIEnumerationType">AnyURIEnumerationType</a></td>
</tr>
<tr id="xsd_simple_type_base64Binary">
<th>xs:base64Binary</th>
<td><a href=
"#pattern-Base64BinaryAttribute">Base64BinaryAttribute</a></td>
</tr>
<tr id="xsd_simple_type_boolean">
<th>xs:boolean</th>
<td>N/A</td>
</tr>
<tr id="xsd_simple_type_byte">
<th>xs:byte</th>
<td><a href=
"#pattern-ByteSimpleTypePattern">ByteSimpleTypePattern</a></td>
</tr>
<tr id="xsd_simple_type_date">
<th>xs:date</th>
<td><a href="#pattern-DateElement">DateElement</a>, <a href=
"#pattern-DateAttribute">DateAttribute</a>, <a href=
"#pattern-DateSimpleTypePattern">DateSimpleTypePattern</a></td>
</tr>
<tr id="xsd_simple_type_dateTime">
<th>xs:dateTime</th>
<td>N/A</td>
</tr>
<tr id="xsd_simple_type_decimal">
<th>xs:decimal</th>
<td><a href=
"#pattern-DecimalEnumerationType">DecimalEnumerationType</a>,
<a href=
"#pattern-DecimalSimpleTypeTotalDigits">DecimalSimpleTypeTotalDigits</a>,
<a href=
"#pattern-DecimalSimpleTypeFractionDigits">DecimalSimpleTypeFractionDigits</a>,
<a href="#pattern-DecimalElement">DecimalElement</a>, <a href=
"#pattern-DecimalAttribute">DecimalAttribute</a>, <a href=
"#pattern-DecimalSimpleTypePattern">DecimalSimpleTypePattern</a>,
<a href="#pattern-PrecisionDecimal">PrecisionDecimal</a></td>
</tr>
<tr id="xsd_simple_type_double">
<th>xs:double</th>
<td><a href=
"#pattern-DoubleEnumerationType">DoubleEnumerationType</a>,
<a href="#pattern-DoubleSimpleTypePattern">DoubleSimpleTypePattern</a>,
<a href="#pattern-PrecisionDecimal">PrecisionDecimal</a></td>
</tr>
<tr id="xsd_simple_type_duration">
<th>xs:duration</th>
<td><a href="#pattern-DurationElement">DurationElement</a>,
<a href="#pattern-DurationAttribute">DurationAttribute</a></td>
</tr>
<tr id="xsd_simple_type_float">
<th>xs:float</th>
<td><a href=
"#pattern-FloatEnumerationType">FloatEnumerationType</a>, <a href=
"#pattern-FloatElement">FloatElement</a>, <a href=
"#pattern-FloatAttribute">FloatAttribute</a>, <a href=
"#pattern-FloatSimpleTypePattern">FloatSimpleTypePattern</a></td>
</tr>
<tr id="xsd_simple_type_gDay">
<th>xs:gDay</th>
<td><a href="#pattern-GDayElement">GDayElement</a>, <a href=
"#pattern-GDayAttribute">GDayAttribute</a>, <a href=
"#pattern-GDaySimpleTypePattern">GDaySimpleTypePattern</a></td>
</tr>
<tr id="xsd_simple_type_gMonth">
<th>xs:gMonth</th>
<td><a href="#pattern-GMonthElement">GMonthElement</a>, <a href=
"#pattern-GMonthAttribute">GMonthAttribute</a>, <a href=
"#pattern-GMonthSimpleTypePattern">GMonthSimpleTypePattern</a></td>
</tr>
<tr id="xsd_simple_type_gMonthDay">
<th>xs:gMonthDay</th>
<td><a href="#pattern-GMonthDayElement">GMonthDayElement</a>,
<a href="#pattern-GMonthDayAttribute">GMonthDayAttribute</a>,
<a href=
"#pattern-GMonthDaySimpleTypePattern">GMonthDaySimpleTypePattern</a></td>
</tr>
<tr id="xsd_simple_type_gYear">
<th>xs:gYear</th>
<td><a href="#pattern-GYearElement">GYearElement</a>, <a href=
"#pattern-GYearAttribute">GYearAttribute</a>, <a href=
"#pattern-GYearSimpleTypePattern">GYearSimpleTypePattern</a></td>
</tr>
<tr id="xsd_simple_type_gYearMonth">
<th>xs:gYearMonth</th>
<td><a href="#pattern-GYearMonthElement">GYearMonthElement</a>,
<a href="#pattern-GYearMonthAttribute">GYearMonthAttribute</a>,
<a href=
"#pattern-GYearMonthSimpleTypePattern">GYearMonthSimpleTypePattern</a></td>
</tr>
<tr id="xsd_simple_type_hexBinary">
<th>xs:hexBinary</th>
<td><a href="#pattern-HexBinaryElement">HexBinaryElement</a>,
<a href="#pattern-HexBinaryAttribute">HexBinaryAttribute</a></td>
</tr>
<tr id="xsd_simple_type_int">
<th>xs:int</th>
<td><a href="#pattern-IntEnumerationType">IntEnumerationType</a>,
<a href=
"#pattern-IntSimpleTypePattern">IntSimpleTypePattern</a></td>
</tr>
<tr id="xsd_simple_type_integer">
<th>xs:integer</th>
<td><a href=
"#pattern-IntegerEnumerationType">IntegerEnumerationType</a>,
<a href="#pattern-IntegerElement">IntegerElement</a>, <a href=
"#pattern-IntegerAttribute">IntegerAttribute</a>, <a href=
"#pattern-IntegerSimpleTypePattern">IntegerSimpleTypePattern</a></td>
</tr>
<tr id="xsd_simple_type_language">
<th>xs:language</th>
<td><a href=
"#pattern-LanguageEnumerationType">LanguageEnumerationType</a>,
<a href="#pattern-LanguageElement">LanguageElement</a>, <a href=
"#pattern-LanguageAttribute">LanguageAttribute</a></td>
</tr>
<tr id="xsd_simple_type_long">
<th>xs:long</th>
<td><a href="#pattern-LongEnumerationType">LongEnumerationType</a>,
<a href=
"#pattern-LongSimpleTypePattern">LongSimpleTypePattern</a></td>
</tr>
<tr id="xsd_simple_type_negativeInteger">
<th>xs:negativeInteger</th>
<td><a href=
"#pattern-NegativeIntegerElement">NegativeIntegerElement</a>,
<a href=
"#pattern-NegativeIntegerAttribute">NegativeIntegerAttribute</a></td>
</tr>
<tr id="xsd_simple_type_nonNegativeInteger">
<th>xs:nonNegativeInteger</th>
<td><a href=
"#pattern-NonNegativeIntegerEnumerationType">NonNegativeIntegerEnumerationType</a>,
<a href=
"#pattern-NonNegativeIntegerElement">NonNegativeIntegerElement</a>,
<a href=
"#pattern-NonNegativeIntegerSimpleTypePattern">NonNegativeIntegerSimpleTypePattern</a></td>
</tr>
<tr id="xsd_simple_type_nonPositiveInteger">
<th>xs:nonPositiveInteger</th>
<td><a href=
"#pattern-NonPositiveIntegerElement">NonPositiveIntegerElement</a>,
<a href=
"#pattern-NonPositiveIntegerAttribute">NonPositiveIntegerAttribute</a></td>
</tr>
<tr id="xsd_simple_type_normalizedString">
<th>xs:normalizedString</th>
<td>N/A</td>
</tr>
<tr id="xsd_simple_type_positiveInteger">
<th>xs:positiveInteger</th>
<td><a href=
"#pattern-PositiveIntegerEnumerationType">PositiveIntegerEnumerationType</a>,
<a href=
"#pattern-PositiveIntegerSimpleTypePattern">PositiveIntegerSimpleTypePattern</a></td>
</tr>
<tr id="xsd_simple_type_short">
<th>xs:short</th>
<td><a href=
"#pattern-ShortEnumerationType">ShortEnumerationType</a>, <a href=
"#pattern-ShortSimpleTypePattern">ShortSimpleTypePattern</a></td>
</tr>
<tr id="xsd_simple_type_string">
<th>xs:string</th>
<td><a href=
"#pattern-StringSimpleTypePattern">StringSimpleTypePattern</a>,
<a href=
"#pattern-RestrictedStringMinLength">RestrictedStringMinLength</a>,
<a href=
"#pattern-RestrictedStringMaxLength">RestrictedStringMaxLength</a>,
<a href=
"#pattern-RestrictedStringMinMaxLength">RestrictedStringMinMaxLength</a>,
<a href="#pattern-PrecisionDecimal">PrecisionDecimal</a></td>
</tr>
<tr id="xsd_simple_type_time">
<th>xs:time</th>
<td><a href="#pattern-TimeElement">TimeElement</a>, <a href=
"#pattern-TimeAttribute">TimeAttribute</a></td>
</tr>
<tr id="xsd_simple_type_token">
<th>xs:token</th>
<td><a href=
"#pattern-TokenEnumerationType">TokenEnumerationType</a>, <a href=
"#pattern-TokenSimpleTypePattern">TokenSimpleTypePattern</a></td>
</tr>
<tr id="xsd_simple_type_unsignedByte">
<th>xs:unsignedByte</th>
<td><a href="#pattern-UnsignedByteElement">UnsignedByteElement</a>,
<a href=
"#pattern-UnsignedByteAttribute">UnsignedByteAttribute</a></td>
</tr>
<tr id="xsd_simple_type_unsignedInt">
<th>xs:unsignedInt</th>
<td><a href=
"#pattern-UnsignedIntEnumerationType">UnsignedIntEnumerationType</a>,
<a href="#pattern-UnsignedIntElement">UnsignedIntElement</a>,
<a href="#pattern-UnsignedIntAttribute">UnsignedIntAttribute</a>,
<a href=
"#pattern-UnsignedIntSimpleTypePattern">UnsignedIntSimpleTypePattern</a></td>
</tr>
<tr id="xsd_simple_type_unsignedLong">
<th>xs:unsignedLong</th>
<td><a href=
"#pattern-UnsignedLongEnumerationType">UnsignedLongEnumerationType</a>,
<a href="#pattern-UnsignedLongElement">UnsignedLongElement</a>,
<a href="#pattern-UnsignedLongAttribute">UnsignedLongAttribute</a>,
<a href=
"#pattern-UnsignedLongSimpleTypePattern">UnsignedLongSimpleTypePattern</a></td>
</tr>
<tr id="xsd_simple_type_unsignedShort">
<th>xs:unsignedShort</th>
<td><a href=
"#pattern-UnsignedShortEnumerationType">UnsignedShortEnumerationType</a>,
<a href="#pattern-UnsignedShortElement">UnsignedShortElement</a>,
<a href=
"#pattern-UnsignedShortAttribute">UnsignedShortAttribute</a>,
<a href=
"#pattern-UnsignedShortSimpleTypePattern">UnsignedShortSimpleTypePattern</a></td>
</tr>
</tbody>
</table>
</div>
<div class="div1">
<h2><a name="WS-I" id="WS-I"></a>F. Relationship with the WS-I
Basic Profile (Non-Normative)</h2>
<p id="ISSUE-71"><a href="#XMLSchema">[XML Schema 1.0]</a>
documents conforming to this specification are intended to be
compatible with the <a href="#WSI-BP">[WS-I Basic Profile 1.1]</a>
and may be imported, included or embedded inside a <a href=
"#WSI-BP">[WS-I Basic Profile 1.1]</a> conformant <a href=
"#WSDL11">[WSDL 1.1]</a> document.</p>
<p id="ISSUE-71-c"><a href="#WSI-BP">[WS-I Basic Profile 1.1]</a>
Conformance Requirements for an <a href="#XMLSchema">[XML Schema
1.0]</a> document known to be more restrictive than this
specification:</p>
<ul>
<li><a href=
"http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#R2112">
R2112</a> In a DESCRIPTION, elements SHOULD NOT be named using the
convention ArrayOfXXX.</li>
</ul>
<p id="ISSUE-71-a"><a href="#WSI-BP">[WS-I Basic Profile 1.1]</a>
Conformance Requirements known to be compatible with this
specification include:</p>
<ul>
<li><a href=
"http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#R2801">
R2801</a> A DESCRIPTION MUST use XML Schema 1.0 Recommendation as
the basis of user defined datatypes and structures.</li>
<li><a href=
"http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#R2102">
R2102</a> A QName reference to a Schema component in a DESCRIPTION
MUST use the namespace defined in the targetNamespace attribute on
the xsd:schema element, or to a namespace defined in the namespace
attribute on an xsd:import element within the xsd:schema
element.</li>
<li><a href=
"http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#R2105">
R2105</a> All xsd:schema elements contained in a wsdl:types element
of a DESCRIPTION MUST have a targetNamespace attribute with a valid
and non-null value, UNLESS the xsd:schema element has xsd:import
and/or xsd:annotation as its only child element(s).</li>
<li><a href=
"http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#R2002">
R2002</a> To import XML Schema Definitions, a DESCRIPTION MUST use
the XML Schema "import" statement.</li>
<li><a href=
"http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#R2003">
R2003</a> A DESCRIPTION MUST use the XML Schema "import" statement
only within the xsd:schema element of the types section.</li>
<li><a href=
"http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#R2004">
R2004</a> In a DESCRIPTION the schemaLocation attribute of an
xsd:import element MUST NOT resolve to any document whose root
element is not "schema" from the namespace
"http://www.w3.org/2001/XMLSchema".</li>
<li><a href=
"http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#R4002">
R4002</a> A DESCRIPTION MAY include the Unicode Byte Order Mark
(BOM).</li>
<li><a href=
"http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#R2009">
R2009</a> An XML Schema directly or indirectly imported by a
DESCRIPTION MAY include the Unicode Byte Order Mark (BOM).</li>
<li><a href=
"http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#R4003">
R4003</a> A DESCRIPTION MUST use either UTF-8 or UTF-16
encoding.</li>
<li><a href=
"http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#R2011">
R2011</a> An XML Schema directly or indirectly imported by a
DESCRIPTION MUST use either UTF-8 or UTF-16 encoding.</li>
<li><a href=
"http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#R4004">
R4004</a> A DESCRIPTION MUST use version 1.0 of the eXtensible
Markup Language W3C Recommendation.</li>
<li><a href=
"http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#R2011">
R2011</a> An XML Schema directly or indirectly imported by a
DESCRIPTION MUST use version 1.0 of the eXtensible Markup Language
W3C Recommendation.</li>
</ul>
<p id="ISSUE-71-b"><a href="#WSI-BP">[WS-I Basic Profile 1.1]</a>
Conformance Requirements known to be less restrictive than this
this specification:</p>
<ul>
<li><a href=
"http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#R2800">
R2800</a> A DESCRIPTION MAY use any construct from XML Schema
1.0.</li>
</ul>
</div>
<div class="div1">
<h2><a name="acknowledgments" id="acknowledgments"></a>G.
Acknowledgements (Non-Normative)</h2>
<p>This document is the work of the <a href=
"http://www.w3.org/2002/ws/databinding/">W3C XML Schema Patterns
for Databinding Working Group</a>.</p>
<p>Members of the Working Group are (at the time of writing, and by
alphabetical order): Vladislav Bezrukov (SAP AG), Jonathan
Calladine (BT), George Cowe (Origo Services Limited), Paul Downey
(BT), Paul Fremantle (WSO2), Anthony Julian (Health Level Seven,
Inc.), Yves Lafon (W3C/ERCIM), Ajith Ranabahu (WSO2), Adrian Smith
(BT), Amila Suriarachchi (WSO2), Priscilla Walmsley (W3C Invited
Experts), Scott Wood (National Association of Convenience Stores
(NACS)).</p>
<p>Previous members of the Working Group were: Paul Biron (Health
Level Seven, Inc.), Otu Ekanem (BT), Sekhar Vajjhala (Sun
Microsystems).</p>
<p>The people who have contributed to <a href=
"http://lists.w3.org/Archives/Public/public-xsd-databinding/">discussions
on public-xsd-databinding@w3.org</a> are also gratefully
acknowledged.</p>
</div>
</div>
</body>
</html>