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
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 />
|
|
1.1 <a href="#notation">Notational
|
|
Conventions</a><br />
|
|
1.2 <a href=
|
|
"#namespaces">Namespaces</a><br />
|
|
1.3 <a href=
|
|
"#document-conformance">Document Conformance</a><br />
|
|
1.4 <a href=
|
|
"#implementation-conformance">Implementation Conformance</a><br />
|
|
2. <a href="#patterns">Schema Patterns</a><br />
|
|
2.1 <a href="#group-SchemaElement">Schema
|
|
Element</a><br />
|
|
2.2 <a href=
|
|
"#group-Annotations">Annotations</a><br />
|
|
2.3 <a href=
|
|
"#group-Properties">Properties</a><br />
|
|
2.4 <a href="#group-Import">Import and
|
|
Include</a><br />
|
|
2.5 <a href="#group-GlobalElement">Global
|
|
Element Declarations</a><br />
|
|
2.6 <a href="#group-GlobalAttribute">Global
|
|
Attribute Declarations</a><br />
|
|
2.7 <a href="#group-Element">Element
|
|
Declarations</a><br />
|
|
2.8 <a href="#group-Attribute">Attribute
|
|
Declarations</a><br />
|
|
2.9 <a href=
|
|
"#group-GlobalComplexType">Global ComplexType
|
|
Declarations</a><br />
|
|
2.10 <a href="#group-SimpleType">SimpleType
|
|
Declarations</a><br />
|
|
2.11 <a href=
|
|
"#group-ComplexType">ComplexType Declarations</a><br />
|
|
2.12 <a href=
|
|
"#group-Sequence">Sequences</a><br />
|
|
2.13 <a href=
|
|
"#group-Choice">Choices</a><br />
|
|
2.14 <a href=
|
|
"#group-Unions">Unions</a><br />
|
|
2.15 <a href="#group-lists">Lists</a><br />
|
|
2.16 <a href=
|
|
"#group-ElementPredefinedTypes">Element Predefined Types</a><br />
|
|
2.17 <a href=
|
|
"#group-AttributePredefinedTypes">Attribute Predefined
|
|
Types</a><br />
|
|
2.18 <a href=
|
|
"#group-restriction">Restricted Schema Types</a><br />
|
|
2.19 <a href=
|
|
"#group-numbers">Numbers</a><br />
|
|
2.20 <a href="#group-Group">Group</a><br />
|
|
2.21 <a href=
|
|
"#group-Redefines">Redefines</a><br />
|
|
2.22 <a href=
|
|
"#group-Unique">Unique</a><br />
|
|
3. <a href="#structures">Data Types & Structures</a><br />
|
|
3.1 <a href="#default">Default
|
|
Value</a><br />
|
|
3.2 <a href="#map">Map</a><br />
|
|
3.3 <a href="#extended-enum">Extensible
|
|
Enumeration</a><br />
|
|
4. <a href="#refs">References</a><br />
|
|
4.1 <a href="#normrefs">Normative
|
|
References</a><br />
|
|
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><xs:schema></code> element node
|
|
which may be an <a href="#XMLSchema">[XML Schema 1.0]</a> document
|
|
element, or an <code><xs:schema></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><xs:schema></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>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
<xs:element name="noTargetNamespace" 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">xs:schema</b>>
|
|
|
|
</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>
|
|
<noTargetNamespace xsi:noNamespaceSchemaLocation="NoTargetNamespace.xsd">some data</noTargetNamespace>
|
|
</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><xs:schema></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>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<xs:element name="unqualifiedLocalElements" 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">xs:schema</b>>
|
|
|
|
</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>
|
|
<unqualifiedLocalElements>some data</unqualifiedLocalElements>
|
|
</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><xs:schema></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>
|
|
<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">
|
|
<xs:element name="qualifiedLocalAttributes" type="xs:string" />
|
|
</xs:schema>
|
|
|
|
</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>
|
|
<ex:qualifiedLocalAttributes>string</ex:qualifiedLocalAttributes>
|
|
</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><xs:schema></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>
|
|
<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">
|
|
<xs:element name="finalDefault" type="xs:string" />
|
|
</xs:schema>
|
|
|
|
</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>
|
|
<ex:finalDefault>foo</ex:finalDefault>
|
|
</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><xs:schema></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>
|
|
<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">
|
|
<xs:element name="blockDefault" type="xs:string" />
|
|
</xs:schema>
|
|
|
|
</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>
|
|
<ex:blockDefault>foo</ex:blockDefault>
|
|
</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><xs:schema></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>
|
|
<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">
|
|
<xs:element name="xmlLang" type="xs:string" />
|
|
</xs:schema>
|
|
|
|
</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>
|
|
<ex:xmlLang>foo</ex:xmlLang>
|
|
</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><xs:schema></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>
|
|
<xs:element name="appinfoElement" 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">xs:annotation</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">xs:appinfo</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">xs:annotation</b>>
|
|
</xs:element>
|
|
|
|
</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>
|
|
<ex:appinfoElement>some info</ex:appinfoElement>
|
|
</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><xs:schema></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>
|
|
<xs:element name="mixedComplexContent" type="ex:MixedComplexContent" />
|
|
<xs:complexType name="MixedComplexContent">
|
|
<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">
|
|
<xs:restriction base="xs:anyType">
|
|
<xs:sequence>
|
|
<xs:element name="element1" type="xs:string" />
|
|
<xs:element name="element2" type="xs:string" />
|
|
<xs:element name="element3" type="xs:string" />
|
|
</xs:sequence>
|
|
</xs:restriction>
|
|
</xs:complexContent>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:mixedComplexContent>
|
|
<ex:element1>string</ex:element1>
|
|
mixed content
|
|
<ex:element2>string</ex:element2>
|
|
mixed content
|
|
<ex:element3>string</ex:element3>
|
|
mixed content
|
|
</ex:mixedComplexContent>
|
|
</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><xs:schema></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>
|
|
<xs:element name="mixedContentType" type="ex:MixedContentType" />
|
|
<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">
|
|
<xs:sequence>
|
|
<xs:element name="elem1" type="xs:string" />
|
|
<xs:element name="elem2" type="xs:string" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:mixedContentType>
|
|
<ex:elem1>Tagged Value</ex:elem1> mixed value <ex:elem2>Tagged Value</ex:elem2>
|
|
</ex:mixedContentType>
|
|
</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>
|
|
<ex:mixedContentType> some text <ex:elem1>Tagged Value</ex:elem1> more text <ex:elem2>Tagged
|
|
Value</ex:elem2>
|
|
</ex:mixedContentType>
|
|
</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>
|
|
<ex:mixedContentType>
|
|
<ex:elem1>Tagged Value</ex:elem1> mixed text value <ex:elem2>Tagged Value</ex:elem2> mixed
|
|
text value </ex:mixedContentType>
|
|
</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>
|
|
<ex:mixedContentType> text mixed value <ex:elem1>Tagged Value</ex:elem1>
|
|
<ex:elem2>Tagged Value</ex:elem2> some more text in a mixed value </ex:mixedContentType>
|
|
</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><xs:schema></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>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
|
|
</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><xs:schema></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>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<xs:complexType name="GlobalElementUnqualifiedType">
|
|
<xs:sequence>
|
|
<xs:element name="element1" type="xs:string" />
|
|
<xs:element name="element2" type="xs:string" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:globalElementUnqualifiedType>
|
|
<ex:element1>string1</ex:element1>
|
|
<ex:element2>string2</ex:element2>
|
|
</ex:globalElementUnqualifiedType>
|
|
</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><xs:schema></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>
|
|
<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" />
|
|
|
|
</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>
|
|
<ex:stringElementDefaultNamespace/>
|
|
</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>
|
|
<ex:stringElementDefaultNamespace>This is a string!</ex:stringElementDefaultNamespace>
|
|
</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><xs:schema></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>
|
|
<xs:element name="globalElementAbstract" type="ex:GlobalElementAbstract" />
|
|
<xs:complexType name="GlobalElementAbstract">
|
|
<xs:sequence>
|
|
<xs:element ref="ex:globalElementAbstractSubHead" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<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" />
|
|
<xs:element name="globalElementAbstractSub" substitutionGroup="ex:globalElementAbstractSubHead" />
|
|
|
|
</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>
|
|
<ex:globalElementAbstract>
|
|
<ex:globalElementAbstractSub>String</ex:globalElementAbstractSub>
|
|
</ex:globalElementAbstract>
|
|
</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><xs:schema></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>
|
|
<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" />
|
|
|
|
</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>
|
|
<ex:globalElementBlock>Stuff</ex:globalElementBlock>
|
|
</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><xs:schema></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>
|
|
<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" />
|
|
|
|
</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>
|
|
<ex:globalElementFinal>Stuff</ex:globalElementFinal>
|
|
</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><xs:schema></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>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">xs:all</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">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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">xs:element</b>>
|
|
|
|
</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>
|
|
<ex:globalElementAll>
|
|
<ex:globalElementAllA>one</ex:globalElementAllA>
|
|
<ex:globalElementAllB>42</ex:globalElementAllB>
|
|
</ex:globalElementAll>
|
|
</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>
|
|
<ex:globalElementAll>
|
|
<ex:globalElementAllB>42</ex:globalElementAllB>
|
|
<ex:globalElementAllA>douze</ex:globalElementAllA>
|
|
</ex:globalElementAll>
|
|
</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><xs:schema></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>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">xs:choice</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">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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">xs:element</b>>
|
|
|
|
</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>
|
|
<ex:globalElementChoice>
|
|
<ex:globalElementChoiceA>one</ex:globalElementChoiceA>
|
|
</ex:globalElementChoice>
|
|
</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>
|
|
<ex:globalElementChoice>
|
|
<ex:globalElementChoiceB>two</ex:globalElementChoiceB>
|
|
</ex:globalElementChoice>
|
|
</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><xs:schema></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>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
<xs:restriction base="xs:string">
|
|
<xs:enumeration value="value1" />
|
|
<xs:enumeration value="value2" />
|
|
<xs:enumeration value="value3" />
|
|
</xs:restriction>
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
|
|
</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>
|
|
<ex:globalElementSimpleType>value1</ex:globalElementSimpleType>
|
|
</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>
|
|
<ex:globalElementSimpleType>value2</ex:globalElementSimpleType>
|
|
</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><xs:schema></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>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">xs:complexContent</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">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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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> />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">xs:complexContent</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">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">xs:element</b>>
|
|
|
|
</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>
|
|
<ex:globalElementComplexTypeSequenceExtension>
|
|
<ex:data> some data </ex:data>
|
|
</ex:globalElementComplexTypeSequenceExtension>
|
|
</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><xs:schema></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>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">xs:complexContent</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">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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">xs:element</b>>
|
|
|
|
</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>
|
|
<ex:globalElementComplexTypeEmptyExtension/>
|
|
</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><xs:schema></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>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<xs:simpleType name="GlobalAttributeUnqualifiedTypeSimpleType">
|
|
<xs:restriction base="xs:string">
|
|
<xs:enumeration value="value1" />
|
|
<xs:enumeration value="value2" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
<xs:complexType name="GlobalAttributeUnqualifiedType">
|
|
<xs:sequence>
|
|
<xs:element name="globalAttributeUnqualifiedTypeElement" type="xs:string" />
|
|
</xs:sequence>
|
|
<xs:attribute ref="ex:globalAttributeUnqualifiedTypeAttr" />
|
|
</xs:complexType>
|
|
<xs:element name="globalAttributeUnqualifiedType" type="ex:GlobalAttributeUnqualifiedType" />
|
|
|
|
</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>
|
|
<ex:globalAttributeUnqualifiedType ex:globalAttributeUnqualifiedTypeAttr="value1">
|
|
<ex:globalAttributeUnqualifiedTypeElement>another string</ex:globalAttributeUnqualifiedTypeElement>
|
|
</ex:globalAttributeUnqualifiedType>
|
|
</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><xs:schema></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>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">xs:simpleType</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">xs:attribute</b>>
|
|
<xs:complexType name="globalAttributeSimpleTypeComplexType">
|
|
<xs:sequence>
|
|
<xs:element name="globalAttributeSimpleTypeElement" type="xs:string" />
|
|
</xs:sequence>
|
|
<xs:attribute ref="ex:globalAttributeSimpleTypeAttr" />
|
|
</xs:complexType>
|
|
<xs:element name="globalAttributeSimpleType" type="ex:globalAttributeSimpleTypeComplexType" />
|
|
|
|
</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>
|
|
<ex:globalAttributeSimpleType ex:globalAttributeSimpleTypeAttr="value1">
|
|
<ex:globalAttributeSimpleTypeElement>string</ex:globalAttributeSimpleTypeElement>
|
|
</ex:globalAttributeSimpleType>
|
|
</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><xs:schema></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>
|
|
<xs:element name="elementMinOccursFinite" type="ex:ElementMinOccursFinite" />
|
|
<xs:complexType name="ElementMinOccursFinite">
|
|
<xs:sequence>
|
|
<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" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:elementMinOccursFinite>
|
|
<ex:elementMinOccursFiniteitem>item1</ex:elementMinOccursFiniteitem>
|
|
<ex:elementMinOccursFiniteitem>item3</ex:elementMinOccursFiniteitem>
|
|
<ex:elementMinOccursFiniteitem>item2</ex:elementMinOccursFiniteitem>
|
|
</ex:elementMinOccursFinite>
|
|
</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>
|
|
<xs:element name="itemColors2" type="ex:ItemColors2" />
|
|
<xs:complexType name="ItemColors2">
|
|
<xs:sequence>
|
|
<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" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:itemColors2>
|
|
<ex:itemColor>Red</ex:itemColor>
|
|
<ex:itemColor>Yellow</ex:itemColor>
|
|
</ex:itemColors2>
|
|
</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>
|
|
<xs:element name="itemColors" type="ex:ItemColors" />
|
|
<xs:complexType name="ItemColors">
|
|
<xs:sequence>
|
|
<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" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:itemColors>
|
|
<ex:itemColor>Red</ex:itemColor>
|
|
<ex:itemColor>Black</ex:itemColor>
|
|
<ex:itemColor>White</ex:itemColor>
|
|
<ex:itemColor>Yellow</ex:itemColor>
|
|
</ex:itemColors>
|
|
</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>
|
|
<ex:itemColors>
|
|
<ex:itemColor>Black</ex:itemColor>
|
|
<ex:itemColor>White</ex:itemColor>
|
|
</ex:itemColors>
|
|
</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><xs:schema></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>
|
|
<xs:element name="colorList" type="ex:ColorList" />
|
|
<xs:complexType name="ColorList">
|
|
<xs:sequence>
|
|
<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" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:colorList/>
|
|
</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>
|
|
<ex:colorList>
|
|
<ex:colorValue>red</ex:colorValue>
|
|
<ex:colorValue>green</ex:colorValue>
|
|
</ex:colorList>
|
|
</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><xs:schema></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>
|
|
<xs:element name="summer" type="ex:Summer" />
|
|
<xs:complexType name="Summer">
|
|
<xs:sequence>
|
|
<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" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:summer>
|
|
<ex:mnth>May</ex:mnth>
|
|
<ex:mnth>June</ex:mnth>
|
|
<ex:mnth>July</ex:mnth>
|
|
<ex:mnth>August</ex:mnth>
|
|
</ex:summer>
|
|
</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>
|
|
<ex:summer>
|
|
<ex:mnth>August</ex:mnth>
|
|
<ex:mnth>September</ex:mnth>
|
|
</ex:summer>
|
|
</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><xs:schema></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>
|
|
<xs:element name="elementFormUnqualified" type="ex:ElementFormUnqualified" />
|
|
<xs:complexType name="ElementFormUnqualified">
|
|
<xs:sequence>
|
|
<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" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:elementFormUnqualified>
|
|
<element>string</element>
|
|
</ex:elementFormUnqualified>
|
|
</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><xs:schema></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>
|
|
<xs:element name="choiceElement" type="ex:ChoiceElement" />
|
|
<xs:complexType name="ChoiceElement">
|
|
<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">xs:element</b> name="AChoiceElement" 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">xs:element</b> name="BChoiceElement" type="xs:string" />
|
|
</xs:choice>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:choiceElement>
|
|
<ex:AChoiceElement>A</ex:AChoiceElement>
|
|
</ex:choiceElement>
|
|
</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>
|
|
<ex:choiceElement>
|
|
<ex:BChoiceElement>B</ex:BChoiceElement>
|
|
</ex:choiceElement>
|
|
</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><xs:schema></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>
|
|
<xs:element name="allElement" type="ex:AllElement" />
|
|
<xs:complexType name="AllElement">
|
|
<xs:all>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">xs:element</b> name="element3" 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">xs:element</b> name="element4" 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">xs:element</b> name="element5" type="xs:string" />
|
|
</xs:all>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:allElement>
|
|
<ex:element1>element1</ex:element1>
|
|
<ex:element2>element2</ex:element2>
|
|
<ex:element3>element3</ex:element3>
|
|
<ex:element4>element4</ex:element4>
|
|
<ex:element5>element5</ex:element5>
|
|
</ex:allElement>
|
|
</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><xs:schema></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>
|
|
<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" />
|
|
|
|
</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>
|
|
<ex:elementFixed>yes</ex:elementFixed>
|
|
</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><xs:schema></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>
|
|
<xs:element name="clientDetails" type="ex:ClientDetails" />
|
|
<xs:complexType name="ClientDetails">
|
|
<xs:sequence>
|
|
<xs:element name="forename" type="xs:string" />
|
|
<xs:element name="surname" type="xs:string" />
|
|
<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" />
|
|
</xs:sequence>
|
|
<xs:attribute name="phone" type="xs:string" />
|
|
<xs:attribute name="title" type="xs:int" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:clientDetails phone="+15556667788" title="1">
|
|
<ex:forename>Bobby</ex:forename>
|
|
<ex:surname>Sox</ex:surname>
|
|
<ex:title>Mr</ex:title>
|
|
</ex:clientDetails>
|
|
</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><xs:schema></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>
|
|
<xs:element name="nillableOptionalMiddleName" type="ex:NillableOptionalMiddleName" />
|
|
<xs:complexType name="NillableOptionalMiddleName">
|
|
<xs:sequence>
|
|
<xs:element name="firstName" type="xs:string" />
|
|
<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" />
|
|
<xs:element name="lastName" type="xs:string" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:nillableOptionalMiddleName>
|
|
<ex:firstName>Paul</ex:firstName>
|
|
<ex:lastName>Downey</ex:lastName>
|
|
</ex:nillableOptionalMiddleName>
|
|
</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>
|
|
<ex:nillableOptionalMiddleName>
|
|
<ex:firstName>Paul</ex:firstName>
|
|
<ex:middleName>Sumner</ex:middleName>
|
|
<ex:lastName>Downey</ex:lastName>
|
|
</ex:nillableOptionalMiddleName>
|
|
</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>
|
|
<ex:nillableOptionalMiddleName>
|
|
<ex:firstName>Paul</ex:firstName>
|
|
<ex:middleName xsi:nil="true"/>
|
|
<ex:lastName>Downey</ex:lastName>
|
|
</ex:nillableOptionalMiddleName>
|
|
</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><xs:schema></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>
|
|
<xs:element name="elementTypeReferenceUnqualified" type="ex:ElementTypeReferenceUnqualified" />
|
|
<xs:complexType name="ElementTypeReferenceUnqualifiedRef">
|
|
<xs:sequence>
|
|
<xs:element name="referenced" type="xs:string" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="ElementTypeReferenceUnqualified">
|
|
<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">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" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:elementTypeReferenceUnqualified>
|
|
<ex:text>
|
|
<ex:referenced>String</ex:referenced>
|
|
</ex:text>
|
|
</ex:elementTypeReferenceUnqualified>
|
|
</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><xs:schema></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>
|
|
<xs:element name="elementReferenceUnqualified" type="ex:ElementReferenceUnqualified" />
|
|
<xs:element name="elementReferenceUnqualifiedElement1" type="xs:string" />
|
|
<xs:element name="elementReferenceUnqualifiedElement2" type="xs:string" />
|
|
<xs:complexType name="ElementReferenceUnqualified">
|
|
<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">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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:elementReferenceUnqualified>
|
|
<ex:elementReferenceUnqualifiedElement1>String</ex:elementReferenceUnqualifiedElement1>
|
|
<ex:elementReferenceUnqualifiedElement2>String</ex:elementReferenceUnqualifiedElement2>
|
|
</ex:elementReferenceUnqualified>
|
|
</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><xs:schema></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>
|
|
<xs:element name="localElementSimpleType" type="ex:LocalElementSimpleType" />
|
|
<xs:complexType name="LocalElementSimpleType">
|
|
<xs:sequence>
|
|
<xs:element name="localElement">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
<xs:restriction base="xs:string">
|
|
<xs:enumeration value="First" />
|
|
<xs:enumeration value="Second" />
|
|
<xs:enumeration value="Third" />
|
|
</xs:restriction>
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:element>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:localElementSimpleType>
|
|
<ex:localElement>First</ex:localElement>
|
|
</ex:localElementSimpleType>
|
|
</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><xs:schema></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>
|
|
<xs:element name="localElementComplexTypeEmptyExtension">
|
|
<xs:complexType>
|
|
<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">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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">xs:complexContent</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">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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">xs:element</b>>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:complexType name="ExtensionType">
|
|
<xs:sequence>
|
|
<xs:element name="element1" type="xs:string" />
|
|
<xs:element name="element2" type="xs:string" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:localElementComplexTypeEmptyExtension>
|
|
<ex:extensionElement>
|
|
<ex:element1>string</ex:element1>
|
|
<ex:element2>string</ex:element2>
|
|
</ex:extensionElement>
|
|
</ex:localElementComplexTypeEmptyExtension>
|
|
</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><xs:schema></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>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
|
|
</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>
|
|
<ex:elementDefaultAnyType/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="elementKey" type="ex:ElementKey">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:element>
|
|
<xs:complexType name="ElementKey">
|
|
<xs:sequence>
|
|
<xs:element name="item" type="ex:itemType" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="itemType">
|
|
<xs:sequence>
|
|
<xs:element name="number" type="xs:integer" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:elementKey>
|
|
<ex:item>
|
|
<ex:number>1234</ex:number>
|
|
</ex:item>
|
|
</ex:elementKey>
|
|
</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><xs:schema></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>
|
|
<xs:element name="maxOccurs0" type="ex:MaxOccurs0" />
|
|
<xs:complexType name="MaxOccurs0">
|
|
<xs:sequence>
|
|
<xs:element name="element1" 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">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" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:maxOccurs0>
|
|
<ex:element1>string1</ex:element1>
|
|
</ex:maxOccurs0>
|
|
</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><xs:schema></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>
|
|
<xs:element name="attributeFormQualified" type="ex:AttributeFormQualified" />
|
|
<xs:complexType name="AttributeFormQualified">
|
|
<xs:sequence>
|
|
<xs:element name="element1" type="xs:string" />
|
|
<xs:element name="element2" type="xs:string" />
|
|
</xs:sequence>
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:attributeFormQualified ex:attribute="string">
|
|
<ex:element1>string</ex:element1>
|
|
<ex:element2>string</ex:element2>
|
|
</ex:attributeFormQualified>
|
|
</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><xs:schema></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>
|
|
<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" />
|
|
|
|
</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>
|
|
<ex:globalElementDefault/>
|
|
</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>
|
|
<ex:globalElementDefault>theDefaultValue</ex:globalElementDefault>
|
|
</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>
|
|
<ex:globalElementDefault>anotherValue</ex:globalElementDefault>
|
|
</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>
|
|
<xs:element name="elementDefault" type="ex:ElementDefault" />
|
|
<xs:complexType name="ElementDefault">
|
|
<xs:sequence>
|
|
<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" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:elementDefault>
|
|
<ex:element>default</ex:element>
|
|
</ex:elementDefault>
|
|
</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>
|
|
<ex:elementDefault>
|
|
<ex:element>wrong value</ex:element>
|
|
</ex:elementDefault>
|
|
</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><xs:schema></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>
|
|
<xs:element name="attributeRequired" type="ex:AttributeRequired" />
|
|
<xs:complexType name="AttributeRequired">
|
|
<xs:sequence>
|
|
<xs:element name="percentage" type="xs:int" />
|
|
</xs:sequence>
|
|
<xs:attribute name="id" type="xs:string" />
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:attributeRequired id="1611" seasonal="yes">
|
|
<ex:percentage>5</ex:percentage>
|
|
</ex:attributeRequired>
|
|
</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>
|
|
<ex:attributeRequired id="1612" seasonal="no">
|
|
<ex:percentage>2</ex:percentage>
|
|
</ex:attributeRequired>
|
|
</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><xs:schema></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>
|
|
<xs:element name="attributeFixed" type="ex:AttributeFixed" />
|
|
<xs:complexType name="AttributeFixed">
|
|
<xs:sequence>
|
|
<xs:element name="fee" type="xs:int" />
|
|
</xs:sequence>
|
|
<xs:attribute name="id" type="xs:string" />
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:attributeFixed id="1511" currency="GBP">
|
|
<ex:fee>500</ex:fee>
|
|
</ex:attributeFixed>
|
|
</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><xs:schema></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>
|
|
<xs:element name="attributeDefault" type="ex:AttributeDefault" />
|
|
<xs:complexType name="AttributeDefault">
|
|
<xs:sequence>
|
|
<xs:element name="text" type="xs:string" minOccurs="0" />
|
|
</xs:sequence>
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:attributeDefault/>
|
|
</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>
|
|
<ex:attributeDefault defaultedValue="theDefaultValue"/>
|
|
</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>
|
|
<ex:attributeDefault defaultedValue=""/>
|
|
</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>
|
|
<ex:attributeDefault defaultedValue="anotherValue"/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="attributeReferenceUnqualified" type="ex:AttributeReferenceUnqualified" />
|
|
<xs:attribute name="attributeReferenceUnqualifiedAtt" type="xs:string" />
|
|
<xs:complexType name="AttributeReferenceUnqualified">
|
|
<xs:sequence>
|
|
<xs:element name="firstElement" type="xs:string" />
|
|
<xs:element name="lastElement" type="xs:string" />
|
|
</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">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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:attributeReferenceUnqualified ex:attributeReferenceUnqualifiedAtt="String">
|
|
<ex:firstElement>String</ex:firstElement>
|
|
<ex:lastElement>String</ex:lastElement>
|
|
</ex:attributeReferenceUnqualified>
|
|
</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><xs:schema></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>
|
|
<xs:element name="attributeTypeReferenceUnqualified" type="ex:AttributeTypeReferenceUnqualified" />
|
|
<xs:simpleType name="AttributeTypeReferenceUnqualifiedType">
|
|
<xs:restriction base="xs:decimal">
|
|
<xs:totalDigits value="3" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
<xs:complexType name="AttributeTypeReferenceUnqualified">
|
|
<xs:sequence>
|
|
<xs:element name="firstElement" type="xs:string" />
|
|
</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">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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:attributeTypeReferenceUnqualified localAttribute="123">
|
|
<ex:firstElement>String</ex:firstElement>
|
|
</ex:attributeTypeReferenceUnqualified>
|
|
</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><xs:schema></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>
|
|
<xs:element name="localAttributeSimpleType" type="ex:LocalAttributeSimpleType" />
|
|
<xs:complexType name="LocalAttributeSimpleType">
|
|
<xs:sequence>
|
|
<xs:element name="localElement1" type="xs:string" />
|
|
<xs:element name="localElement2" type="xs:string" />
|
|
</xs:sequence>
|
|
<xs:attribute name="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">xs:simpleType</b>>
|
|
<xs:restriction base="xs:string">
|
|
<xs:enumeration value="First" />
|
|
<xs:enumeration value="Second" />
|
|
<xs:enumeration value="Third" />
|
|
</xs:restriction>
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:attribute>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:localAttributeSimpleType localAttribute="First">
|
|
<ex:localElement1>String</ex:localElement1>
|
|
<ex:localElement2>String</ex:localElement2>
|
|
</ex:localAttributeSimpleType>
|
|
</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><xs:schema></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>
|
|
<xs:element name="attributeProhibited" type="ex:AttributeProhibited" />
|
|
<xs:complexType name="AttributeProhibited">
|
|
<xs:sequence>
|
|
<xs:element name="element1" type="xs:string" />
|
|
<xs:element name="element2" type="xs:string" />
|
|
</xs:sequence>
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:attributeProhibited>
|
|
<ex:element1>element1</ex:element1>
|
|
<ex:element2>element2</ex:element2>
|
|
</ex:attributeProhibited>
|
|
</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><xs:schema></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>
|
|
<xs:element name="globalComplexTypeAbstract" type="ex:GlobalComplexTypeAbstract" />
|
|
<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">
|
|
<xs:sequence>
|
|
<xs:element name="premium" type="xs:string" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="GlobalComplexTypeAbstract">
|
|
<xs:complexContent>
|
|
<xs:extension base="ex:GlobalComplexTypeExtra" />
|
|
</xs:complexContent>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:globalComplexTypeAbstract>
|
|
<ex:premium>1175</ex:premium>
|
|
</ex:globalComplexTypeAbstract>
|
|
</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><xs:schema></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>
|
|
<xs:element name="globalComplexTypeBlock" type="ex:BlockAll" />
|
|
<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">
|
|
<xs:sequence>
|
|
<xs:element name="amount" type="xs:string" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:globalComplexTypeBlock>
|
|
<ex:amount>1175</ex:amount>
|
|
</ex:globalComplexTypeBlock>
|
|
</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><xs:schema></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>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
<xs:element name="globalComplexTypeEmptyExtension" type="ex:GlobalComplexTypeEmptyExtension" />
|
|
|
|
</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>
|
|
<ex:globalComplexTypeEmptyExtension/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="nMTOKENEnumerationType" type="ex:NMTOKENEnumerationType" />
|
|
<xs:simpleType name="NMTOKENEnumerationType">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:nMTOKENEnumerationType>token1</ex:nMTOKENEnumerationType>
|
|
</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><xs:schema></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>
|
|
<xs:element name="intEnumerationType" type="ex:IntEnumerationType" />
|
|
<xs:simpleType name="IntEnumerationType">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:intEnumerationType>2</ex:intEnumerationType>
|
|
</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><xs:schema></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>
|
|
<xs:element name="shortEnumerationType" type="ex:ShortEnumerationType" />
|
|
<xs:simpleType name="ShortEnumerationType">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:shortEnumerationType>11</ex:shortEnumerationType>
|
|
</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><xs:schema></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>
|
|
<xs:element name="longEnumerationType" type="ex:LongEnumerationType" />
|
|
<xs:simpleType name="LongEnumerationType">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:longEnumerationType>9152052</ex:longEnumerationType>
|
|
</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><xs:schema></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>
|
|
<xs:element name="doubleEnumerationType" type="ex:DoubleEnumerationType" />
|
|
<xs:simpleType name="DoubleEnumerationType">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:doubleEnumerationType>1267.43233E12</ex:doubleEnumerationType>
|
|
</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><xs:schema></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>
|
|
<xs:element name="integerEnumerationType" type="ex:IntegerEnumerationType" />
|
|
<xs:simpleType name="IntegerEnumerationType">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:integerEnumerationType>4000000</ex:integerEnumerationType>
|
|
</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><xs:schema></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>
|
|
<xs:element name="decimalEnumerationType" type="ex:DecimalEnumerationType" />
|
|
<xs:simpleType name="DecimalEnumerationType">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:decimalEnumerationType>1000.0002</ex:decimalEnumerationType>
|
|
</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><xs:schema></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>
|
|
<xs:element name="floatEnumerationType" type="ex:FloatEnumerationType" />
|
|
<xs:simpleType name="FloatEnumerationType">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:floatEnumerationType>1267.43233E12</ex:floatEnumerationType>
|
|
</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><xs:schema></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>
|
|
<xs:element name="nonNegativeIntegerEnumerationType" type="ex:NonNegativeIntegerEnumerationType" />
|
|
<xs:simpleType name="NonNegativeIntegerEnumerationType">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:nonNegativeIntegerEnumerationType>12</ex:nonNegativeIntegerEnumerationType>
|
|
</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><xs:schema></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>
|
|
<xs:element name="positiveIntegerEnumerationType" type="ex:PositiveIntegerEnumerationType" />
|
|
<xs:simpleType name="PositiveIntegerEnumerationType">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:positiveIntegerEnumerationType>12</ex:positiveIntegerEnumerationType>
|
|
</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><xs:schema></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>
|
|
<xs:element name="unsignedIntEnumerationType" type="ex:UnsignedIntEnumerationType" />
|
|
<xs:simpleType name="UnsignedIntEnumerationType">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:unsignedIntEnumerationType>3333333333</ex:unsignedIntEnumerationType>
|
|
</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><xs:schema></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>
|
|
<xs:element name="unsignedLongEnumerationType" type="ex:UnsignedLongEnumerationType" />
|
|
<xs:simpleType name="UnsignedLongEnumerationType">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:unsignedLongEnumerationType>33333333333333</ex:unsignedLongEnumerationType>
|
|
</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><xs:schema></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>
|
|
<xs:element name="unsignedShortEnumerationType" type="ex:UnsignedShortEnumerationType" />
|
|
<xs:simpleType name="UnsignedShortEnumerationType">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:unsignedShortEnumerationType>3333</ex:unsignedShortEnumerationType>
|
|
</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><xs:schema></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>
|
|
<xs:element name="tokenEnumerationType" type="ex:TokenEnumerationType" />
|
|
<xs:simpleType name="TokenEnumerationType">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:tokenEnumerationType>1</ex:tokenEnumerationType>
|
|
</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>
|
|
<ex:tokenEnumerationType>2</ex:tokenEnumerationType>
|
|
</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><xs:schema></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>
|
|
<xs:element name="languageEnumerationType" type="ex:LanguageEnumerationType" />
|
|
<xs:simpleType name="LanguageEnumerationType">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:languageEnumerationType>en</ex:languageEnumerationType>
|
|
</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>
|
|
<ex:languageEnumerationType>it</ex:languageEnumerationType>
|
|
</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><xs:schema></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>
|
|
<xs:element name="simpleTypeEnumerationType" type="ex:SimpleTypeEnumerationType" />
|
|
<xs:simpleType name="SimpleTypeEnumerationType">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
<xs:simpleType name="SimpleTypeEnumerationTypeBase">
|
|
<xs:restriction base="xs:string">
|
|
<xs:enumeration value="One" />
|
|
<xs:enumeration value="Two" />
|
|
<xs:enumeration value="Three" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:simpleTypeEnumerationType>One</ex:simpleTypeEnumerationType>
|
|
</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>
|
|
<ex:simpleTypeEnumerationType>Two</ex:simpleTypeEnumerationType>
|
|
</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><xs:schema></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>
|
|
<xs:element name="decimalSimpleTypeTotalDigits" type="ex:DecimalSimpleTypeTotalDigits" />
|
|
<xs:simpleType name="DecimalSimpleTypeTotalDigits">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:decimalSimpleTypeTotalDigits>1234</ex:decimalSimpleTypeTotalDigits>
|
|
</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>
|
|
<ex:decimalSimpleTypeTotalDigits>12345</ex:decimalSimpleTypeTotalDigits>
|
|
</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><xs:schema></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>
|
|
<xs:element name="decimalSimpleTypeFractionDigits" type="ex:DecimalSimpleTypeFractionDigits" />
|
|
<xs:simpleType name="DecimalSimpleTypeFractionDigits">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:decimalSimpleTypeFractionDigits>1234.00</ex:decimalSimpleTypeFractionDigits>
|
|
</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>
|
|
<ex:decimalSimpleTypeFractionDigits>1234</ex:decimalSimpleTypeFractionDigits>
|
|
</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><xs:schema></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>
|
|
<xs:element name="qNameEnumerationType" type="ex:QNameSimpleType" />
|
|
<xs:simpleType name="QNameSimpleType">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:qNameEnumerationType>ex:firstQName</ex:qNameEnumerationType>
|
|
</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><xs:schema></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>
|
|
<xs:element name="anyURIEnumerationType" type="ex:URISimpleType" />
|
|
<xs:simpleType name="URISimpleType">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:anyURIEnumerationType>http://www.w3.org/2005/08/addressing/reply</ex:anyURIEnumerationType>
|
|
</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><xs:schema></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>
|
|
<xs:element name="complexTypeAll" type="ex:ComplexTypeAll" />
|
|
<xs:complexType name="ComplexTypeAll">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
<xs:attribute name="id" type="xs:string" />
|
|
<xs:attribute name="inStock" type="xs:int" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:complexTypeAll id="6026" inStock="232">
|
|
<ex:name>Widget</ex:name>
|
|
<ex:length>33</ex:length>
|
|
<ex:shade>Light Blue</ex:shade>
|
|
</ex:complexTypeAll>
|
|
</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>
|
|
<ex:complexTypeAll inStock="332" id="6026">
|
|
<ex:shade>Green</ex:shade>
|
|
<ex:length>21</ex:length>
|
|
<ex:name>Widget</ex:name>
|
|
</ex:complexTypeAll>
|
|
</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><xs:schema></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>
|
|
<xs:element name="fruit" type="ex:Fruit" />
|
|
<xs:complexType name="Fruit">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:fruit>
|
|
<ex:apple>21</ex:apple>
|
|
</ex:fruit>
|
|
</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>
|
|
<ex:fruit>
|
|
<ex:orange>Two Hundred</ex:orange>
|
|
</ex:fruit>
|
|
</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>
|
|
<ex:fruit>
|
|
<ex:banana>329</ex:banana>
|
|
</ex:fruit>
|
|
</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><xs:schema></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>
|
|
<xs:element name="complexTypeOnlyAttributes" type="ex:ComplexTypeOnlyAttributes" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
|
|
</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>
|
|
<ex:complexTypeOnlyAttributes a1="11226026" a2="223232"/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="complexTypeOnlyAttributeGroup" type="ex:ComplexTypeOnlyAttributeGroup" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
<xs:attributeGroup name="CommonOnlyAttributeGroup">
|
|
<xs:attribute name="id" type="xs:ID" use="optional" form="unqualified" />
|
|
</xs:attributeGroup>
|
|
|
|
</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>
|
|
<ex:complexTypeOnlyAttributeGroup id="AttributeGroup_contract_001"/>
|
|
</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><xs:schema></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>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:any processContents="skip" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
|
|
</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>
|
|
<ex:globalElementSequenceAny>
|
|
<ex:data> some data </ex:data>
|
|
</ex:globalElementSequenceAny>
|
|
</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><xs:schema></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>
|
|
<xs:element name="complexTypeAnyAttribute" type="ex:ComplexTypeAnyAttribute" />
|
|
<xs:complexType name="ComplexTypeAnyAttribute">
|
|
<xs:sequence>
|
|
<xs:element name="element1" type="xs:string" />
|
|
<xs:element name="element2" type="xs:string" />
|
|
</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">xs:anyAttribute</b> processContents="skip" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:complexTypeAnyAttribute anyattr="string">
|
|
<ex:element1>string</ex:element1>
|
|
<ex:element2>string</ex:element2>
|
|
</ex:complexTypeAnyAttribute>
|
|
</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><xs:schema></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>
|
|
<xs:element name="anyAttributeStrict" type="ex:AnyAttributeStrict" />
|
|
<xs:complexType name="AnyAttributeStrict">
|
|
<xs:sequence>
|
|
<xs:element name="firstName" type="xs:string" />
|
|
<xs:element name="lastName" type="xs:string" />
|
|
</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">xs:anyAttribute</b> />
|
|
</xs:complexType>
|
|
<xs:attribute name="eyeColor" type="xs:string" />
|
|
<xs:attribute name="hairColor" type="xs:string" />
|
|
|
|
</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>
|
|
<ex:anyAttributeStrict ex:eyeColor="blue">
|
|
<ex:firstName>Bobby</ex:firstName>
|
|
<ex:lastName>Sox</ex:lastName>
|
|
</ex:anyAttributeStrict>
|
|
</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>
|
|
<ex:anyAttributeStrict ex:hairColor="green">
|
|
<ex:firstName>Bobby</ex:firstName>
|
|
<ex:lastName>Sox</ex:lastName>
|
|
</ex:anyAttributeStrict>
|
|
</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>
|
|
<ex:anyAttributeStrict ex:eyeColor="blue" ex:hairColor="green">
|
|
<ex:firstName>Bobby</ex:firstName>
|
|
<ex:lastName>Sox</ex:lastName>
|
|
</ex:anyAttributeStrict>
|
|
</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><xs:schema></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>
|
|
<xs:element name="anyAttributeLax" type="ex:AnyAttributeLax" />
|
|
<xs:complexType name="AnyAttributeLax">
|
|
<xs:sequence>
|
|
<xs:element name="firstName" type="xs:string" />
|
|
<xs:element name="lastName" type="xs:string" />
|
|
</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">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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:anyAttributeLax eyeColor="blue">
|
|
<ex:firstName>Bobby</ex:firstName>
|
|
<ex:lastName>Sox</ex:lastName>
|
|
</ex:anyAttributeLax>
|
|
</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><xs:schema></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>
|
|
<xs:element name="anyAttributeSkip" type="ex:AnyAttributeSkip" />
|
|
<xs:complexType name="AnyAttributeSkip">
|
|
<xs:sequence>
|
|
<xs:element name="firstName" type="xs:string" />
|
|
<xs:element name="lastName" type="xs:string" />
|
|
</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">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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:anyAttributeSkip eyeColor="blue">
|
|
<ex:firstName>Bobby</ex:firstName>
|
|
<ex:lastName>Sox</ex:lastName>
|
|
</ex:anyAttributeSkip>
|
|
</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><xs:schema></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>
|
|
<xs:import namespace="http://www.w3.org/2002/ws/databinding/examples/6/09/strict/" schemaLocation="../strict.xsd" />
|
|
<xs:element name="anyAttributeOtherStrict" type="ex:AnyAttributeOtherStrict" />
|
|
<xs:complexType name="AnyAttributeOtherStrict">
|
|
<xs:sequence>
|
|
<xs:element name="firstElement" type="xs:string" />
|
|
<xs:element name="lastElement" type="xs:string" />
|
|
</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">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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:anyAttributeOtherStrict ex2:strictAttribute="value1">
|
|
<ex:firstElement>String</ex:firstElement>
|
|
<ex:lastElement>String</ex:lastElement>
|
|
</ex:anyAttributeOtherStrict>
|
|
</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><xs:schema></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>
|
|
<xs:element name="anyAttributeOtherLax" type="ex:AnyAttributeOtherLax" />
|
|
<xs:complexType name="AnyAttributeOtherLax">
|
|
<xs:sequence>
|
|
<xs:element name="firstElement" type="xs:string" />
|
|
<xs:element name="lastElement" type="xs:string" />
|
|
</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">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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:anyAttributeOtherLax ex2:otherAttribute="text">
|
|
<ex:firstElement>String</ex:firstElement>
|
|
<ex:lastElement>String</ex:lastElement>
|
|
</ex:anyAttributeOtherLax>
|
|
</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><xs:schema></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>
|
|
<xs:element name="anyAttributeOtherSkip" type="ex:AnyAttributeOtherSkip" />
|
|
<xs:complexType name="AnyAttributeOtherSkip">
|
|
<xs:sequence>
|
|
<xs:element name="firstElement" type="xs:string" />
|
|
<xs:element name="lastElement" type="xs:string" />
|
|
</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">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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:anyAttributeOtherSkip ex2:otherAttribute="text">
|
|
<ex:firstElement>String</ex:firstElement>
|
|
<ex:lastElement>String</ex:lastElement>
|
|
</ex:anyAttributeOtherSkip>
|
|
</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><xs:schema></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>
|
|
<xs:element name="extendedSimpleContent" type="ex:ExtendedSimpleContent" />
|
|
<xs:complexType name="ExtendedSimpleContent">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">xs:simpleContent</b>>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:extendedSimpleContent attribute="string">string</ex:extendedSimpleContent>
|
|
</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><xs:schema></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>
|
|
<xs:schema targetNamespace="http://www.w3.org/2002/ws/databinding/examples/6/09/" elementFormDefault="qualified">
|
|
<xs:import namespace="http://schemas.xmlsoap.org/soap/encoding/" schemaLocation="http://schemas.xmlsoap.org/soap/encoding/" />
|
|
<xs:element name="soapEncodedArray" type="ex:SOAPEncodedArray" />
|
|
<xs:complexType name="SOAPEncodedArray">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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[]" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">xs:complexContent</b>>
|
|
</xs:complexType>
|
|
</xs:schema>
|
|
|
|
</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>
|
|
<ex:soapEncodedArray/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="restrictedSimpleContent" type="ex:RestrictedSimpleContent" />
|
|
<xs:complexType name="RestrictedSimpleContent">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">xs:simpleContent</b>>
|
|
</xs:complexType>
|
|
<xs:complexType name="SomeSimpleContent">
|
|
<xs:simpleContent>
|
|
<xs:extension base="ex:SimpleType">
|
|
<xs:attribute name="Currency" type="xs:string" />
|
|
</xs:extension>
|
|
</xs:simpleContent>
|
|
</xs:complexType>
|
|
<xs:simpleType name="SimpleType">
|
|
<xs:restriction base="xs:int">
|
|
<xs:minExclusive value="0" />
|
|
<xs:maxExclusive value="100" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:restrictedSimpleContent>1</ex:restrictedSimpleContent>
|
|
</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>
|
|
<ex:restrictedSimpleContent>99</ex:restrictedSimpleContent>
|
|
</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><xs:schema></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>
|
|
<xs:element name="complexTypeChoiceExtension" type="ex:ComplexTypeChoiceExtension" />
|
|
<xs:complexType name="ComplexTypeChoiceBase">
|
|
<xs:sequence>
|
|
<xs:element name="element1" type="xs:string" />
|
|
<xs:element name="element2" type="xs:string" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="ComplexTypeChoiceExtension">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">xs:complexContent</b>>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:complexTypeChoiceExtension>
|
|
<ex:element1>element1</ex:element1>
|
|
<ex:element2>element2</ex:element2>
|
|
<ex:element3>element3</ex:element3>
|
|
</ex:complexTypeChoiceExtension>
|
|
</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>
|
|
<ex:complexTypeChoiceExtension>
|
|
<ex:element1>element1</ex:element1>
|
|
<ex:element2>element2</ex:element2>
|
|
<ex:element4>element4</ex:element4>
|
|
</ex:complexTypeChoiceExtension>
|
|
</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><xs:schema></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>
|
|
<xs:element name="complexTypeAttributeGroupExtension" type="ex:ComplexTypeAttributeGroupExtension" />
|
|
<xs:complexType name="ComplexTypeAttributeGroupBase">
|
|
<xs:sequence>
|
|
<xs:element name="element1" type="xs:string" />
|
|
<xs:element name="element2" type="xs:string" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="ComplexTypeAttributeGroupExtension">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">xs:complexContent</b>>
|
|
</xs:complexType>
|
|
<xs:attributeGroup name="CommonAttributes">
|
|
<xs:attribute name="id" type="xs:ID" use="optional" form="unqualified" />
|
|
</xs:attributeGroup>
|
|
|
|
</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>
|
|
<ex:complexTypeAttributeGroupExtension id="ComplexTypeAttributeGroupExtension_01">
|
|
<ex:element1>element1</ex:element1>
|
|
<ex:element2>element2</ex:element2>
|
|
</ex:complexTypeAttributeGroupExtension>
|
|
</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><xs:schema></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>
|
|
<xs:element name="complexTypeAttributeRestriction" type="ex:ComplexTypeAttributeRestriction" />
|
|
<xs:complexType name="ComplexTypeAttributeRestrictionBase">
|
|
<xs:sequence>
|
|
<xs:element name="element1" type="xs:string" />
|
|
</xs:sequence>
|
|
<xs:attribute name="attrRestriction" type="xs:string" />
|
|
</xs:complexType>
|
|
<xs:complexType name="ComplexTypeAttributeRestriction">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<xs:sequence>
|
|
<xs:element name="element1" type="xs:string" />
|
|
</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">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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">xs:complexContent</b>>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:complexTypeAttributeRestriction attrRestriction="value">
|
|
<ex:element1>string</ex:element1>
|
|
</ex:complexTypeAttributeRestriction>
|
|
</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><xs:schema></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>
|
|
<xs:element name="complexTypeSequenceRestriction" type="ex:ComplexTypeSequenceRestriction" />
|
|
<xs:complexType name="ComplexTypeSequenceRestrictionBase">
|
|
<xs:sequence>
|
|
<xs:element name="element1" type="xs:string" minOccurs="0" maxOccurs="unbounded" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="ComplexTypeSequenceRestriction">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
<xs:element name="element1" 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">xs:sequence</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">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">xs:complexContent</b>>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:complexTypeSequenceRestriction>
|
|
<ex:element1>string</ex:element1>
|
|
</ex:complexTypeSequenceRestriction>
|
|
</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><xs:schema></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>
|
|
<xs:element name="complexContentRestrictionAnyAttribute" type="ex:ComplexContentRestrictionAnyAttribute" />
|
|
<xs:complexType name="ComplexContentRestrictionAnyAttribute">
|
|
<xs:complexContent>
|
|
<xs:restriction base="ex:ComplexTypeToBeRestricted">
|
|
<xs:sequence>
|
|
<xs:element name="element1" type="xs:string" />
|
|
<xs:element name="element2" type="xs:string" />
|
|
</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">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" />
|
|
</xs:restriction>
|
|
</xs:complexContent>
|
|
</xs:complexType>
|
|
<xs:complexType name="ComplexTypeToBeRestricted">
|
|
<xs:sequence>
|
|
<xs:element name="element1" type="xs:string" minOccurs="0" />
|
|
<xs:element name="element2" type="xs:string" minOccurs="0" />
|
|
</xs:sequence>
|
|
<xs:anyAttribute processContents="skip" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:complexContentRestrictionAnyAttribute>
|
|
<ex:element1>value1</ex:element1>
|
|
<ex:element2>value2</ex:element2>
|
|
</ex:complexContentRestrictionAnyAttribute>
|
|
</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><xs:schema></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>
|
|
<xs:element name="complexContentExtensionAnyAttribute" type="ex:ComplexContentExtensionAnyAttribute" />
|
|
<xs:complexType name="ComplexContentExtensionAnyAttribute">
|
|
<xs:complexContent>
|
|
<xs:extension base="ex:ComplexTypeToBeExtended">
|
|
<xs:sequence>
|
|
<xs:element name="element3" type="xs:string" minOccurs="0" />
|
|
<xs:element name="element4" type="xs:string" minOccurs="0" />
|
|
</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">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" />
|
|
</xs:extension>
|
|
</xs:complexContent>
|
|
</xs:complexType>
|
|
<xs:complexType name="ComplexTypeToBeExtended">
|
|
<xs:sequence>
|
|
<xs:element name="element1" type="xs:string" />
|
|
<xs:element name="element2" type="xs:string" />
|
|
</xs:sequence>
|
|
<xs:anyAttribute processContents="skip" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:complexContentExtensionAnyAttribute>
|
|
<ex:element1>value1</ex:element1>
|
|
<ex:element2>value2</ex:element2>
|
|
</ex:complexContentExtensionAnyAttribute>
|
|
</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>
|
|
<ex:complexContentExtensionAnyAttribute>
|
|
<ex:element1>value1</ex:element1>
|
|
<ex:element2>value2</ex:element2>
|
|
<ex:element3>value3</ex:element3>
|
|
<ex:element4>value4</ex:element4>
|
|
</ex:complexContentExtensionAnyAttribute>
|
|
</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><xs:schema></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>
|
|
<xs:element name="complexTypeFinal" type="ex: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">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">
|
|
<xs:sequence>
|
|
<xs:element name="element1" type="xs:string" minOccurs="0" maxOccurs="unbounded" />
|
|
</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">xs:complexType</b>>
|
|
|
|
</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>
|
|
<ex:complexTypeFinal>
|
|
<ex:element1>value1</ex:element1>
|
|
<ex:element1>value2</ex:element1>
|
|
<ex:element1>value3</ex:element1>
|
|
</ex:complexTypeFinal>
|
|
</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><xs:schema></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>
|
|
<xs:element name="complexTypeExtensionAnnotationOnly" type="ex:ComplexTypeExtensionAnnotationOnly" />
|
|
<xs:complexType name="ComplexTypeExtensionAnnotationOnly">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<xs:annotation>
|
|
<xs:documentation />
|
|
</xs:annotation>
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">xs:complexContent</b>>
|
|
</xs:complexType>
|
|
<xs:complexType name="ComplexTypeExtension">
|
|
<xs:sequence>
|
|
<xs:element name="element1" type="xs:string" />
|
|
<xs:element name="element2" type="xs:string" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:complexTypeExtensionAnnotationOnly>
|
|
<ex:element1>string</ex:element1>
|
|
<ex:element2>string</ex:element2>
|
|
</ex:complexTypeExtensionAnnotationOnly>
|
|
</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><xs:schema></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>
|
|
<xs:element name="simpleContentAnyAttributeSkip" type="ex:SimpleContentAnyAttributeSkip" />
|
|
<xs:complexType name="SimpleContentAnyAttributeSkip">
|
|
<xs:simpleContent>
|
|
<xs:extension base="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">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" />
|
|
</xs:extension>
|
|
</xs:simpleContent>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:simpleContentAnyAttributeSkip skipAttribute="string">string</ex:simpleContentAnyAttributeSkip>
|
|
</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><xs:schema></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>
|
|
<xs:element name="simpleContentAnyAttributeLax" type="ex:SimpleContentAnyAttributeLax" />
|
|
<xs:complexType name="SimpleContentAnyAttributeLax">
|
|
<xs:simpleContent>
|
|
<xs:extension base="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">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" />
|
|
</xs:extension>
|
|
</xs:simpleContent>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:simpleContentAnyAttributeLax ex2:laxAttribute="string">some data</ex:simpleContentAnyAttributeLax>
|
|
</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><xs:schema></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>
|
|
<xs:import namespace="http://www.w3.org/2002/ws/databinding/examples/6/09/strict/" schemaLocation="../strict.xsd" />
|
|
<xs:element name="simpleContentAnyAttributeStrict" type="ex:SimpleContentAnyAttributeStrict" />
|
|
<xs:complexType name="SimpleContentAnyAttributeStrict">
|
|
<xs:simpleContent>
|
|
<xs:extension base="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">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" />
|
|
</xs:extension>
|
|
</xs:simpleContent>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:simpleContentAnyAttributeStrict ex2:strictAttribute="value1">some data</ex:simpleContentAnyAttributeStrict>
|
|
</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><xs:schema></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>
|
|
<xs:element name="anyAttributeNamespacedFinite" type="ex:AnyAttributeNamespacedFinite" />
|
|
<xs:complexType name="AnyAttributeNamespacedFinite">
|
|
<xs:sequence>
|
|
<xs:element name="firstElement" type="xs:string" />
|
|
<xs:element name="lastElement" type="xs:string" />
|
|
</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">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/" />
|
|
</xs:complexType>
|
|
<xs:attribute name="otherAttribute">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:enumeration value="value1" />
|
|
<xs:enumeration value="value2" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:attribute>
|
|
|
|
</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>
|
|
<ex:anyAttributeNamespacedFinite ex:otherAttribute="value1">
|
|
<ex:firstElement>element1</ex:firstElement>
|
|
<ex:lastElement>element2</ex:lastElement>
|
|
</ex:anyAttributeNamespacedFinite>
|
|
</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><xs:schema></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>
|
|
<xs:element name="mortgage" type="ex:Mortgage" />
|
|
<xs:complexType name="Mortgage">
|
|
<xs:sequence>
|
|
<xs:element name="amount" type="xs:int" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="Repayment">
|
|
<xs:sequence>
|
|
<xs:element name="years" type="xs:int" />
|
|
<xs:element name="months" type="xs:int" />
|
|
<xs:element name="rate" type="xs:string" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="InterestOnly">
|
|
<xs:sequence>
|
|
<xs:element name="years" type="xs:int" />
|
|
<xs:element name="rate" type="xs:string" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:mortgage>
|
|
<ex:amount>225000</ex:amount>
|
|
<ex:repayment>
|
|
<ex:years>20</ex:years>
|
|
<ex:months>6</ex:months>
|
|
<ex:rate>5.25</ex:rate>
|
|
</ex:repayment>
|
|
</ex:mortgage>
|
|
</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>
|
|
<ex:mortgage>
|
|
<ex:amount>225000</ex:amount>
|
|
<ex:interestonly>
|
|
<ex:years>25</ex:years>
|
|
<ex:rate>5.50</ex:rate>
|
|
</ex:interestonly>
|
|
</ex:mortgage>
|
|
</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><xs:schema></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>
|
|
<xs:element name="sequenceSequenceElement" type="ex:SequenceSequenceElement" />
|
|
<xs:complexType name="SequenceSequenceElement">
|
|
<xs:sequence>
|
|
<xs:element name="firstName" 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">xs:sequence</b> minOccurs="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">xs:element</b> 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">xs:sequence</b> minOccurs="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">xs:element</b> name="lastName" 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">xs:sequence</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">xs:sequence</b>>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:sequenceSequenceElement>
|
|
<ex:firstName>Paul</ex:firstName>
|
|
</ex:sequenceSequenceElement>
|
|
</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>
|
|
<ex:sequenceSequenceElement>
|
|
<ex:firstName>Paul</ex:firstName>
|
|
<ex:middleName>Sumner</ex:middleName>
|
|
</ex:sequenceSequenceElement>
|
|
</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>
|
|
<ex:sequenceSequenceElement>
|
|
<ex:firstName>Paul</ex:firstName>
|
|
<ex:middleName>Sumner</ex:middleName>
|
|
<ex:lastName>Downey</ex:lastName>
|
|
</ex:sequenceSequenceElement>
|
|
</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><xs:schema></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>
|
|
<xs:element name="sequenceMinOccurs0" type="ex:SequenceMinOccurs0" />
|
|
<xs:complexType name="SequenceMinOccurs0">
|
|
<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">
|
|
<xs:element name="firstName" type="xs:string" />
|
|
<xs:element name="middleName" type="xs:string" />
|
|
<xs:element name="lastName" type="xs:string" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:sequenceMinOccurs0>
|
|
<ex:firstName>Paul</ex:firstName>
|
|
<ex:middleName>Sumner</ex:middleName>
|
|
<ex:lastName>Downey</ex:lastName>
|
|
</ex:sequenceMinOccurs0>
|
|
</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>
|
|
<ex:sequenceMinOccurs0/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="durationListSequence" type="ex:DurationListSequence" />
|
|
<xs:complexType name="DurationListSequence">
|
|
<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">
|
|
<xs:element name="durationVal" type="xs:string" />
|
|
<xs:element name="durationPercentage" type="xs:string" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:durationListSequence>
|
|
<ex:durationVal>44</ex:durationVal>
|
|
<ex:durationPercentage>33</ex:durationPercentage>
|
|
<ex:durationVal>24</ex:durationVal>
|
|
<ex:durationPercentage>45</ex:durationPercentage>
|
|
<ex:durationVal>64</ex:durationVal>
|
|
<ex:durationPercentage>22</ex:durationPercentage>
|
|
</ex:durationListSequence>
|
|
</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>
|
|
<ex:durationListSequence/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="ageListSequence" type="ex:AgeListSequence" />
|
|
<xs:complexType name="AgeListSequence">
|
|
<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">
|
|
<xs:element name="ageVal" type="xs:string" />
|
|
<xs:element name="agePercentage" type="xs:string" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:ageListSequence>
|
|
<ex:ageVal>44</ex:ageVal>
|
|
<ex:agePercentage>33</ex:agePercentage>
|
|
<ex:ageVal>24</ex:ageVal>
|
|
<ex:agePercentage>45</ex:agePercentage>
|
|
<ex:ageVal>64</ex:ageVal>
|
|
<ex:agePercentage>22</ex:agePercentage>
|
|
</ex:ageListSequence>
|
|
</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>
|
|
<ex:ageListSequence>
|
|
<ex:ageVal>44</ex:ageVal>
|
|
<ex:agePercentage>33</ex:agePercentage>
|
|
</ex:ageListSequence>
|
|
</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>
|
|
<xs:element name="bookPublications" type="ex:BookPublications" />
|
|
<xs:complexType name="BookPublications">
|
|
<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">
|
|
<xs:element name="pubDate" type="xs:string" />
|
|
<xs:element name="pubISBN" type="xs:string" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:bookPublications>
|
|
<ex:pubDate>2002-09-24</ex:pubDate>
|
|
<ex:pubISBN>1-55960-907-6</ex:pubISBN>
|
|
<ex:pubDate>2003-04-14</ex:pubDate>
|
|
<ex:pubISBN>1-25466-908-6</ex:pubISBN>
|
|
<ex:pubDate>2004-03-31</ex:pubDate>
|
|
<ex:pubISBN>1-35460-909-6</ex:pubISBN>
|
|
<ex:pubDate>2005-06-04</ex:pubDate>
|
|
<ex:pubISBN>1-54560-910-6</ex:pubISBN>
|
|
<ex:pubDate>2006-07-03</ex:pubDate>
|
|
<ex:pubISBN>1-74869-911-6</ex:pubISBN>
|
|
</ex:bookPublications>
|
|
</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>
|
|
<ex:bookPublications>
|
|
<ex:pubDate>2006-01-26</ex:pubDate>
|
|
<ex:pubISBN>1-44795-912-6</ex:pubISBN>
|
|
</ex:bookPublications>
|
|
</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><xs:schema></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>
|
|
<xs:element name="articleColors" type="ex:ArticleColors" />
|
|
<xs:complexType name="ArticleColors">
|
|
<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">
|
|
<xs:element name="articleColor" type="xs:string" />
|
|
<xs:element name="articleContrast" type="xs:string" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:articleColors>
|
|
<ex:articleColor>Red</ex:articleColor>
|
|
<ex:articleContrast>Bright</ex:articleContrast>
|
|
<ex:articleColor>Black</ex:articleColor>
|
|
<ex:articleContrast>Bright</ex:articleContrast>
|
|
<ex:articleColor>White</ex:articleColor>
|
|
<ex:articleContrast>Low</ex:articleContrast>
|
|
<ex:articleColor>Yellow</ex:articleColor>
|
|
<ex:articleContrast>Normal</ex:articleContrast>
|
|
</ex:articleColors>
|
|
</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>
|
|
<ex:articleColors>
|
|
<ex:articleColor>Black</ex:articleColor>
|
|
<ex:articleContrast>Normal</ex:articleContrast>
|
|
<ex:articleColor>White</ex:articleColor>
|
|
<ex:articleContrast>Bright</ex:articleContrast>
|
|
</ex:articleColors>
|
|
</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><xs:schema></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>
|
|
<xs:element name="winter" type="ex:Winter" />
|
|
<xs:complexType name="Winter">
|
|
<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">
|
|
<xs:element name="mnth" type="xs:string" />
|
|
<xs:element name="weather" type="xs:string" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:winter>
|
|
<ex:mnth>November</ex:mnth>
|
|
<ex:weather>Rain</ex:weather>
|
|
<ex:mnth>December</ex:mnth>
|
|
<ex:weather>Snow</ex:weather>
|
|
<ex:mnth>January</ex:mnth>
|
|
<ex:weather>Snow</ex:weather>
|
|
<ex:mnth>February</ex:mnth>
|
|
<ex:weather>Rain</ex:weather>
|
|
</ex:winter>
|
|
</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>
|
|
<ex:winter>
|
|
<ex:mnth>December</ex:mnth>
|
|
<ex:weather>Snow</ex:weather>
|
|
</ex:winter>
|
|
</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><xs:schema></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>
|
|
<xs:element name="extendedSequenceStrict" type="ex:ExtendedSequenceStrict" />
|
|
<xs:complexType name="ExtendedSequenceStrict">
|
|
<xs:sequence>
|
|
<xs:element name="firstName" type="xs:string" />
|
|
<xs:element name="lastName" type="xs:string" />
|
|
<xs:element name="extension" type="ex:StrictExtension" minOccurs="0" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:element name="title" type="xs:string" />
|
|
<xs:element name="middleName" type="xs:string" />
|
|
<xs:complexType name="StrictExtension">
|
|
<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">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" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:extendedSequenceStrict>
|
|
<ex:firstName>Bobby</ex:firstName>
|
|
<ex:lastName>Sox</ex:lastName>
|
|
</ex:extendedSequenceStrict>
|
|
</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>
|
|
<ex:extendedSequenceStrict>
|
|
<ex:firstName>Bobby</ex:firstName>
|
|
<ex:lastName>Sox</ex:lastName>
|
|
<ex:extension>
|
|
<ex:middleName>William</ex:middleName>
|
|
<ex:title>Mr</ex:title>
|
|
</ex:extension>
|
|
</ex:extendedSequenceStrict>
|
|
</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><xs:schema></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>
|
|
<xs:element name="extendedSequenceLax" type="ex:ExtendedSequenceLax" />
|
|
<xs:complexType name="ExtendedSequenceLax">
|
|
<xs:sequence>
|
|
<xs:element name="firstName" type="xs:string" />
|
|
<xs:element name="lastName" type="xs:string" />
|
|
<xs:element name="extension" type="ex:LaxExtension" minOccurs="0" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="LaxExtension">
|
|
<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">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" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:extendedSequenceLax>
|
|
<ex:firstName>Bobby</ex:firstName>
|
|
<ex:lastName>Sox</ex:lastName>
|
|
</ex:extendedSequenceLax>
|
|
</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>
|
|
<ex:extendedSequenceLax>
|
|
<ex:firstName>Bobby</ex:firstName>
|
|
<ex:lastName>Sox</ex:lastName>
|
|
<ex:extension>
|
|
<ex:middleName>William</ex:middleName>
|
|
<ex:title>Mr</ex:title>
|
|
</ex:extension>
|
|
</ex:extendedSequenceLax>
|
|
</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><xs:schema></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>
|
|
<xs:element name="extendedSequenceSkip" type="ex:ExtendedSequenceSkip" />
|
|
<xs:complexType name="ExtendedSequenceSkip">
|
|
<xs:sequence>
|
|
<xs:element name="firstName" type="xs:string" />
|
|
<xs:element name="lastName" type="xs:string" />
|
|
<xs:element name="extension" type="ex:SkipExtension" minOccurs="0" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="SkipExtension">
|
|
<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">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" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:extendedSequenceSkip>
|
|
<ex:firstName>Bobby</ex:firstName>
|
|
<ex:lastName>Sox</ex:lastName>
|
|
</ex:extendedSequenceSkip>
|
|
</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>
|
|
<ex:extendedSequenceSkip>
|
|
<ex:firstName>Bobby</ex:firstName>
|
|
<ex:lastName>Sox</ex:lastName>
|
|
<ex:extension>
|
|
<ex:middleName>William</ex:middleName>
|
|
<ex:title>Mr</ex:title>
|
|
</ex:extension>
|
|
</ex:extendedSequenceSkip>
|
|
</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><xs:schema></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>
|
|
<xs:element name="extendedSequenceStrictAny" type="ex:ExtendedSequenceStrictAny" />
|
|
<xs:element name="extendedSequenceStrictAnyElement" type="xs:string" />
|
|
<xs:complexType name="ExtendedSequenceStrictAny">
|
|
<xs:sequence>
|
|
<xs:element name="firstElement" type="xs:string" />
|
|
<xs:element name="lastElement" type="xs:string" />
|
|
<xs:element name="extension" type="ex:ExtendedSequenceStrictAnyExtension" minOccurs="0" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="ExtendedSequenceStrictAnyExtension">
|
|
<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">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" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:extendedSequenceStrictAny>
|
|
<ex:firstElement>String</ex:firstElement>
|
|
<ex:lastElement>String</ex:lastElement>
|
|
<ex:extension>
|
|
<ex:extendedSequenceStrictAnyElement>Stuff</ex:extendedSequenceStrictAnyElement>
|
|
</ex:extension>
|
|
</ex:extendedSequenceStrictAny>
|
|
</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><xs:schema></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>
|
|
<xs:element name="extendedSequenceLaxAny" type="ex:ExtendedSequenceLaxAny" />
|
|
<xs:complexType name="ExtendedSequenceLaxAny">
|
|
<xs:sequence>
|
|
<xs:element name="firstElement" type="xs:string" />
|
|
<xs:element name="lastElement" type="xs:string" />
|
|
<xs:element name="extension" type="ex:ExtendedSequenceLaxAnyExtension" minOccurs="0" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="ExtendedSequenceLaxAnyExtension">
|
|
<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">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" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:extendedSequenceLaxAny>
|
|
<ex:firstElement>String</ex:firstElement>
|
|
<ex:lastElement>String</ex:lastElement>
|
|
<ex:extension>
|
|
<ex2:anyElement>Stuff</ex2:anyElement>
|
|
</ex:extension>
|
|
</ex:extendedSequenceLaxAny>
|
|
</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><xs:schema></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>
|
|
<xs:element name="extendedSequenceSkipAny" type="ex:ExtendedSequenceSkipAny" />
|
|
<xs:complexType name="ExtendedSequenceSkipAny">
|
|
<xs:sequence>
|
|
<xs:element name="firstElement" type="xs:string" />
|
|
<xs:element name="lastElement" type="xs:string" />
|
|
<xs:element name="extension" type="ex:ExtendedSequenceSkipAnyExtension" minOccurs="0" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="ExtendedSequenceSkipAnyExtension">
|
|
<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">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" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:extendedSequenceSkipAny>
|
|
<ex:firstElement>String</ex:firstElement>
|
|
<ex:lastElement>String</ex:lastElement>
|
|
<ex:extension>
|
|
<ex2:anyElement>Stuff</ex2:anyElement>
|
|
</ex:extension>
|
|
</ex:extendedSequenceSkipAny>
|
|
</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><xs:schema></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>
|
|
<xs:import namespace="http://www.w3.org/2002/ws/databinding/examples/6/09/strict/" schemaLocation="../strict.xsd" />
|
|
<xs:element name="extendedSequenceStrictOther" type="ex:ExtendedSequenceStrictOther" />
|
|
<xs:complexType name="ExtendedSequenceStrictOther">
|
|
<xs:sequence>
|
|
<xs:element name="element1" type="xs:string" />
|
|
<xs:element name="element2" type="xs:string" />
|
|
<xs:element name="extension" type="ex:ExtendedSequenceStrictOtherExtension" minOccurs="0" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="ExtendedSequenceStrictOtherExtension">
|
|
<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">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" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:extendedSequenceStrictOther>
|
|
<ex:element1>firstElement</ex:element1>
|
|
<ex:element2>lastElement</ex:element2>
|
|
<ex:extension>
|
|
<strictElement>strictElement</strictElement>
|
|
</ex:extension>
|
|
</ex:extendedSequenceStrictOther>
|
|
</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><xs:schema></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>
|
|
<xs:element name="extendedSequenceLaxOther" type="ex:ExtendedSequenceLaxOther" />
|
|
<xs:complexType name="ExtendedSequenceLaxOther">
|
|
<xs:sequence>
|
|
<xs:element name="firstElement" type="xs:string" />
|
|
<xs:element name="lastElement" type="xs:string" />
|
|
<xs:element name="extension" type="ex:ExtendedSequenceLaxOtherExtension" minOccurs="0" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="ExtendedSequenceLaxOtherExtension">
|
|
<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">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" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:extendedSequenceLaxOther>
|
|
<ex:firstElement>String</ex:firstElement>
|
|
<ex:lastElement>String</ex:lastElement>
|
|
<ex:extension>
|
|
<ex2:anyElement>Stuff</ex2:anyElement>
|
|
</ex:extension>
|
|
</ex:extendedSequenceLaxOther>
|
|
</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><xs:schema></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>
|
|
<xs:element name="extendedSequenceSkipOther" type="ex:ExtendedSequenceSkipOther" />
|
|
<xs:complexType name="ExtendedSequenceSkipOther">
|
|
<xs:sequence>
|
|
<xs:element name="firstElement" type="xs:string" />
|
|
<xs:element name="lastElement" type="xs:string" />
|
|
<xs:element name="extension" type="ex:ExtendedSequenceSkipOtherExtension" minOccurs="0" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="ExtendedSequenceSkipOtherExtension">
|
|
<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">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" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:extendedSequenceSkipOther>
|
|
<ex:firstElement>String</ex:firstElement>
|
|
<ex:lastElement>String</ex:lastElement>
|
|
<ex:extension>
|
|
<ex2:anyElement>Stuff</ex2:anyElement>
|
|
</ex:extension>
|
|
</ex:extendedSequenceSkipOther>
|
|
</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><xs:schema></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>
|
|
<xs:element name="sequenceAnyStrict" type="ex:SequenceAnyStrict" />
|
|
<xs:complexType name="SequenceAnyStrict">
|
|
<xs:sequence>
|
|
<xs:element name="element1" 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">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" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:sequenceAnyStrict>
|
|
<ex:element1>string</ex:element1>
|
|
</ex:sequenceAnyStrict>
|
|
</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><xs:schema></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>
|
|
<xs:element name="extendedSequenceNamespacedFinite" type="ex:ExtendedSequenceNamespacedFinite" />
|
|
<xs:complexType name="ExtendedSequenceNamespacedFinite">
|
|
<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">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/" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:extendedSequenceNamespacedFinite>
|
|
<ex:anyElement>any data</ex:anyElement>
|
|
</ex:extendedSequenceNamespacedFinite>
|
|
</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><xs:schema></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>
|
|
<xs:element name="sequenceSequenceGroup" type="ex:SequenceSequenceGroup" />
|
|
<xs:complexType name="SequenceSequenceGroup">
|
|
<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">xs:sequence</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">xs:group</b> ref="ex:SeqSeqGroup" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:group name="SeqSeqGroup">
|
|
<xs:sequence>
|
|
<xs:element name="element1" type="xs:string" />
|
|
<xs:element name="element2" type="xs:string" />
|
|
</xs:sequence>
|
|
</xs:group>
|
|
|
|
</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>
|
|
<ex:sequenceSequenceGroup>
|
|
<ex:element1>string1</ex:element1>
|
|
<ex:element2>string2</ex:element2>
|
|
</ex:sequenceSequenceGroup>
|
|
</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><xs:schema></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>
|
|
<xs:element name="choiceSequence" type="ex:ChoiceSequenceType" />
|
|
<xs:complexType name="ChoiceSequenceType">
|
|
<xs:choice>
|
|
<xs:element name="Avalue" 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">xs:sequence</b>>
|
|
<xs:element name="Bvalue" type="xs:string" />
|
|
<xs:element name="Cvalue" 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">xs:sequence</b>>
|
|
</xs:choice>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:choiceSequence>
|
|
<ex:Avalue>home</ex:Avalue>
|
|
</ex:choiceSequence>
|
|
</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>
|
|
<ex:choiceSequence>
|
|
<ex:Bvalue>home</ex:Bvalue>
|
|
<ex:Cvalue>home</ex:Cvalue>
|
|
</ex:choiceSequence>
|
|
</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><xs:schema></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>
|
|
<xs:element name="sequenceChoice" type="ex:SequenceChoiceType" />
|
|
<xs:complexType name="SequenceChoiceType">
|
|
<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">xs:choice</b>>
|
|
<xs:element name="Avalue" type="xs:string" />
|
|
<xs:element name="Bvalue" 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">xs:choice</b>>
|
|
<xs:element name="Cvalue" type="xs:string" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:sequenceChoice>
|
|
<ex:Avalue>home</ex:Avalue>
|
|
<ex:Cvalue>home</ex:Cvalue>
|
|
</ex:sequenceChoice>
|
|
</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>
|
|
<ex:sequenceChoice>
|
|
<ex:Bvalue>home</ex:Bvalue>
|
|
<ex:Cvalue>home</ex:Cvalue>
|
|
</ex:sequenceChoice>
|
|
</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><xs:schema></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>
|
|
<xs:element name="choiceChoice" type="ex:ChoiceChoice" />
|
|
<xs:complexType name="ChoiceChoice">
|
|
<xs:choice>
|
|
<xs:element name="Avalue" 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">xs:choice</b>>
|
|
<xs:element name="Bvalue" type="xs:string" />
|
|
<xs:element name="Cvalue" 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">xs:choice</b>>
|
|
</xs:choice>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:choiceChoice>
|
|
<ex:Avalue>home</ex:Avalue>
|
|
</ex:choiceChoice>
|
|
</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>
|
|
<ex:choiceChoice>
|
|
<ex:Bvalue>home</ex:Bvalue>
|
|
</ex:choiceChoice>
|
|
</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>
|
|
<ex:choiceChoice>
|
|
<ex:Cvalue>home</ex:Cvalue>
|
|
</ex:choiceChoice>
|
|
</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><xs:schema></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>
|
|
<xs:element name="choiceMaxOccursUnbounded" type="ex:ChoiceMaxOccursUnbounded" />
|
|
<xs:complexType name="ChoiceMaxOccursUnbounded">
|
|
<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">
|
|
<xs:element name="choiceA" type="xs:string" />
|
|
<xs:element name="choiceB" type="xs:string" />
|
|
</xs:choice>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:choiceMaxOccursUnbounded>
|
|
<ex:choiceB>1st</ex:choiceB>
|
|
<ex:choiceB>2nd</ex:choiceB>
|
|
<ex:choiceB>3rd</ex:choiceB>
|
|
</ex:choiceMaxOccursUnbounded>
|
|
</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>
|
|
<ex:choiceMaxOccursUnbounded>
|
|
<ex:choiceA>first</ex:choiceA>
|
|
<ex:choiceA>second</ex:choiceA>
|
|
</ex:choiceMaxOccursUnbounded>
|
|
</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>
|
|
<ex:choiceMaxOccursUnbounded>
|
|
<ex:choiceA>1st</ex:choiceA>
|
|
<ex:choiceB>second</ex:choiceB>
|
|
<ex:choiceA>3rd</ex:choiceA>
|
|
</ex:choiceMaxOccursUnbounded>
|
|
</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><xs:schema></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>
|
|
<xs:element name="choiceMaxOccursFinite" type="ex:ChoiceMaxOccursFinite" />
|
|
<xs:complexType name="ChoiceMaxOccursFinite">
|
|
<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">
|
|
<xs:element name="choiceA" type="xs:string" />
|
|
<xs:element name="choiceB" type="xs:string" />
|
|
</xs:choice>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:choiceMaxOccursFinite>
|
|
<ex:choiceA>first</ex:choiceA>
|
|
<ex:choiceB>second</ex:choiceB>
|
|
</ex:choiceMaxOccursFinite>
|
|
</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>
|
|
<ex:choiceMaxOccursFinite>
|
|
<ex:choiceA>first</ex:choiceA>
|
|
<ex:choiceA>second</ex:choiceA>
|
|
</ex:choiceMaxOccursFinite>
|
|
</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>
|
|
<ex:choiceMaxOccursFinite>
|
|
<ex:choiceA>only</ex:choiceA>
|
|
</ex:choiceMaxOccursFinite>
|
|
</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><xs:schema></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>
|
|
<xs:element name="choiceMinOccurs0" type="ex:ChoiceMinOccurs0" />
|
|
<xs:complexType name="ChoiceMinOccurs0">
|
|
<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">
|
|
<xs:element name="AChoiceMinOccurs0" type="xs:string" />
|
|
<xs:element name="BChoiceMinOccurs0" type="xs:string" />
|
|
</xs:choice>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:choiceMinOccurs0>
|
|
<ex:AChoiceMinOccurs0>A</ex:AChoiceMinOccurs0>
|
|
</ex:choiceMinOccurs0>
|
|
</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>
|
|
<ex:choiceMinOccurs0>
|
|
<ex:BChoiceMinOccurs0>B</ex:BChoiceMinOccurs0>
|
|
</ex:choiceMinOccurs0>
|
|
</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>
|
|
<ex:choiceMinOccurs0/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="choiceMinOccursFinite" type="ex:ChoiceMinOccursFinite" />
|
|
<xs:complexType name="ChoiceMinOccursFinite">
|
|
<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">
|
|
<xs:element name="AChoiceMinOccursFinite" type="xs:string" />
|
|
<xs:element name="BChoiceMinOccursFinite" type="xs:string" />
|
|
</xs:choice>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:choiceMinOccursFinite>
|
|
<ex:AChoiceMinOccursFinite>A</ex:AChoiceMinOccursFinite>
|
|
<ex:AChoiceMinOccursFinite>AA</ex:AChoiceMinOccursFinite>
|
|
</ex:choiceMinOccursFinite>
|
|
</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>
|
|
<ex:choiceMinOccursFinite>
|
|
<ex:BChoiceMinOccursFinite>B</ex:BChoiceMinOccursFinite>
|
|
<ex:AChoiceMinOccursFinite>BA</ex:AChoiceMinOccursFinite>
|
|
</ex:choiceMinOccursFinite>
|
|
</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><xs:schema></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>
|
|
<xs:element name="complexTypeChoiceAny" type="ex:ComplexTypeChoiceAny" />
|
|
<xs:complexType name="ComplexTypeChoiceAny">
|
|
<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">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" />
|
|
</xs:choice>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:complexTypeChoiceAny>
|
|
<ex:anything>
|
|
<ex:element>any data</ex:element>
|
|
</ex:anything>
|
|
</ex:complexTypeChoiceAny>
|
|
</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><xs:schema></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>
|
|
<xs:element name="complexTypeSequenceChoiceAny" type="ex:ComplexTypeSequenceChoiceAny" />
|
|
<xs:complexType name="ComplexTypeSequenceChoiceAny">
|
|
<xs:sequence>
|
|
<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">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" />
|
|
</xs:choice>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:complexTypeSequenceChoiceAny>
|
|
<ex:anyElement>any data</ex:anyElement>
|
|
</ex:complexTypeSequenceChoiceAny>
|
|
</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><xs:schema></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>
|
|
<xs:simpleType name="UnionMemberTypes">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</xs:simpleType>
|
|
<xs:element name="unionMemberTypes" type="ex:UnionMemberTypes" />
|
|
|
|
</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>
|
|
<ex:unionMemberTypes>22</ex:unionMemberTypes>
|
|
</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>
|
|
<ex:unionMemberTypes>a string?</ex:unionMemberTypes>
|
|
</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>
|
|
<xs:simpleType name="UnionDateString">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</xs:simpleType>
|
|
<xs:element name="unionDateString" type="ex:UnionDateString" />
|
|
|
|
</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>
|
|
<ex:unionDateString>Tonight</ex:unionDateString>
|
|
</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>
|
|
<ex:unionDateString>2006-06-06</ex:unionDateString>
|
|
</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><xs:schema></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>
|
|
<xs:simpleType name="UnionSimpleDateString">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">xs:simpleType</b>>
|
|
<xs:restriction base="xs: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">xs:simpleType</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">xs:simpleType</b>>
|
|
<xs:restriction base="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">xs:simpleType</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">xs:union</b>>
|
|
</xs:simpleType>
|
|
<xs:element name="unionSimpleDateString" type="ex:UnionSimpleDateString" />
|
|
|
|
</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>
|
|
<ex:unionSimpleDateString>Monday Night</ex:unionSimpleDateString>
|
|
</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>
|
|
<ex:unionSimpleDateString>2006-06-06</ex:unionSimpleDateString>
|
|
</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><xs:schema></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>
|
|
<xs:element name="unionSimpleAndMemberTypes" type="ex:UnionSimpleAndMemberTypes" />
|
|
<xs:simpleType name="UnionSimpleAndMemberTypes">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
<xs:restriction base="xs: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">xs:simpleType</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">xs:union</b>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:unionSimpleAndMemberTypes>string</ex:unionSimpleAndMemberTypes>
|
|
</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><xs:schema></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>
|
|
<xs:element name="list" type="ex:List" />
|
|
<xs:simpleType name="List">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:list>This is a list of strings</ex:list>
|
|
</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><xs:schema></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>
|
|
<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" />
|
|
|
|
</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>
|
|
<ex:anySimpleTypeElement/>
|
|
</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>
|
|
<ex:anySimpleTypeElement>anySimpleTypeValue</ex:anySimpleTypeElement>
|
|
</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><xs:schema></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>
|
|
<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" />
|
|
|
|
</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>
|
|
<ex:anyTypeElement/>
|
|
</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>
|
|
<ex:anyTypeElement>
|
|
<foo>
|
|
<bar>cheese</bar>
|
|
</foo>
|
|
</ex:anyTypeElement>
|
|
</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><xs:schema></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>
|
|
<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" />
|
|
|
|
</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>
|
|
<ex:decimalElement>0</ex:decimalElement>
|
|
</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>
|
|
<ex:decimalElement>-1.23</ex:decimalElement>
|
|
</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>
|
|
<ex:decimalElement>12678967.543233</ex:decimalElement>
|
|
</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>
|
|
<ex:decimalElement>+1000000.00</ex:decimalElement>
|
|
</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>
|
|
<ex:decimalElement>+100000000000000000000000000000000000000000000.00</ex:decimalElement>
|
|
</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>
|
|
<ex:decimalElement>210</ex:decimalElement>
|
|
</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>
|
|
<ex:decimalElement>210.00</ex:decimalElement>
|
|
</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><xs:schema></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>
|
|
<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" />
|
|
|
|
</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>
|
|
<ex:floatElement>-1E4</ex:floatElement>
|
|
</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>
|
|
<ex:floatElement>1267.43233E12</ex:floatElement>
|
|
</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>
|
|
<ex:floatElement>12.78e-2</ex:floatElement>
|
|
</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>
|
|
<ex:floatElement>12</ex:floatElement>
|
|
</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>
|
|
<ex:floatElement>INF</ex:floatElement>
|
|
</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><xs:schema></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>
|
|
<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" />
|
|
|
|
</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>
|
|
<ex:durationElement>P1Y2M3DT10H30M</ex:durationElement>
|
|
</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>
|
|
<ex:durationElement>-P1347M</ex:durationElement>
|
|
</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>
|
|
<ex:durationElement>P1347Y</ex:durationElement>
|
|
</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>
|
|
<ex:durationElement>P1M</ex:durationElement>
|
|
</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><xs:schema></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>
|
|
<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" />
|
|
|
|
</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>
|
|
<ex:timeElement>00:00:00</ex:timeElement>
|
|
</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>
|
|
<ex:timeElement>12:00:01</ex:timeElement>
|
|
</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>
|
|
<ex:timeElement>23:59:59</ex:timeElement>
|
|
</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>
|
|
<ex:timeElement>13:21:03Z</ex:timeElement>
|
|
</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>
|
|
<ex:timeElement>13:21:03-04:32</ex:timeElement>
|
|
</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><xs:schema></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>
|
|
<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" />
|
|
|
|
</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>
|
|
<ex:dateElement>1999-05-31</ex:dateElement>
|
|
</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>
|
|
<ex:dateElement>0739-05-31</ex:dateElement>
|
|
</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>
|
|
<ex:dateElement>2038-05-31Z</ex:dateElement>
|
|
</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>
|
|
<ex:dateElement>1999-05-31+05:43</ex:dateElement>
|
|
</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>
|
|
<ex:dateElement>10739-05-31</ex:dateElement>
|
|
</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><xs:schema></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>
|
|
<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" />
|
|
|
|
</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>
|
|
<ex:gYearMonthElement>1999-05</ex:gYearMonthElement>
|
|
</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>
|
|
<ex:gYearMonthElement>0739-05</ex:gYearMonthElement>
|
|
</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>
|
|
<ex:gYearMonthElement>2038-02</ex:gYearMonthElement>
|
|
</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>
|
|
<ex:gYearMonthElement>2007-05+01:00</ex:gYearMonthElement>
|
|
</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>
|
|
<ex:gYearMonthElement>2007-05-01:00</ex:gYearMonthElement>
|
|
</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>
|
|
<ex:gYearMonthElement>2007-05Z</ex:gYearMonthElement>
|
|
</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>
|
|
<ex:gYearMonthElement>10739-05</ex:gYearMonthElement>
|
|
</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><xs:schema></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>
|
|
<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" />
|
|
|
|
</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>
|
|
<ex:gYearElement>1999</ex:gYearElement>
|
|
</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>
|
|
<ex:gYearElement>0739</ex:gYearElement>
|
|
</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>
|
|
<ex:gYearElement>2039</ex:gYearElement>
|
|
</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>
|
|
<ex:gYearElement>2007-13:00</ex:gYearElement>
|
|
</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>
|
|
<ex:gYearElement>1999+02:00</ex:gYearElement>
|
|
</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>
|
|
<ex:gYearElement>2008Z</ex:gYearElement>
|
|
</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>
|
|
<ex:gYearElement>10739</ex:gYearElement>
|
|
</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><xs:schema></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>
|
|
<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" />
|
|
|
|
</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>
|
|
<ex:gMonthDayElement>--12-31</ex:gMonthDayElement>
|
|
</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>
|
|
<ex:gMonthDayElement>--12-31Z</ex:gMonthDayElement>
|
|
</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>
|
|
<ex:gMonthDayElement>--12-31-05:00</ex:gMonthDayElement>
|
|
</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>
|
|
<ex:gMonthDayElement>--12-31+01:00</ex:gMonthDayElement>
|
|
</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><xs:schema></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>
|
|
<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" />
|
|
|
|
</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>
|
|
<ex:gDayElement>---05</ex:gDayElement>
|
|
</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>
|
|
<ex:gDayElement>---12Z</ex:gDayElement>
|
|
</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>
|
|
<ex:gDayElement>---31-12:00</ex:gDayElement>
|
|
</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>
|
|
<ex:gDayElement>---05+01:00</ex:gDayElement>
|
|
</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><xs:schema></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>
|
|
<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" />
|
|
|
|
</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>
|
|
<ex:gMonthElement>--02</ex:gMonthElement>
|
|
</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>
|
|
<ex:gMonthElement>--12-01:33</ex:gMonthElement>
|
|
</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>
|
|
<ex:gMonthElement>--12+01:02</ex:gMonthElement>
|
|
</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>
|
|
<ex:gMonthElement>--12Z</ex:gMonthElement>
|
|
</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><xs:schema></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>
|
|
<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" />
|
|
|
|
</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>
|
|
<ex:hexBinaryElement>76</ex:hexBinaryElement>
|
|
</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>
|
|
<ex:hexBinaryElement>77696f646d6f6e7974637174716a7169696e6b65616f76786f746e66716b707875757261736e686469796b65706c656d7465626661637661646e6b65636662647669726d6f6e757361</ex:hexBinaryElement>
|
|
</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><xs:schema></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>
|
|
<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" />
|
|
|
|
</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>
|
|
<ex:languageElement>en</ex:languageElement>
|
|
</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>
|
|
<ex:languageElement>fr</ex:languageElement>
|
|
</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><xs:schema></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>
|
|
<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" />
|
|
|
|
</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>
|
|
<ex:NMTOKENElement>id</ex:NMTOKENElement>
|
|
</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>
|
|
<ex:NMTOKENElement>vocabularies:that.as:clean:assuring-s_to:The_we:contain</ex:NMTOKENElement>
|
|
</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><xs:schema></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>
|
|
<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" />
|
|
|
|
</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>
|
|
<ex:NMTOKENSElement>a b c d e.b:s-w_x:q</ex:NMTOKENSElement>
|
|
</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><xs:schema></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>
|
|
<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" />
|
|
|
|
</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>
|
|
<ex:IDElement>foo</ex:IDElement>
|
|
</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><xs:schema></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>
|
|
<xs:element name="IDREFElement" type="ex:IDREFElementComplextType" />
|
|
<xs:complexType name="IDREFElementComplextType">
|
|
<xs:sequence>
|
|
<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" />
|
|
<xs:element name="id" type="xs:ID" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:IDREFElement>
|
|
<ex:element>idref</ex:element>
|
|
<ex:id>idref</ex:id>
|
|
</ex:IDREFElement>
|
|
</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><xs:schema></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>
|
|
<xs:element name="IDREFSElement" type="ex:IDREFSElementComplextType" />
|
|
<xs:complexType name="IDREFSElementComplextType">
|
|
<xs:sequence>
|
|
<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" />
|
|
<xs:element name="id1" type="xs:ID" />
|
|
<xs:element name="id2" type="xs:ID" />
|
|
<xs:element name="id3" type="xs:ID" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:IDREFSElement>
|
|
<ex:element>id1 id2 id3</ex:element>
|
|
<ex:id1>id1</ex:id1>
|
|
<ex:id2>id2</ex:id2>
|
|
<ex:id3>id3</ex:id3>
|
|
</ex:IDREFSElement>
|
|
</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><xs:schema></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>
|
|
<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" />
|
|
|
|
</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>
|
|
<ex:ENTITYElement>lt</ex:ENTITYElement>
|
|
</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><xs:schema></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>
|
|
<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" />
|
|
|
|
</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>
|
|
<ex:ENTITIESElement>lt gt apos quot</ex:ENTITIESElement>
|
|
</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><xs:schema></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>
|
|
<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" />
|
|
|
|
</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>
|
|
<ex:integerElement>0</ex:integerElement>
|
|
</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>
|
|
<ex:integerElement>1</ex:integerElement>
|
|
</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>
|
|
<ex:integerElement>-42</ex:integerElement>
|
|
</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>
|
|
<ex:integerElement>12678967543233</ex:integerElement>
|
|
</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>
|
|
<ex:integerElement>+10000</ex:integerElement>
|
|
</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>
|
|
<ex:integerElement>1234567891234567838475834753838887348573489123456789123456789</ex:integerElement>
|
|
</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>
|
|
<ex:integerElement>-1234567891234567838475834753838887348573489123456789123456789</ex:integerElement>
|
|
</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><xs:schema></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>
|
|
<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" />
|
|
|
|
</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>
|
|
<ex:nonPositiveIntegerElement>-1</ex:nonPositiveIntegerElement>
|
|
</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>
|
|
<ex:nonPositiveIntegerElement>0</ex:nonPositiveIntegerElement>
|
|
</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>
|
|
<ex:nonPositiveIntegerElement>+0</ex:nonPositiveIntegerElement>
|
|
</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>
|
|
<ex:nonPositiveIntegerElement>-1234324234532534254325234534252345342534253425324534253244</ex:nonPositiveIntegerElement>
|
|
</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><xs:schema></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>
|
|
<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" />
|
|
|
|
</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>
|
|
<ex:negativeIntegerElement>-1</ex:negativeIntegerElement>
|
|
</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>
|
|
<ex:negativeIntegerElement>-12343242342345345346453643564536543645363456</ex:negativeIntegerElement>
|
|
</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><xs:schema></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>
|
|
<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" />
|
|
|
|
</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>
|
|
<ex:nonNegativeIntegerElement>1</ex:nonNegativeIntegerElement>
|
|
</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>
|
|
<ex:nonNegativeIntegerElement>-0</ex:nonNegativeIntegerElement>
|
|
</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>
|
|
<ex:nonNegativeIntegerElement>0</ex:nonNegativeIntegerElement>
|
|
</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>
|
|
<ex:nonNegativeIntegerElement>+42</ex:nonNegativeIntegerElement>
|
|
</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>
|
|
<ex:nonNegativeIntegerElement>3141592653531415926536106615151970884848347234273984723</ex:nonNegativeIntegerElement>
|
|
</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><xs:schema></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>
|
|
<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" />
|
|
|
|
</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>
|
|
<ex:unsignedLongElement>1</ex:unsignedLongElement>
|
|
</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>
|
|
<ex:unsignedLongElement>-0</ex:unsignedLongElement>
|
|
</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>
|
|
<ex:unsignedLongElement>+42</ex:unsignedLongElement>
|
|
</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>
|
|
<ex:unsignedLongElement>18446744073709551615</ex:unsignedLongElement>
|
|
</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><xs:schema></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>
|
|
<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" />
|
|
|
|
</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>
|
|
<ex:unsignedIntElement>1</ex:unsignedIntElement>
|
|
</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>
|
|
<ex:unsignedIntElement>-0</ex:unsignedIntElement>
|
|
</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>
|
|
<ex:unsignedIntElement>+42</ex:unsignedIntElement>
|
|
</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>
|
|
<ex:unsignedIntElement>4294967295</ex:unsignedIntElement>
|
|
</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><xs:schema></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>
|
|
<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" />
|
|
|
|
</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>
|
|
<ex:unsignedShortElement>1</ex:unsignedShortElement>
|
|
</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>
|
|
<ex:unsignedShortElement>-0</ex:unsignedShortElement>
|
|
</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>
|
|
<ex:unsignedShortElement>+42</ex:unsignedShortElement>
|
|
</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>
|
|
<ex:unsignedShortElement>65535</ex:unsignedShortElement>
|
|
</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><xs:schema></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>
|
|
<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" />
|
|
|
|
</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>
|
|
<ex:unsignedByteElement>1</ex:unsignedByteElement>
|
|
</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>
|
|
<ex:unsignedByteElement>-0</ex:unsignedByteElement>
|
|
</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>
|
|
<ex:unsignedByteElement>+42</ex:unsignedByteElement>
|
|
</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>
|
|
<ex:unsignedByteElement>255</ex:unsignedByteElement>
|
|
</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><xs:schema></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>
|
|
<xs:element name="anySimpleTypeAttribute" type="ex:AnySimpleTypeAttribute" />
|
|
<xs:complexType name="AnySimpleTypeAttribute">
|
|
<xs:sequence>
|
|
<xs:element name="text" type="xs:string" minOccurs="0" />
|
|
</xs:sequence>
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:anySimpleTypeAttribute anySimpleType="hello"/>
|
|
</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>
|
|
<ex:anySimpleTypeAttribute anySimpleType="1"/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="decimalAttribute" type="ex:DecimalAttribute" />
|
|
<xs:complexType name="DecimalAttribute">
|
|
<xs:sequence>
|
|
<xs:element name="text" type="xs:string" minOccurs="0" />
|
|
</xs:sequence>
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:decimalAttribute decimal="+10000000999829292922093443563.32423442"/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="floatAttribute" type="ex:FloatAttribute" />
|
|
<xs:complexType name="FloatAttribute">
|
|
<xs:sequence>
|
|
<xs:element name="text" type="xs:string" minOccurs="0" />
|
|
</xs:sequence>
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:floatAttribute float="-7446.445E5"/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="durationAttribute" type="ex:DurationAttribute" />
|
|
<xs:complexType name="DurationAttribute">
|
|
<xs:sequence>
|
|
<xs:element name="text" type="xs:string" minOccurs="0" />
|
|
</xs:sequence>
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:durationAttribute duration="P1M"/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="timeAttribute" type="ex:TimeAttribute" />
|
|
<xs:complexType name="TimeAttribute">
|
|
<xs:sequence>
|
|
<xs:element name="text" type="xs:string" minOccurs="0" />
|
|
</xs:sequence>
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:timeAttribute time="00:00:00"/>
|
|
</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>
|
|
<ex:timeAttribute time="12:00:01"/>
|
|
</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>
|
|
<ex:timeAttribute time="23:59:59"/>
|
|
</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>
|
|
<ex:timeAttribute time="12:34:56Z"/>
|
|
</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>
|
|
<ex:timeAttribute time="12:34:56+01:23"/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="dateAttribute" type="ex:DateAttribute" />
|
|
<xs:complexType name="DateAttribute">
|
|
<xs:sequence>
|
|
<xs:element name="text" type="xs:string" minOccurs="0" />
|
|
</xs:sequence>
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:dateAttribute date="2006-05-30"/>
|
|
</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>
|
|
<ex:dateAttribute date="0739-05-31"/>
|
|
</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>
|
|
<ex:dateAttribute date="2038-12-31Z"/>
|
|
</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>
|
|
<ex:dateAttribute date="2006-05-30-01:00"/>
|
|
</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>
|
|
<ex:dateAttribute date="10739-05-31"/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="gYearMonthAttribute" type="ex:GYearMonthAttribute" />
|
|
<xs:complexType name="GYearMonthAttribute">
|
|
<xs:sequence>
|
|
<xs:element name="text" type="xs:string" minOccurs="0" />
|
|
</xs:sequence>
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:gYearMonthAttribute gYearMonth="2006-09"/>
|
|
</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>
|
|
<ex:gYearMonthAttribute gYearMonth="0739-09"/>
|
|
</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>
|
|
<ex:gYearMonthAttribute gYearMonth="2038-09"/>
|
|
</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>
|
|
<ex:gYearMonthAttribute gYearMonth="2006-09+01:00"/>
|
|
</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>
|
|
<ex:gYearMonthAttribute gYearMonth="2006-09-01:00"/>
|
|
</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>
|
|
<ex:gYearMonthAttribute gYearMonth="2007-05Z"/>
|
|
</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>
|
|
<ex:gYearMonthAttribute gYearMonth="10739-09"/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="gYearAttribute" type="ex:GYearAttribute" />
|
|
<xs:complexType name="GYearAttribute">
|
|
<xs:sequence>
|
|
<xs:element name="text" type="xs:string" minOccurs="0" />
|
|
</xs:sequence>
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:gYearAttribute gYear="1999"/>
|
|
</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>
|
|
<ex:gYearAttribute gYear="0739"/>
|
|
</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>
|
|
<ex:gYearAttribute gYear="2039"/>
|
|
</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>
|
|
<ex:gYearAttribute gYear="2007-13:00"/>
|
|
</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>
|
|
<ex:gYearAttribute gYear="1999+02:00"/>
|
|
</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>
|
|
<ex:gYearAttribute gYear="2008Z"/>
|
|
</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>
|
|
<ex:gYearAttribute gYear="10739"/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="gMonthDayAttribute" type="ex:GMonthDayAttribute" />
|
|
<xs:complexType name="GMonthDayAttribute">
|
|
<xs:sequence>
|
|
<xs:element name="text" type="xs:string" minOccurs="0" />
|
|
</xs:sequence>
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:gMonthDayAttribute gMonthDay="--09-28"/>
|
|
</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>
|
|
<ex:gMonthDayAttribute gMonthDay="--09-28Z"/>
|
|
</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>
|
|
<ex:gMonthDayAttribute gMonthDay="--09-28-13:00"/>
|
|
</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>
|
|
<ex:gMonthDayAttribute gMonthDay="--09-28+01:00"/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="gDayAttribute" type="ex:GDayAttribute" />
|
|
<xs:complexType name="GDayAttribute">
|
|
<xs:sequence>
|
|
<xs:element name="text" type="xs:string" minOccurs="0" />
|
|
</xs:sequence>
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:gDayAttribute gDay="---09"/>
|
|
</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>
|
|
<ex:gDayAttribute gDay="---12Z"/>
|
|
</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>
|
|
<ex:gDayAttribute gDay="---24-12:00"/>
|
|
</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>
|
|
<ex:gDayAttribute gDay="---31+01:00"/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="gMonthAttribute" type="ex:GMonthAttribute" />
|
|
<xs:complexType name="GMonthAttribute">
|
|
<xs:sequence>
|
|
<xs:element name="text" type="xs:string" minOccurs="0" />
|
|
</xs:sequence>
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:gMonthAttribute gMonth="--04--"/>
|
|
</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>
|
|
<ex:gMonthAttribute gMonth="--04Z"/>
|
|
</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>
|
|
<ex:gMonthAttribute gMonth="--12+02:00"/>
|
|
</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>
|
|
<ex:gMonthAttribute gMonth="--04-10:00"/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="hexBinaryAttribute" type="ex:HexBinaryAttribute" />
|
|
<xs:complexType name="HexBinaryAttribute">
|
|
<xs:sequence>
|
|
<xs:element name="text" type="xs:string" minOccurs="0" />
|
|
</xs:sequence>
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:hexBinaryAttribute hexBinary="77696f"/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="base64BinaryAttribute" type="ex:Base64BinaryAttribute" />
|
|
<xs:complexType name="Base64BinaryAttribute">
|
|
<xs:sequence>
|
|
<xs:element name="text" type="xs:string" minOccurs="0" />
|
|
</xs:sequence>
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:base64BinaryAttribute base64Binary="cnRjbGNyZW9scg=="/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="languageAttribute" type="ex:LanguageAttribute" />
|
|
<xs:complexType name="LanguageAttribute">
|
|
<xs:sequence>
|
|
<xs:element name="text" type="xs:string" minOccurs="0" />
|
|
</xs:sequence>
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:languageAttribute language="en"/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="NMTOKENAttribute" type="ex:NMTOKENAttribute" />
|
|
<xs:complexType name="NMTOKENAttribute">
|
|
<xs:sequence>
|
|
<xs:element name="text" type="xs:string" minOccurs="0" />
|
|
</xs:sequence>
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:NMTOKENAttribute NMTOKEN="id"/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="NMTOKENSAttribute" type="ex:NMTOKENSAttribute" />
|
|
<xs:complexType name="NMTOKENSAttribute">
|
|
<xs:sequence>
|
|
<xs:element name="text" type="xs:string" minOccurs="0" />
|
|
</xs:sequence>
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:NMTOKENSAttribute NMTOKENS="id a b e.b:s-dd:q"/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="IDAttribute" type="ex:IDAttribute" />
|
|
<xs:complexType name="IDAttribute">
|
|
<xs:sequence>
|
|
<xs:element name="text" type="xs:string" minOccurs="0" />
|
|
</xs:sequence>
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:IDAttribute ID="bar"/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="IDREFAttribute" type="ex:IDREFAttributeComplexType" />
|
|
<xs:complexType name="IDREFAttributeComplexType">
|
|
<xs:sequence>
|
|
<xs:element name="id" type="xs:ID" />
|
|
</xs:sequence>
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:IDREFAttribute IDREF="id1">
|
|
<ex:id>id1</ex:id>
|
|
</ex:IDREFAttribute>
|
|
</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><xs:schema></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>
|
|
<xs:element name="IDREFSAttribute" type="ex:IDREFSAttributeComplexType" />
|
|
<xs:complexType name="IDREFSAttributeComplexType">
|
|
<xs:sequence>
|
|
<xs:element name="id1" type="xs:ID" />
|
|
<xs:element name="id2" type="xs:ID" />
|
|
<xs:element name="id3" type="xs:ID" />
|
|
</xs:sequence>
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:IDREFSAttribute IDREFS="id1 id2 id3">
|
|
<ex:id1>id1</ex:id1>
|
|
<ex:id2>id2</ex:id2>
|
|
<ex:id3>id3</ex:id3>
|
|
</ex:IDREFSAttribute>
|
|
</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><xs:schema></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>
|
|
<xs:element name="ENTITYAttribute" type="ex:ENTITYAttribute" />
|
|
<xs:complexType name="ENTITYAttribute">
|
|
<xs:sequence>
|
|
<xs:element name="text" type="xs:string" minOccurs="0" />
|
|
</xs:sequence>
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:ENTITYAttribute ENTITY="lt"/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="ENTITIESAttribute" type="ex:ENTITIESAttribute" />
|
|
<xs:complexType name="ENTITIESAttribute">
|
|
<xs:sequence>
|
|
<xs:element name="text" type="xs:string" minOccurs="0" />
|
|
</xs:sequence>
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:ENTITIESAttribute ENTITIES="lt 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><xs:schema></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>
|
|
<xs:element name="integerAttribute" type="ex:IntegerAttribute" />
|
|
<xs:complexType name="IntegerAttribute">
|
|
<xs:sequence>
|
|
<xs:element name="text" type="xs:string" minOccurs="0" />
|
|
</xs:sequence>
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:integerAttribute integer="10002"/>
|
|
</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>
|
|
<ex:integerAttribute integer="-0"/>
|
|
</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>
|
|
<ex:integerAttribute integer="+42"/>
|
|
</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>
|
|
<ex:integerAttribute integer="-42"/>
|
|
</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>
|
|
<ex:integerAttribute integer="-45345384593849583945843453454293405930495309450394503"/>
|
|
</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>
|
|
<ex:integerAttribute integer="123456789013234235435325235325325345432543253425324534253245"/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="nonPositiveIntegerAttribute" type="ex:NonPositiveIntegerAttribute" />
|
|
<xs:complexType name="NonPositiveIntegerAttribute">
|
|
<xs:sequence>
|
|
<xs:element name="text" type="xs:string" minOccurs="0" />
|
|
</xs:sequence>
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:nonPositiveIntegerAttribute nonPositiveInteger="-20"/>
|
|
</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>
|
|
<ex:nonPositiveIntegerAttribute nonPositiveInteger="0"/>
|
|
</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>
|
|
<ex:nonPositiveIntegerAttribute nonPositiveInteger="+0"/>
|
|
</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>
|
|
<ex:nonPositiveIntegerAttribute nonPositiveInteger="-202342353425435345342567965342969786978679"/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="negativeIntegerAttribute" type="ex:NegativeIntegerAttribute" />
|
|
<xs:complexType name="NegativeIntegerAttribute">
|
|
<xs:sequence>
|
|
<xs:element name="text" type="xs:string" minOccurs="0" />
|
|
</xs:sequence>
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:negativeIntegerAttribute negativeInteger="-100"/>
|
|
</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>
|
|
<ex:negativeIntegerAttribute negativeInteger="-12343242342345345346453643564536543645363456"/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="unsignedLongAttribute" type="ex:UnsignedLongAttribute" />
|
|
<xs:complexType name="UnsignedLongAttribute">
|
|
<xs:sequence>
|
|
<xs:element name="text" type="xs:string" minOccurs="0" />
|
|
</xs:sequence>
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:unsignedLongAttribute unsignedLong="2034"/>
|
|
</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>
|
|
<ex:unsignedLongAttribute unsignedLong="-0"/>
|
|
</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>
|
|
<ex:unsignedLongAttribute unsignedLong="+42"/>
|
|
</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>
|
|
<ex:unsignedLongAttribute unsignedLong="18446744073709551615"/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="unsignedIntAttribute" type="ex:UnsignedIntAttribute" />
|
|
<xs:complexType name="UnsignedIntAttribute">
|
|
<xs:sequence>
|
|
<xs:element name="text" type="xs:string" minOccurs="0" />
|
|
</xs:sequence>
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:unsignedIntAttribute unsignedInt="32334"/>
|
|
</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>
|
|
<ex:unsignedIntAttribute unsignedInt="-0"/>
|
|
</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>
|
|
<ex:unsignedIntAttribute unsignedInt="+42"/>
|
|
</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>
|
|
<ex:unsignedIntAttribute unsignedInt="4294967295"/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="unsignedShortAttribute" type="ex:UnsignedShortAttribute" />
|
|
<xs:complexType name="UnsignedShortAttribute">
|
|
<xs:sequence>
|
|
<xs:element name="text" type="xs:string" minOccurs="0" />
|
|
</xs:sequence>
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:unsignedShortAttribute unsignedShort="22"/>
|
|
</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>
|
|
<ex:unsignedShortAttribute unsignedShort="-0"/>
|
|
</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>
|
|
<ex:unsignedShortAttribute unsignedShort="+42"/>
|
|
</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>
|
|
<ex:unsignedShortAttribute unsignedShort="65535"/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="unsignedByteAttribute" type="ex:UnsignedByteAttribute" />
|
|
<xs:complexType name="UnsignedByteAttribute">
|
|
<xs:sequence>
|
|
<xs:element name="text" type="xs:string" minOccurs="0" />
|
|
</xs:sequence>
|
|
<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" />
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:unsignedByteAttribute unsignedByte="64"/>
|
|
</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>
|
|
<ex:unsignedByteAttribute unsignedByte="-0"/>
|
|
</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>
|
|
<ex:unsignedByteAttribute unsignedByte="+42"/>
|
|
</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>
|
|
<ex:unsignedByteAttribute unsignedByte="255"/>
|
|
</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><xs:schema></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>
|
|
<xs:element name="stringSimpleTypePattern" type="ex:StringSimpleTypePattern" />
|
|
<xs:simpleType name="StringSimpleTypePattern">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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}" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:stringSimpleTypePattern>123</ex:stringSimpleTypePattern>
|
|
</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>
|
|
<ex:stringSimpleTypePattern>009</ex:stringSimpleTypePattern>
|
|
</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><xs:schema></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>
|
|
<xs:element name="intSimpleTypePattern" type="ex:IntSimpleTypePattern" />
|
|
<xs:simpleType name="IntSimpleTypePattern">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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}" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:intSimpleTypePattern>123</ex:intSimpleTypePattern>
|
|
</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>
|
|
<ex:intSimpleTypePattern>009</ex:intSimpleTypePattern>
|
|
</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><xs:schema></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>
|
|
<xs:element name="integerSimpleTypePattern" type="ex:IntegerSimpleTypePattern" />
|
|
<xs:simpleType name="IntegerSimpleTypePattern">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:integerSimpleTypePattern>123</ex:integerSimpleTypePattern>
|
|
</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>
|
|
<ex:integerSimpleTypePattern>9</ex:integerSimpleTypePattern>
|
|
</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><xs:schema></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>
|
|
<xs:element name="longSimpleTypePattern" type="ex:LongSimpleTypePattern" />
|
|
<xs:simpleType name="LongSimpleTypePattern">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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}" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:longSimpleTypePattern>123</ex:longSimpleTypePattern>
|
|
</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>
|
|
<ex:longSimpleTypePattern>009</ex:longSimpleTypePattern>
|
|
</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><xs:schema></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>
|
|
<xs:element name="decimalSimpleTypePattern" type="ex:DecimalSimpleTypePattern" />
|
|
<xs:simpleType name="DecimalSimpleTypePattern">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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}" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:decimalSimpleTypePattern>1234.12</ex:decimalSimpleTypePattern>
|
|
</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>
|
|
<ex:decimalSimpleTypePattern>9898.00</ex:decimalSimpleTypePattern>
|
|
</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><xs:schema></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>
|
|
<xs:element name="floatSimpleTypePattern" type="ex:FloatSimpleTypePattern" />
|
|
<xs:simpleType name="FloatSimpleTypePattern">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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}" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:floatSimpleTypePattern>123</ex:floatSimpleTypePattern>
|
|
</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>
|
|
<ex:floatSimpleTypePattern>009</ex:floatSimpleTypePattern>
|
|
</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><xs:schema></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>
|
|
<xs:element name="doubleSimpleTypePattern" type="ex:DoubleSimpleTypePattern" />
|
|
<xs:simpleType name="DoubleSimpleTypePattern">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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}" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:doubleSimpleTypePattern>123</ex:doubleSimpleTypePattern>
|
|
</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>
|
|
<ex:doubleSimpleTypePattern>009</ex:doubleSimpleTypePattern>
|
|
</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><xs:schema></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>
|
|
<xs:element name="shortSimpleTypePattern" type="ex:ShortSimpleTypePattern" />
|
|
<xs:simpleType name="ShortSimpleTypePattern">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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}" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:shortSimpleTypePattern>123</ex:shortSimpleTypePattern>
|
|
</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>
|
|
<ex:shortSimpleTypePattern>009</ex:shortSimpleTypePattern>
|
|
</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><xs:schema></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>
|
|
<xs:element name="byteSimpleTypePattern" type="ex:ByteSimpleTypePattern" />
|
|
<xs:simpleType name="ByteSimpleTypePattern">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:byteSimpleTypePattern>1</ex:byteSimpleTypePattern>
|
|
</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><xs:schema></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>
|
|
<xs:element name="nonNegativeIntegerSimpleTypePattern" type="ex:NonNegativeIntegerSimpleTypePattern" />
|
|
<xs:simpleType name="NonNegativeIntegerSimpleTypePattern">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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}" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:nonNegativeIntegerSimpleTypePattern>123</ex:nonNegativeIntegerSimpleTypePattern>
|
|
</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>
|
|
<ex:nonNegativeIntegerSimpleTypePattern>009</ex:nonNegativeIntegerSimpleTypePattern>
|
|
</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><xs:schema></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>
|
|
<xs:element name="positiveIntegerSimpleTypePattern" type="ex:PositiveIntegerSimpleTypePattern" />
|
|
<xs:simpleType name="PositiveIntegerSimpleTypePattern">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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}" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:positiveIntegerSimpleTypePattern>123</ex:positiveIntegerSimpleTypePattern>
|
|
</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>
|
|
<ex:positiveIntegerSimpleTypePattern>009</ex:positiveIntegerSimpleTypePattern>
|
|
</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><xs:schema></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>
|
|
<xs:element name="unsignedLongSimpleTypePattern" type="ex:UnsignedLongSimpleTypePattern" />
|
|
<xs:simpleType name="UnsignedLongSimpleTypePattern">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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}" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:unsignedLongSimpleTypePattern>123</ex:unsignedLongSimpleTypePattern>
|
|
</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>
|
|
<ex:unsignedLongSimpleTypePattern>009</ex:unsignedLongSimpleTypePattern>
|
|
</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><xs:schema></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>
|
|
<xs:element name="unsignedIntSimpleTypePattern" type="ex:UnsignedIntSimpleTypePattern" />
|
|
<xs:simpleType name="UnsignedIntSimpleTypePattern">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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}" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:unsignedIntSimpleTypePattern>123</ex:unsignedIntSimpleTypePattern>
|
|
</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>
|
|
<ex:unsignedIntSimpleTypePattern>009</ex:unsignedIntSimpleTypePattern>
|
|
</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><xs:schema></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>
|
|
<xs:element name="unsignedShortSimpleTypePattern" type="ex:UnsignedShortSimpleTypePattern" />
|
|
<xs:simpleType name="UnsignedShortSimpleTypePattern">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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}" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:unsignedShortSimpleTypePattern>123</ex:unsignedShortSimpleTypePattern>
|
|
</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>
|
|
<ex:unsignedShortSimpleTypePattern>009</ex:unsignedShortSimpleTypePattern>
|
|
</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><xs:schema></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>
|
|
<xs:element name="dateSimpleTypePattern" type="ex:DateSimpleTypePattern" />
|
|
<xs:simpleType name="DateSimpleTypePattern">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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}" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:dateSimpleTypePattern>2006-12-18</ex:dateSimpleTypePattern>
|
|
</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>
|
|
<ex:dateSimpleTypePattern>2007-01-01</ex:dateSimpleTypePattern>
|
|
</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><xs:schema></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>
|
|
<xs:element name="gYearSimpleTypePattern" type="ex:GYearSimpleTypePattern" />
|
|
<xs:simpleType name="GYearSimpleTypePattern">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:gYearSimpleTypePattern>2009</ex:gYearSimpleTypePattern>
|
|
</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><xs:schema></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>
|
|
<xs:element name="gMonthSimpleTypePattern" type="ex:GMonthSimpleTypePattern" />
|
|
<xs:simpleType name="GMonthSimpleTypePattern">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:gMonthSimpleTypePattern>--11</ex:gMonthSimpleTypePattern>
|
|
</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><xs:schema></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>
|
|
<xs:element name="gDaySimpleTypePattern" type="ex:GDaySimpleTypePattern" />
|
|
<xs:simpleType name="GDaySimpleTypePattern">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:gDaySimpleTypePattern>---01</ex:gDaySimpleTypePattern>
|
|
</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><xs:schema></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>
|
|
<xs:element name="gYearMonthSimpleTypePattern" type="ex:GYearMonthSimpleTypePattern" />
|
|
<xs:simpleType name="GYearMonthSimpleTypePattern">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:gYearMonthSimpleTypePattern>2001-12</ex:gYearMonthSimpleTypePattern>
|
|
</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><xs:schema></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>
|
|
<xs:element name="gMonthDaySimpleTypePattern" type="ex:GMonthDaySimpleTypePattern" />
|
|
<xs:simpleType name="GMonthDaySimpleTypePattern">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:gMonthDaySimpleTypePattern>--12-01</ex:gMonthDaySimpleTypePattern>
|
|
</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><xs:schema></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>
|
|
<xs:element name="tokenSimpleTypePattern" type="ex:TokenSimpleTypePattern" />
|
|
<xs:simpleType name="TokenSimpleTypePattern">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:tokenSimpleTypePattern>1</ex:tokenSimpleTypePattern>
|
|
</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><xs:schema></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>
|
|
<xs:element name="restrictedStringMinLength" type="ex:RestrictedStringMinLength" />
|
|
<xs:simpleType name="RestrictedStringMinLength">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:restrictedStringMinLength>String Value</ex:restrictedStringMinLength>
|
|
</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><xs:schema></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>
|
|
<xs:element name="restrictedStringMaxLength" type="ex:RestrictedStringMaxLength" />
|
|
<xs:simpleType name="RestrictedStringMaxLength">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:restrictedStringMaxLength>String Value</ex:restrictedStringMaxLength>
|
|
</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><xs:schema></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>
|
|
<xs:element name="restrictedStringMinMaxLength" type="ex:RestrictedStringMinMaxLength" />
|
|
<xs:simpleType name="RestrictedStringMinMaxLength">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:restrictedStringMinMaxLength>String Value 2</ex:restrictedStringMinMaxLength>
|
|
</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><xs:schema></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>
|
|
<xs:element name="simpleTypeRenamed" type="ex:SimpleTypeRenamed" />
|
|
<xs:simpleType name="SimpleTypeRenamed">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:simpleTypeRenamed>String</ex:simpleTypeRenamed>
|
|
</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><xs:schema></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>
|
|
<xs:element name="restrictedMinInclusive" type="ex:RestrictedMinInclusive" />
|
|
<xs:simpleType name="RestrictedMinInclusive">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:restrictedMinInclusive>1</ex:restrictedMinInclusive>
|
|
</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>
|
|
<ex:restrictedMinInclusive>2</ex:restrictedMinInclusive>
|
|
</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><xs:schema></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>
|
|
<xs:element name="restrictedMaxInclusive" type="ex:RestrictedMaxInclusive" />
|
|
<xs:simpleType name="RestrictedMaxInclusive">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:restrictedMaxInclusive>1</ex:restrictedMaxInclusive>
|
|
</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>
|
|
<ex:restrictedMaxInclusive>3</ex:restrictedMaxInclusive>
|
|
</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><xs:schema></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>
|
|
<xs:element name="restrictedMinExclusive" type="ex:RestrictedMinExclusive" />
|
|
<xs:simpleType name="RestrictedMinExclusive">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:restrictedMinExclusive>2</ex:restrictedMinExclusive>
|
|
</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>
|
|
<ex:restrictedMinExclusive>3</ex:restrictedMinExclusive>
|
|
</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><xs:schema></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>
|
|
<xs:element name="restrictedMaxExclusive" type="ex:RestrictedMaxExclusive" />
|
|
<xs:simpleType name="RestrictedMaxExclusive">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:restrictedMaxExclusive>1</ex:restrictedMaxExclusive>
|
|
</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>
|
|
<ex:restrictedMaxExclusive>2</ex:restrictedMaxExclusive>
|
|
</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><xs:schema></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>
|
|
<xs:element name="restrictedLength" type="ex:RestrictedLength" />
|
|
<xs:simpleType name="RestrictedLength">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:restrictedLength>en</ex:restrictedLength>
|
|
</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>
|
|
<ex:restrictedLength>FR</ex:restrictedLength>
|
|
</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><xs:schema></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>
|
|
<xs:element name="restrictedMaxLength" type="ex:RestrictedMaxLength" />
|
|
<xs:simpleType name="RestrictedMaxLength">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:restrictedMaxLength>AUSTRALIA</ex:restrictedMaxLength>
|
|
</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>
|
|
<ex:restrictedMaxLength>N AMERICA</ex:restrictedMaxLength>
|
|
</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><xs:schema></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>
|
|
<xs:element name="restrictedMinLength" type="ex:RestrictedMinLength" />
|
|
<xs:simpleType name="RestrictedMinLength">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:restrictedMinLength>AUS</ex:restrictedMinLength>
|
|
</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>
|
|
<ex:restrictedMinLength>GB</ex:restrictedMinLength>
|
|
</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><xs:schema></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>
|
|
<xs:element name="restrictedPattern" type="ex:RestrictedPattern" />
|
|
<xs:simpleType name="RestrictedPattern">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<xs:minLength value="1" />
|
|
<xs:maxLength value="6" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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}" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:restrictedPattern>123456</ex:restrictedPattern>
|
|
</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>
|
|
<ex:restrictedPattern>1234</ex:restrictedPattern>
|
|
</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><xs:schema></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>
|
|
<xs:element name="restrictedWhitespacePreserve" type="ex:RestrictedWhitespacePreserve" />
|
|
<xs:simpleType name="RestrictedWhitespacePreserve">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:restrictedWhitespacePreserve>restricted whitespace preserve</ex:restrictedWhitespacePreserve>
|
|
</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><xs:schema></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>
|
|
<xs:element name="restrictedWhitespaceCollapse" type="ex:RestrictedWhitespaceCollapse" />
|
|
<xs:simpleType name="RestrictedWhitespaceCollapse">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:restrictedWhitespaceCollapse>restricted whitespace collapse</ex:restrictedWhitespaceCollapse>
|
|
</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><xs:schema></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>
|
|
<xs:element name="restrictedWhitespaceReplace" type="ex:RestrictedWhitespaceReplace" />
|
|
<xs:simpleType name="RestrictedWhitespaceReplace">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:restrictedWhitespaceReplace>restricted whitespace replace</ex:restrictedWhitespaceReplace>
|
|
</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><xs:schema></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>
|
|
<xs:element name="precisionDecimal" type="ex:PrecisionDecimal" />
|
|
<xs:simpleType name="PrecisionDecimal">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">xs:simpleType</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">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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">xs:simpleType</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">xs:simpleType</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">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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">xs:simpleType</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">xs:union</b>>
|
|
</xs:simpleType>
|
|
|
|
</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>
|
|
<ex:precisionDecimal>1000.20</ex:precisionDecimal>
|
|
</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>
|
|
<ex:precisionDecimal>NaN</ex:precisionDecimal>
|
|
</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>
|
|
<ex:precisionDecimal>-INF</ex:precisionDecimal>
|
|
</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><xs:schema></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>
|
|
<xs:element name="attributeGroup" type="ex:AttributeGroup" />
|
|
<xs:complexType name="AttributeGroup">
|
|
<xs:sequence>
|
|
<xs:element name="contract" type="xs:string" />
|
|
</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">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" />
|
|
</xs:complexType>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
|
|
</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>
|
|
<ex:attributeGroup id="AttributeGroup_contract_001">
|
|
<ex:contract>12345678910</ex:contract>
|
|
</ex:attributeGroup>
|
|
</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>
|
|
<ex:attributeGroup>
|
|
<ex:contract>9876543210</ex:contract>
|
|
</ex:attributeGroup>
|
|
</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><xs:schema></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>
|
|
<xs:element name="substitutionGroup" 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">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" />
|
|
|
|
</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>
|
|
<ex:substitutionElement>String</ex:substitutionElement>
|
|
</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>
|
|
<ex:substitutionGroup>String</ex:substitutionGroup>
|
|
</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><xs:schema></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>
|
|
<xs:element name="elementGroup" type="ex:ElementGroup" />
|
|
<xs:complexType name="ElementGroup">
|
|
<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">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" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
<xs:element name="value1" type="xs:string" />
|
|
<xs:element name="value2" 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">xs:sequence</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">xs:group</b>>
|
|
|
|
</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>
|
|
<ex:elementGroup>
|
|
<ex:value1>foo</ex:value1>
|
|
<ex:value2>bar</ex:value2>
|
|
</ex:elementGroup>
|
|
</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><xs:schema></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>
|
|
<xs:element name="attributeGroupAnyAttribute" type="ex:AttributeGroupAnyAttribute" />
|
|
<xs:complexType name="AttributeGroupAnyAttribute">
|
|
<xs:attributeGroup ref="ex:CommonAttributes" />
|
|
</xs:complexType>
|
|
<xs:attributeGroup name="CommonAttributes">
|
|
<xs:attribute name="id" type="xs:ID" use="optional" form="unqualified" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</xs:attributeGroup>
|
|
|
|
</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>
|
|
<ex:attributeGroupAnyAttribute id="id1" ex:anyattr="value1"/>
|
|
</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><xs:schema></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>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<xs:complexContent>
|
|
<xs:extension base="ex:RedefineType">
|
|
<xs:sequence>
|
|
<xs:element name="element3" type="xs:string" />
|
|
</xs:sequence>
|
|
</xs:extension>
|
|
</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">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">xs:redefine</b>>
|
|
<xs:element name="redefined" type="ex:RedefineType" />
|
|
|
|
</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>
|
|
<ex:redefined>
|
|
<ex:element1>value1</ex:element1>
|
|
<ex:element2>value2</ex:element2>
|
|
<ex:element3>value3</ex:element3>
|
|
</ex:redefined>
|
|
</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><xs:schema></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>
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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">
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
<<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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" />
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
</<b xmlns:pat=
|
|
"http://www.w3.org/2002/ws/databinding/patterns/6/09/" xmlns:ex=
|
|
"http://www.w3.org/2002/ws/databinding/examples/6/09/"
|
|
xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
|
|
xmlns: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>>
|
|
<xs:complexType name="Unique">
|
|
<xs:sequence>
|
|
<xs:element name="character" maxOccurs="unbounded">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="unbounded" />
|
|
<xs:element name="age" type="xs:string" minOccurs="0" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
</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>
|
|
<ex:unique>
|
|
<ex:character>
|
|
<ex:name>String</ex:name>
|
|
<ex:age>String</ex:age>
|
|
</ex:character>
|
|
</ex:unique>
|
|
</pre></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="div1">
|
|
<h2><a name="structures" id="structures"></a>3. Data Types &
|
|
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&ICS1=35&ICS2=240&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>
|
|
<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/">
|
|
|
|
<xsl:output method="text" />
|
|
|
|
<xsl:template match="/">
|
|
<xsl:apply-templates select="//xs:schema" mode="detect"/>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="*" mode="detect">
|
|
<xsl:if test="count(.//xs:element/@type[resolve-QName(.,..) = xs:QName('xs:string')]) gt 0">
|
|
http://www.w3.org/2002/ws/databinding/patterns/6/09/StringElement
|
|
</xsl:if>
|
|
|
|
<!-- tests to detect other patterns .. -->
|
|
|
|
</xsl:template>
|
|
|
|
<xsl:template match="text()"/>
|
|
</xsl:stylesheet>
|
|
</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>
|
|
<sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron">
|
|
<sch:ns prefix="xs" uri="http://www.w3.org/2001/XMLSchema"></sch:ns>
|
|
<sch:pattern name="Basic">
|
|
<sch:rule>
|
|
<sch:report
|
|
test="count(.//xs:element/@type[resolve-QName(.,..) = xs:QName('xs:string')]) gt 0">
|
|
http://www.w3.org/2002/ws/databinding/patterns/6/09/StringElement
|
|
</sch:report>
|
|
</sch:rule>
|
|
|
|
<!-- reports to detect other patterns .. -->
|
|
|
|
</sch:pattern>
|
|
</sch:schema>
|
|
</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>
|
|
<xsl:if select="(.//* | .//@*) except
|
|
( @targetNamespace
|
|
| .//xs:element[resolve-QName(@type,.) = xs:QName('xs:string')]/(@type)
|
|
| .. other pattern XPaths ..
|
|
)">
|
|
unexpected elements or attributes detected
|
|
</xsl:if>
|
|
|
|
</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>
|