<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet type='text/xsl' href='scdspec.xsl'?> 
<!DOCTYPE spec PUBLIC 
     "-//W3C//DTD Specification V2.2//EN" 
     "xmlspec.dtd" 
[ 
   <!ENTITY % versionEntities SYSTEM "versionInfo.ent"> 
   %versionEntities; <!-- get path and date entities --> 
 
   <!ENTITY doc.date "&draft.day; &draft.month; &draft.year;"> 
   <!ENTITY w3c.doc.date "&draft.day;-&draft.month;-&draft.year;"> 
   <!ENTITY iso.doc.date "&draft.YY;&draft.MM;&draft.DD;"> 
 
   <!ENTITY % x.local.ednote.class "|var"> 
   <!ENTITY % x.local.emph.class "|code|var"> 
   <!ENTITY % local.common.att "rel  CDATA  #IMPLIED"> 
   <!ENTITY % local.eg.pcd.mix "|ulist|code">  
   <!ENTITY % local.tech.pcd.mix "|var">  
 
   <!ENTITY expanded-name  
      '<xspecref href="http://www.w3.org/TR/2004/REC-xml-names11-20040204/#dt-expname">expanded name</xspecref>' > 
   <!ENTITY expanded-names  
      '<xspecref href="http://www.w3.org/TR/2004/REC-xml-names11-20040204/#dt-expname">expanded names</xspecref>' > 
]> 
<!--     "http://www.w3.org/XML/1998/06/xmlspec-v22.dtd" --> 
<spec w3c-doctype="cr">  
 <header>   
   <title>W3C XML Schema Definition Language (XSD): Component Designators</title>   
   <w3c-designation>&WD-SCDS;-&iso.doc.date;</w3c-designation>
   <w3c-doctype>W3C Candidate Recommendation</w3c-doctype>
    <pubdate>
      <day>&draft.day;</day>
      <month>&draft.month;</month>
      <year>&draft.year;</year>
    </pubdate>
   <publoc>   
     <loc href="&SCDS.base;/" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">&SCDS.base;/</loc>
   </publoc>   
   <altlocs>   
    <loc xmlns:xlink="http://www.w3.org/1999/xlink" href="scds.xml" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">XML</loc>   
   </altlocs>   
   <latestloc>   
     <loc xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.w3.org/TR/xmlschema-ref/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">http://www.w3.org/TR/xmlschema-ref/</loc>   
   </latestloc>   
   <prevlocs>   
     <loc xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.w3.org/TR/2008/WD-xmlschema-ref-20081117/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">http://www.w3.org/TR/2008/WD-xmlschema-ref-20081117/</loc>   
     <loc xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.w3.org/TR/2008/WD-xmlschema-ref-20080910/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">http://www.w3.org/TR/2008/WD-xmlschema-ref-20080910/</loc>   
     <loc xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.w3.org/TR/2005/WD-xmlschema-ref-20050329/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">http://www.w3.org/TR/2005/WD-xmlschema-ref-20050329/</loc>   
     <loc xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.w3.org/TR/2004/WD-xmlschema-ref-20040716/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">http://www.w3.org/TR/2004/WD-xmlschema-ref-20040716/</loc>   
     <loc xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.w3.org/TR/2004/WD-xmlschema-ref-20040309/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">http://www.w3.org/TR/2004/WD-xmlschema-ref-20040309/</loc>   
     <loc xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.w3.org/TR/2003/WD-xmlschema-ref-20030109/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">http://www.w3.org/TR/2003/WD-xmlschema-ref-20030109/</loc>   
   </prevlocs>   
   <authlist>   
    <author>   
     <name>Mary Holstege</name>   
     <affiliation>Mark Logic Corporation</affiliation>   
    </author>   
    <author>   
     <name>Asir S. Vedamuthu</name>   
     <affiliation>webMethods (until May 2005)</affiliation>   
    </author>   
   </authlist>   
   
   <abstract>   
<p>XML Schema: Component Designators defines a scheme for identifying XML   
Schema components as specified by   
<loc xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">XML Schema Part 1: Structures</loc> and   
<loc xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">XML Schema Part 2: Datatypes</loc>.   
</p>   
   </abstract>   
   <status>   
    <p><emph>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   
      <loc xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.w3.org/TR/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">W3C technical reports index</loc> at   
      http://www.w3.org/TR/.</emph></p>   
<p><phrase diff="del">This document is a Last Call Working Draft for 
review by members of the public and by    
members and other Working Groups of the World Wide Web Consortium.    </phrase>
<phrase diff="add">
This W3C Candidate Recommendation specified W3C XML Schema Definition Language
(XSD) Component Designators. It is here made available for review by W3C
members and the public. </phrase>
It has been    
produced by the <loc xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.w3.org/XML/Schema" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">W3C XML Schema Working   
Group</loc> (WG) as part of the <loc xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.w3.org/XML/Activity" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">XML Activity</loc>.   
It incorporates all Working Group decisions through 
2008-10-31.   
It has been reviewed by the Working Group and the Working Group has agreed to   
publication as a Last Call Working Draft.  
 </p>   

   <p>   
The <phrase diff="del">Last Call</phrase><phrase diff="add">Candidate Recommendation</phrase> review period for this document extends until <phrase diff="del">19 January 2009</phrase><phrase diff="add">1 March 2010</phrase>.
    Comments on this document should be made in   
    W3C's public installation of Bugzilla, specifying "XML Schema" as the   
    product. Instructions can be found at <loc xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.w3.org/XML/2006/01/public-bugzilla" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">http://www.w3.org/XML/2006/01/public-bugzilla</loc>. If access to   
    Bugzilla is not feasible, please send your comments to the W3C XML   
    Schema comments mailing list, <loc xmlns:xlink="http://www.w3.org/1999/xlink" href="mailto:www-xml-schema-comments@w3.org" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">www-xml-schema-comments@w3.org</loc>    
    (<loc xmlns:xlink="http://www.w3.org/1999/xlink" href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">archive</loc>).   
    Each Bugzilla entry and email message should contain only one   
    comment.</p>   
<p diff="add">
Any feature mentioned as a "feature at risk" may be retained as is or dropped,
depending on the feedback received from readers, schema authors, schema users,
and implementors. The only feature at risk is support for axes and components 
that are dependent on the XML Schema 1.1 component model rather than the 
XML Schema 1.0 component model.
</p>
<p>Publication as a <phrase diff="del">Working Draft</phrase><phrase diff="add">Candidate Recommendation</phrase> 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 diff="add">
The W3C XML Schema Working Group intends to request advancement of this
specification and publication as a Proposed Recommendation (possibly with
editorial changes, and possibly removing features identified as being at risk)
as soon after 1 March 2010 as the exit criteria for the current
phase have been met.
</p>
<p diff="add">
This specification does not define any criteria for conformance and relies on
other specifications to specify criteria for conformance of implementations.
Nevertheless a <loc href="http://dev.w3.org/2009/xmlschema-ref-test-suite/">test suite</loc> is under development that
identifies the set of canonical schema component paths that should be generated
for particular test schemas, and that relates certain non-canonical component
paths to the corresponding canonical schema component paths.
</p>

<p diff="add">
The W3C XML Schema Working Group has agreed on the following specific CR exit criteria:
</p>
<ulist>
<item diff="add"><p>A test suite is available which provides cases for each 
axis and component
type, both for the XML Schema 1.0 component model and the XML Schema 1.1
component model.</p></item>
<item diff="add"><p>Generation or interpretation of canonical schema component 
paths have been
implemented successfully by at least two independent implementations.</p></item>
<item diff="add"><p>Generation or interpretation of each axis and component for 
non-canonical
schema component paths has been implemented successfully by at least two
independent implementations.</p></item>
<item diff="add"><p>The Working Group has responded formally to all issues 
raised against this
document during the Candidate Recommendation period. </p></item>
</ulist>

<p>At the time this Candidate Recommendation was published, no 
interoperability or implementation report had yet been prepared.  
</p>
<p>This document has been produced by the W3C XML Schema Working Group as part of
the W3C XML Activity. The authors of this document are the members
of the XML Schema Working Group. 
</p>
<p>The following changes were made since the last public Working Draft:</p>   
<ulist>   
<item diff="add"><p>As resolution for issue <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6450">6450</loc>: make EBNF for Predicate more precise.</p></item>
<item diff="add"><p>As resolution for issue <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6451">6451</loc>: clarify that predicate
counting starts at 1.</p></item>
<item diff="add"><p>As resolution for issue <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6452">6452</loc>: Make the rules such that
unprefixed axis names are in no null namespace and are reserved,
that the component kinds are part of a the namespace
&quot;http://www.w3.org/2009/xmlschema-ref&quot;, and redefine 
component-kind() to be returning expanded names.</p></item>
<item diff="del"><p>Clarified the normalization required for canonical schema 
component designators; revised the EBNF accordingly.</p></item> 
<item diff="del"><p>Removed unclear non-goal concerning namespace validity.</p></item> 
<item diff="del"><p>Fixed error in EBNF for ExtensionAccessor.</p></item> 
</ulist>   
   
<!-- 
<p> 
This document was produced under the  
<loc href="http://www.w3.org/Consortium/Patent-Policy-20040205/" 
xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple"  
xlink:show="replace" xlink:actuate="onRequest">5 February 2004 W3C 
Patent Policy</loc>. The Working Group maintains a  
<loc href="http://www.w3.org/2002/11/xml-schema-IPR-statements.html"  
xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple"  
xlink:show="replace" xlink:actuate="onRequest" rel="disclosure"> 
public list of patent disclosures</loc>  
relevant to this document; 
that page also includes instructions for disclosing [and excluding] a 
patent. An individual who has actual knowledge of a patent which the individual 
believes contains Essential Claim(s) with respect to this specification should 
disclose the information in accordance with  
<loc href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure" 
xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple"  
xlink:show="replace" xlink:actuate="onRequest" rel="disclosure">section 
6 of the W3C Patent Policy</loc>.  
</p> 
-->   
   <p>This document was produced by a group operating under the <loc xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.w3.org/Consortium/Patent-Policy-20040205/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">5 February   
     2004 W3C Patent Policy</loc>. W3C maintains a <loc xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.w3.org/2004/01/pp-impl/19482/status" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">public list of   
     any patent disclosures</loc> 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 <loc xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">Essential Claim(s)</loc> must disclose the information in accordance   
     with <loc xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">section 6 of the W3C Patent Policy</loc>.   
   </p>   
   </status>   
   <langusage>   
     <language id="en">English</language>   
   </langusage>   
	<revisiondesc>   
	  <p>Last Modified: $Date: 2010/01/19 15:21:31 $</p>   
   </revisiondesc>   
 </header>   
 <body>   
  <div1 id="section-introduction">   
    <head>Introduction (Non-Normative)</head>   
<p>This document defines a system for designating XML Schema components. Part 1   
of the W3C XML Schema Definition Language (XSD) recommendation    
<bibref ref="xsd1"/> defines these    
schema components.    
<xspecref xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/#concepts-data-model" xlink:type="simple" xlink:show="new" xlink:actuate="onRequest">Section 2.2</xspecref>   
lays out the inventory of schema components into   
three classes:   
</p>   
<ulist>   
<item><p>Primary components: simple and complex type definitions, attribute   
declarations, and element declarations</p></item>   
<item><p>Secondary components: attribute and model group definitions,   
identity-constraint definitions, and notation declarations</p></item>   
<item><p>"Helper" components: annotations, model groups, particles, wildcards, and   
attribute uses</p></item>   
</ulist>   
<p>In addition there is a master schema component, the schema component   
representing the schema as a whole. This component will be   
referred to as the schema description component in this specification.   
</p>   
<p>Finally, there are schema components for the facets defined in Part 2 of the   
W3C XML Schema Definition Language (XSD)   
recommendation <bibref ref="xsd2"/>:</p>    
<ulist>   
<item><p><xspecref xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-fund-facets" xlink:type="simple" xlink:show="new" xlink:actuate="onRequest">Fundamental Facets</xspecref>: ordered, bounded, cardinality, numeric</p></item>   
<item><p><xspecref xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-facets" xlink:type="simple" xlink:show="new" xlink:actuate="onRequest">Constraining Facets</xspecref>: whiteSpace, minInclusive, maxInclusive, minExclusive,   
    maxExclusive, totalDigits, fractionDigits, length, minLength, maxLength,   
    pattern, enumeration   
</p></item>   
</ulist>   
<p>Version 1.1 of the W3C XML Schema Definition Language (XSD)   
recommendation     
<bibref ref="xsd11_1"/><bibref ref="xsd11_2"/> adds additional components and   
makes modifications to existing components, as well as introducing the notion   
of "property records" to capture more complex structured values.   
</p>   
   
<p>At first blush, a QName (prefix:localname) may seem sufficient to the   
task of designating any schema component.    
This is not the case for various   
reasons:   
</p>   
<olist>   
<item><p>A QName is only meaningful in the context of particular namespace   
bindings so that the QName can be resolved to a particular    
&expanded-name;, i.e. a {namespace name, local name}   
pair.    
</p></item>   
<item><p>The same &expanded-name; can be used in a particular schema to refer
to an
element declaration, an attribute declaration, a complex type or   
simple type definition, a model group definition, an attribute group   
definition, an identity constraint definition, and a notation declaration.   
</p></item>   
<item><p>Locally scoped element and attribute declarations cannot    
necessarily be uniquely   
named by an &expanded-name;.   
</p></item>   
<item><p>Anonymous type definitions have no    
&expanded-name;, or they have an    
&expanded-name; that    
may vary with the   
particular schema processor interpreting the schema.   
</p></item>   
<item><p>Certain schema components (annotation,   
particle, wildcard) are invariably subordinate to   
some other schema component, and    
have no name of their own.</p></item>   
<item><p>Certain schema components (attribute use and model group)   
are subordinate to some other schema component, and any name they might be   
construed to have is a reference to some other schema component (attribute   
declaration and model group definition, respectively).   
</p></item>   
<item><p>The schema   
description schema component has no name at all.</p></item>    
   
</olist>   
   
<p>A key technical challenge to obtaining a useful   
system of naming XML Schema components is to address these issues or decide   
that certain cases need not be addressed. In particular:   
</p>   
<olist>   
<item><p>Designators must either include full &expanded-name;, or define   
namespace bindings.</p></item>   
<item><p>Designators must distinguish named components in   
different symbol spaces from one another.</p></item>   
<item><p>Designators must provide a means of distinguishing locally scoped   
element and attribute declarations with the same name.</p></item>   
<item><p>Designators must provide for any designatable unnamed components, such   
as anonymous type definitions, wildcards, and the   
schema   
description    
component.</p></item>   
<item><p>Designators must function in the face of redefinitions.</p></item>   
</olist>   
   
<p>The schema description schema component may represent the amalgamation of   
several distinct schema documents, or none at all. It may be associated with   
any number of target namespaces, including none at all. It may have been   
obtained for a particular schema assessment episode by de-referencing URIs given   
in schemaLocation attributes, or by an association with the target namespace or   
by some other application-specific means. In short, there are substantial   
technical challenges to defining a reliable designator for the   
schema description, particularly if that designator is expected to serve as a   
starting point for the other components encompassed by that schema.   
</p>   
<p>This specification divides the problem of constructing schema component   
designators into two parts: defining a designator for an assembled schema, and   
defining a designator for a particular schema component or schema components,   
understood relative to a designated schema. The first task   
is discussed in <specref ref="section-scds"/>, although this specification does   
not define a specific rule for how to construct a single URI for an assembled   
schema. The second task is addressed in detail    
in <specref ref="section-path"/>.     
</p>   
  </div1>   
  <div1 id="section-goals">   
    <head>Goals and Use Cases (Non-Normative)</head>   
    <div2 id="section-requirements">   
      <head>Requirements</head>   
<glist>   
<gitem>   
<label>Basic Functionality</label>   
<def>   
<olist>   
  <item><p>   
  Each component should have at least one unambiguous designator   
  that designates that component and no other.  However, certain   
  abbreviation and wildcarding constructs may designate collections   
  of components.   
  </p></item>   
  <item><p>It should be possible to designate any schema component within a   
  schema. However, some exceptions will be made for certain of the helper   
  components.   
  </p></item>   
  <item><p>Designators should provide (or assure) a URI for the unique identification of a schema.   
  </p></item>   
  <item><p>If there is more than one designator for a construct, there should be   
  exactly one canonical form of the designator.</p></item>   
  <item><p>Designators should be usable for either the XML Schema   
  1.0 or the XML Schema 1.1 component model   
  </p></item>   
</olist>   
</def>   
</gitem>   
<gitem>   
<label>Properties of the Designator</label>   
<def>   
<olist>   
  <item><p>Designators should be human-readable.</p></item>   
  <item><p>Given a designator, it should be possible to get the &expanded-name; for the   
  designated component, if one exists for that component.   
  </p></item>   
  <item><p>It should be possible to    
   generate   
  the canonical designator for each component    
  algorithmically and consistently,    
  either against an assembled   
  schema or as the schema is assembled.</p></item>   
  <item><p>Designators should be parsable with compositional semantics (or, in   
other words, they should have <emph>expressive notation</emph>).</p></item>   
  <item><p>There should be a formal specification of what constitutes a legal designator.</p></item>   
</olist>   
</def>   
</gitem>   
<gitem>   
<label>Compatibility</label>   
<def>   
<olist>   
  <item><p>Designators should be URI references.</p></item>   
  <item><p>Designators should work well in a RDDL environment.</p></item>   
</olist>   
</def>   
</gitem>   
<gitem>   
<label>Non-goals</label>   
<def>   
<olist>   
  <item><p>It is not a requirement to designate particle components as distinct   
  from terms.</p>   
  </item>   
   
  <item><p>It is not a requirement that it be possible to   
construct designators to refer to arbitrary schema components without any   
knowledge of schema internals.</p></item>   
  <item><p>It is not a requirement to be able to tell, from a schema component   
designator for an element declaration, whether instances of that element   
declaration must appear in document instances with qualified or unqualified   
names.</p></item>   
  <item><p>It is not a requirement that it be   
  possible to uniquely assign schema   
  component designators    
  (element, attribute, and type designators) to information   
  items in a document instance given only a set of schema component   
  designators.   
  </p></item>   
</olist>   
</def>   
</gitem>   
</glist>   
    </div2>   
    <div2 id="section-usecases">   
      <head>Use Cases</head>   
   
<glist>   
<gitem><label>Type references</label>   
<def>   
<p>In general Schema Component Designators can be used to provide references to   
arbitrary types, whether they are named global types or local or anonymous   
types. These use cases all benefit from being able to refer to any type   
declaration.</p>   
<ulist>   
  <item><p>Describing the type of an expression, where the type might be an   
  anonymous or local type and a QName is therefore inadequate.   
  There are a number of examples   
  where this could be valuable in type-aware languages that operate on   
  schema-validated XML:   
  </p>   
  <ulist>   
  <item><p>Naming the type of something that has been selected.   
  </p></item>   
  <item><p>For use wherever types are named, for example to specify a type in   
  a query expression.</p></item>   
  <item><p>Enabling interfaces like those described   
  in <bibref ref="dom3"/>    
   to expose anonymous types.</p></item>   
  </ulist>   
  </item>   
  <item><p>Identifying types for casting, specifically wrt anonymous   
  and local types.</p></item>   
  <item><p>Identifying types for function signatures.   
  </p></item>   
</ulist>   
</def>   
</gitem>   
<gitem><label>Element declaration references</label>   
<def>   
<p>These use cases benefit from being able to refer to any element declaration.   
</p>   
<ulist>   
     
  <item><p>Referring to a local element declaration, with or without   
  knowledge of the names of the scoping types and elements.   
  </p></item>   
</ulist>   
</def>   
</gitem>   
<gitem><label>Stand-off schema annotation</label>   
<def>   
<p>Schema component designators can be used to refer to specific parts of a   
schema to provide an out-of-band annotation capability, for commentary, error   
reporting, or the association of layered semantics with schema components.   
</p>   
<ulist>   
  <item><p>Writing error messages. There are two classes of error messages in   
view: errors in an instance and errors in the schema. For example, if an   
instance has a quantity which violates the constraints of a particular type,   
such as a range constraint, it is valuable for the error message to be able to   
name and refer to the specific type whose constraints were violated, even if   
that is the anonymous type of a local element   
declaration. An example of a schema    
error would be that one type is not a valid restriction of another type.   
This use case benefits from being able to name and refer to type, element, and   
attribute declarations, as well as element and attribute uses, groups, and   
possibly facets and particles. It is unclear whether being able to   
refer separately   
to particles versus groups is important. Being able to    
refer separately   
to attribute and element uses versus attribute and element declarations may be   
important.   
</p></item>   
  <item><p>Schema documentation. The transfer syntax for W3C XML Schema allows   
  for documentation to be attached to components in-line. In many cases it may   
  be preferable to keep the documentation separate from the active definitions,   
  to save bandwidth, to provide for alternative documentation for different   
  communities, and so on. Being able to refer to any schema component that can   
  support an annotation (all but annotation itself) supports this use case.   
  </p></item>   
  <item><p>Commentary on schemas, such as best practices documents, reviews and   
  comparisons of particular schemas, and so on.   
  </p></item>   
  <item><p>Associating an additional layer of semantics with schema   
  components, for example, providing information to programming language or   
  application environments to identify code to execute. For example, certain   
  XML data binding frameworks today reference complex types and elements using   
  their own path syntax for the purpose.   
</p></item>   
</ulist>   
</def>   
</gitem>   
<gitem><label>Miscellaneous text-based uses within schema-based tools</label>   
<def>   
<p>Having a simple textual way to refer to the abstract components of a schema   
enables certain kinds of text-based schema-related processing.</p>   
<ulist>   
  <item><p>A tool that creates interlinked HTML pages describing a schema.</p></item>   
  <item><p>String-based tests of type equivalence. Such tests can be used for   
  comparing serialized PSVIs to provide for interoperable tests of type   
  equivalence and processor comparisons.   
  </p></item>   
  <item><p>String-based comparisons of processors generally, making it   
  possible, for example, to ask and   
  answer the question "Did two validations of the same document on   
  different machines use the same type for a given element?"   
   </p></item>   
      <item><p>input/output</p></item>   
      <item><p>user reports</p></item>   
      <item><p>glue/interfaces</p></item>   
</ulist>   
</def>   
</gitem>   
<gitem><label>Other</label>   
<def>   
<ulist>   
  <item><p>Simple selection queries, such as "the type that is the base   
  type of X" without knowledge of its name.</p></item>   
  <item><p>Creation or initial drafting of a new schema or schema document by   
  selecting components from existing schema.   
  </p></item>   
     
  <item><p>Using XSD simple types as the   
  datatype of RDF literals.</p></item>    
  <item><p>Describing XSD Components   
  within RDF, including    
  the use of XSD simple types as RDF   
  classes.</p></item>    
  <item><p>   
Formal description requires unique identifier for each declaration and   
definition component used within the context of the validation episode.   
  </p></item>   
  <item><p>Enumerating dependencies among schema components. For example, where   
  one complex type restricts another, the local elements in one depend on the   
  local elements of the other.</p></item>   
</ulist>   
</def>   
</gitem>   
</glist>   
    </div2>   
  </div1>   
  <div1 id="section-scds">   
     <head>Schema Component Designators</head>   
   
<p>Schema component designators rely on a layered model of schema   
component reference. Schema component paths designate components in the context   
of a particular schema assembly and depend on a namespace   
binding context.    
Full blown schema designators consist of two parts: a URI   
without a fragment identifier part, which identifies the schema, and a   
fragment identifier which encapsulates a schema component path to designate a   
set of components in the context of that schema.   
   
Schema component paths may be used in contexts other than   
schema component designators, given appropriate specification of the namespace   
binding context and the target schema.     
</p>   
<p>This section describes schema component designators as a whole. The details   
of schema component paths are described in <specref ref="section-path"/>.</p>   
<p><termdef id="key-sd" term="schema designator">A <term>schema   
designator</term> is a single URI for a resource representing an   
assembled schema.</termdef>   
</p>   
<p>Many possible conventions for obtaining a single URI to refer to a schema   
are possible.   
In the simplest case, where there is one root schema document, the URI of   
that document suffices. In other cases a schema may have been assembled from   
multiple schema documents, or from components obtained via other   
representations, and some   
representation of that collection or of the assembled results will be required.   
</p>   
<p>We expect that it will be   
highly desirable for the community to evolve one convention for referring   
to an assembled schema to   
ensure consistency of global schema component designators. This specification   
declines to specify what that one way should be.   
</p>   
<note><p>   
Like any resource, the schema denoted by a URI may be   
represented in a variety of forms, with different media types.  When a URI is   
dereferenced, the form and resolution of any fragment identifier depend (as   
specified by <bibref ref="rfc3986"/>) on the media type of the representation   
obtained.   
The representation of a resource obtained by dereferencing a schema URI   
must therefore allow for the fragment identifier   
syntax defined here in order for schema component   
designators to successfully resolve to components.    
Whatever representation of a schema is used,    
the media type should allow for the fragment identifier syntax defined here.   
This will be true for any XML representation of the schema, since the XPointer   
framework <bibref ref="xptrframework"/> is defined for all XML media   
types. Other media types must explicitly specify a compatible fragment   
identifier syntax.   
   
   
</p></note>   
<p>The schema component reference core defines reference to a schema component   
in the context of an assembled XML Schema. <specref ref="section-path"/>   
defines this   
relationship between an assemblage of schema components and component paths.   
Schema assembly is described in   
<xspecref xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/#composition" xlink:type="simple" xlink:show="new" xlink:actuate="onRequest">Section   
4 of XML Schema Part 1: Structures</xspecref>.   
</p>   
<p>For the purposes of component paths, a    
missing component    
(see <xspecref xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/#conformance-missing" xlink:type="simple" xlink:show="new" xlink:actuate="onRequest">   
Section 5.3 of XML Schema Part 1: Structures</xspecref>)   
cannot be used to   
construct a valid path; nor can a schema component be successfully referenced   
through a path that references a missing component.   
</p>   
   
<p><termdef id="key-scd" term="absolute schema component designator">An   
<term>absolute schema component designator</term> identifies   
a particular schema component; it   
consists of two parts: a designator   
for the assembled schema (a <termref def="key-sd">schema designator</termref>), and a designator for a   
particular schema component or schema components relative (a <termref def="key-relative-scd">relative   
schema component designator</termref>) to that assembled schema.</termdef>   
</p>   
<p>Syntactically, the first part is a URI without a fragment   
identifier, and the second part   
is an XPointer fragment identifier. An absolute schema component designator   
therefore is a URI reference.  
For example:    
http://example.org/schemas/po.xsd#xscd(/type::purchaseOrderType)     
</p>   
<p>   
Note that a schema component designator may contain Unicode characters    
that are not allowed in URIs. Any such characters must be encoded and escaped   
to obtain a URI suitable for retrieval, if retrieval is required.   
</p>   
<p><termdef id="key-relative-scd" term="relative schema component designator">A   
    <term>relative schema component designator</term>    
    identifies a particular schema component relative to   
    some current assembled schema; it   
    is expressed as an <xspecref xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.w3.org/TR/xptr-framework/#scheme" xlink:type="simple" xlink:show="new" xlink:actuate="onRequest">XPointer scheme</xspecref>   
    <code> xscd()</code> that uses a <termref def="key-scp">schema component path</termref>   
    as the <xspecref xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.w3.org/TR/xptr-framework/#NT-SchemeData" xlink:type="simple" xlink:show="new" xlink:actuate="onRequest">scheme data</xspecref>.</termdef>  This   
    XPointer scheme may be used in combination with the   
    <xspecref xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.w3.org/TR/xptr-xmlns/#NT-XmlnsSchemeData" xlink:type="simple" xlink:show="new" xlink:actuate="onRequest"><phrase>XPointer   
    <code>xmlns()</code> scheme</phrase></xspecref>   
    <bibref ref="xptrxmlns"/>.   
    It is not   
    designed to be used in   
    combination with other XPointer schemes.   
 The construction and syntax of schema component paths are described in   
    <specref ref="section-path"/>.   
 </p>   
<div2 id="section-scd-syntax">   
      <head>Schema Component Designator Syntax</head>   
<scrap lang="ebnf" headstyle="show">   
<head>EBNF</head>   
   
<prod id="NT-SchemaComponentDesignator"><!--num="1">-->   
    <lhs>SchemaComponentDesignator</lhs>   
    <rhs><nt def="NT-AbsoluteSchemaComponentDesignator">AbsoluteSchemaComponentDesignator</nt> |   
        <nt def="NT-RelativeSchemaComponentDesignator">   
            RelativeSchemaComponentDesignator</nt></rhs>   
</prod>   
   
<prod id="NT-AbsoluteSchemaComponentDesignator"><!--num="2">-->   
    <lhs>AbsoluteSchemaComponentDesignator</lhs>   
    <rhs><nt def="NT-SchemaDesignator">SchemaDesignator</nt> '#'   
        <nt def="NT-RelativeSchemaComponentDesignator">   
            RelativeSchemaComponentDesignator</nt></rhs>   
</prod>   
   
<prod id="NT-SchemaDesignator"><!--num="3">-->  
    <lhs>SchemaDesignator</lhs>   
    <rhs><nt def="NT-AnyURI">AnyURI</nt></rhs>   
</prod>   
   
<prod id="NT-AnyURI"> 
    <lhs>AnyURI</lhs>   
    <rhs><xnt xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.w3.org/TR/xml/#NT-Char" xlink:type="simple" xlink:show="new" xlink:actuate="onRequest">Char</xnt>*</rhs>   
    <com>IRI reference: no fragment identifier</com> 
</prod>   
   
<prod id="NT-RelativeSchemaComponentDesignator"><!--num="3">-->   
   <lhs>RelativeSchemaComponentDesignator</lhs>   
   <rhs><nt def="NT-XmlnsPointerPart">XmlnsPointerPart</nt>*   
        <nt def="NT-XscdPointerPart">XscdPointerPart</nt>   
   </rhs>   
</prod>   
   
<prod id="NT-XmlnsPointerPart"><!--num="4">-->   
    <lhs>XmlnsPointerPart</lhs>   
    <rhs>   
    'xmlns' '(' <xnt xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.w3.org/TR/xptr-xmlns/#NT-XmlnsSchemeData" xlink:type="simple" xlink:show="new" xlink:actuate="onRequest">XmlnsSchemeData</xnt> ')'   
    </rhs>   
</prod>   
   
<prod id="NT-XscdPointerPart"><!--num="5">-->   
   <lhs>XscdPointerPart</lhs>   
   <rhs>'xscd' '(' <nt def="NT-SchemaComponentPath">SchemaComponentPath</nt> ')'   
   </rhs>   
</prod>   
</scrap>   
    </div2>   
   
<div2 id="section-canonical">   
    <head>Canonical Schema Component Designators</head>   
<p><termdef id="key-canonical-scd" term="canonical schema component designator">   
A <term>canonical schema component designator</term>   
is an absolute schema component designator that is a URI   
that has been mapped from a LEIRI to an IRI in accordance 
with the rules given in <bibref ref="leiri"/>, mapped from an IRI to a URI in 
accordance with  
the rules given in RFC 3987<bibref ref="rfc3987"/>, and 
normalized according to the rules of 
syntax-based normalization given there;
and where the relative schema component designator consists of an 
<code>xmlns</code> XPointer pointer part (if required) followed   
by a <termref def="key-canonicalized-xscd"><phrase>canonicalized <code>xscd</code> XPointer pointer part</phrase></termref>.   
</termdef></p>   
<p>   
<termdef id="key-canonicalized-xscd" term="canonicalized xscd XPointer pointer part">   
A <term><phrase>canonicalized <code>xscd</code> XPointer pointer part</phrase></term> is   
  an <code>xscd</code> XPointer pointer part whose   
  pointer data is a canonical schema    
component path.    
</termdef>   
</p>   
</div2>   
<div2 id="section-equality">   
    <head>Equality of Schema Component Designators</head>   
<p>Many use cases for schema component designators call for them to be compared   
for equality. A simple string comparison    
   
may fail to correctly recognize equivalent   
designators    
with this scheme   
because namespace prefixes may vary. However, comparison is still   
straightforward.    
</p>   
<p><termdef id="key-equal-scd" term="schema component designators are equal">Two   
<term>schema component designators are equal</term> if they are absolute   
and their URIs are equal or if they are relative to the   
same schema, and their <termref def="key-equal-path">schema component paths are   
equal</termref>.</termdef>   
</p>   
</div2>   
  </div1>   
   
<div1 id="section-path">   
<head>Schema Component Paths</head>   
<p>An assembled schema forms a rooted graph of   
schema components and property records, where   
certain schema component and property record   
properties contain other schema components and property   
records as their    
values (or part of their values). The graph arcs are   
directed and    
labelled. The graph may have cycles in it.   
Schema component paths can be regarded as being   
constructed step-by-step by traversing the schema component properties,   
starting at the schema description schema component. Within this graph there may   
be more than one path to a particular schema component.    
This section describes   
   
how paths are interpreted, and then   
defines which paths are the canonical    
ones.    
</p>   
<p>For the purposes of schema component paths, presume the   
existence of an {identity constraint definitions} property of   
the schema description component whose value is the union of all identity   
constraint components in the assembled schema.   
    
The XML Schema 1.1 specification defines   
this property.    
</p>   
   
   
   
    <div2 id="section-path-traversal">   
      <head>Schema Component Graph Traversal</head>   
   
<p>An assembled schema consists of a graph of schema components.    
Schema property records and helper components are included   
in the graph, but a schema component path never refers to them.  Traversal   
in the graph passes <emph>through</emph> property records.   
   
   
A schema component property that has other schema   
components as its value   
or as part of its value creates links in the graph which may be traversed    
through one of the defined axes to construct a schema component path.   
   
</p>   
   
   
   
   
   
   
   
   
   
   
   
<p><termdef id="key-arc" term="arc">A traversal from one component to another   
takes place across some particular component property. This property is    
the <term>arc</term> of traversal.   
</termdef></p>   
<p><termdef id="key-default-arc" term="default arc">A <term>default   
arc</term> is a privileged    
arc of traversal.   
</termdef>   
The default arcs are:   
</p>   
<slist>   
<sitem>{type definition}</sitem>   
<sitem>{content type}</sitem>   
<sitem>{particle}</sitem>   
<sitem>{simple type definition}</sitem>   
<sitem>{attribute declaration}</sitem>   
<sitem>{attribute uses}</sitem>   
<sitem>{model group}</sitem>   
<sitem>{particles}</sitem>   
<sitem>{term}</sitem>   
<sitem>{element declarations}</sitem>   
<sitem>{facets}</sitem>   
</slist>   
<p><specref ref="properties"/> includes a summary of which    
arcs act   
as defaults and when.</p>   
    </div2>   
  <div2 id="section-path-syntax">   
  <head>Schema Component Path Syntax</head>   
<div3 diff="add" id="section-scd-namespaces">
   <head>Namespaces</head>
   <p>The schema component axes defined in this document are considered to be
   names in no namespace.  They are always unprefixed and their names are
   considered reserved.  That is: no extension axis is permitted to have the
   same expanded name as any of the component axes specifically enumerated in
   <nt def="NT-Axis">Axis</nt> production.</p>
   <p>The schema component kinds defined in this document are contained in the
   namespace with the URI <code>http://www.w3.org/2009/xmlschema-ref</code>,
   which for the purposes of this specification is taken to be bound to the
   prefix <code>xscd</code>. 
   </p>
</div3>
      <div3 id="section-path-ebnf">   
        <head>EBNF for Schema Component Path Syntax</head>   
<scrap lang="ebnf" headstyle="show">   
<head id="ebnf">Path EBNF</head>   
<prod id="NT-SchemaComponentPath"><!--num="6">-->   
   <lhs>SchemaComponentPath</lhs>   
   <rhs>( <nt def="NT-SchemaStep">SchemaStep</nt> |    
          <nt def="NT-StepSeparator">StepSepator</nt>   
          <nt def="NT-RelativeSchemaComponentPath">RelativeSchemaComponentPath</nt> ) ('/' <nt def="NT-ExtensionAccessor">ExtensionAccessor</nt>)? 
   </rhs>   
</prod>   
   
<prod id="NT-SchemaStep"><!--num="7">-->   
   <lhs>SchemaStep</lhs>   
   <rhs>'/'</rhs>   
</prod>   
   
<prod id="NT-RelativeSchemaComponentPath"><!--num="8">-->   
   <lhs>RelativeSchemaComponentPath</lhs>   
   <rhs><nt def="NT-Step">Step</nt> |   
        <nt def="NT-Step">Step</nt>    
        <nt def="NT-StepSeparator">StepSeparator</nt>   
        <nt def="NT-RelativeSchemaComponentPath">RelativeSchemaComponentPath</nt>   
   </rhs>   
</prod>   
   
<prod id="NT-StepSeparator"><!--num="9">-->   
   <lhs>StepSeparator</lhs>   
   <rhs>'/' |    
        <nt def="NT-ComponentAxisSeparator">ComponentAxisSeparator</nt>   
    </rhs>   
</prod>   
   
<prod id="NT-ComponentAxisSeparator"><!--num="10">-->   
   <lhs>ComponentAxisSeparator</lhs>   
   <rhs>'//'</rhs>   
</prod>   
   
<prod id="NT-Step"><!--num="11">-->   
   <lhs>Step</lhs>   
   <rhs><nt def="NT-Axis">Axis</nt>    
        <nt def="NT-NameTest">NameTest</nt>    
        <nt def="NT-Predicate">Predicate</nt>? |   
        <nt def="NT-AbbrevStep">AbbrevStep</nt>    
   </rhs>   
</prod>   
   
<prod id="NT-AbbrevStep"><!--num="12">-->   
   <lhs>AbbrevStep</lhs>   
   <rhs><nt def="NT-AbbrevAttributeStep">AbbrevAttributeStep</nt> |   
        <nt def="NT-AbbrevElementStep">AbbrevElementStep</nt> |   
        <nt def="NT-AbbrevTypeStep">AbbrevTypeStep</nt> |   
        <nt def="NT-AbbrevCurrentComponentStep">AbbrevCurrentComponentStep</nt> |   
   </rhs>   
</prod>   
   
<prod id="NT-AbbrevAttributeStep"><!--num="13">-->   
   <lhs>AbbrevAttributeStep</lhs>   
   <rhs>'@' <nt def="NT-NameTest">NameTest</nt>    
        <nt def="NT-Predicate">Predicate</nt>?   
   </rhs>   
</prod>   
   
<prod id="NT-AbbrevElementStep"><!--num="14">-->   
   <lhs>AbbrevElementStep</lhs>   
   <rhs><nt def="NT-NameTest">NameTest</nt>    
        <nt def="NT-Predicate">Predicate</nt>?    
   </rhs>   
</prod>   
   
<prod id="NT-AbbrevTypeStep"><!--num="15">-->   
   <lhs>AbbrevTypeStep</lhs>   
   <rhs>'~' <nt def="NT-NameTest">NameTest</nt>    
        <nt def="NT-Predicate">Predicate</nt>?   
   </rhs>   
</prod>   
   
<prod id="NT-AbbrevCurrentComponentStep"><!--num="16">-->   
   <lhs>AbbrevCurrentComponentStep</lhs>   
   <rhs>'.' <nt def="NT-Predicate">Predicate</nt>?</rhs>   
</prod>   
   
<prod id="NT-Axis"><!--num="17">-->   
   <lhs>Axis</lhs>   
   <rhs>   
      'schemaAttribute' '::' | 'schemaElement' '::' |    
      'type' '::' |   
      'attributeGroup' '::' | 'group' '::' |   
      'identityConstraint' '::' |   
      'assertion' '::' | 'alternative' '::' |   
      'notation' '::' |   
      'model' '::' |   
      'anyAttribute' '::' | 'any' '::' |   
      'facet' '::' |   
      'scope' '::' | 'context' '::' |   
      'substitutionGroup' '::' |   
      'baseType' '::' | 'itemType' '::' | 'memberType' '::' | 'primitiveType' '::' |    
      'key' '::' |   
      'annotation' '::' |   
      'component' '::' | 'currentComponent' '::' |   
      'attributeUse' '::' | 'particle' '::' |   
      <nt def="NT-ExtensionAxis">ExtensionAxis</nt>   
   </rhs>   
</prod>   
   
   
<prod id="NT-NameTest"><!--num="18">-->   
   <lhs>NameTest</lhs>   
   <rhs><xnt xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.w3.org/TR/REC-xml-names/#NT-QName" xlink:type="simple" xlink:show="new" xlink:actuate="onRequest">QName</xnt> |   
   <nt def="NT-WildcardNameTest">WildcardNameTest</nt> | '0'    
   </rhs>   
</prod>   
   
<prod id="NT-WildcardNameTest"><!--num="19">-->   
   <lhs>WildcardNameTest</lhs>   
   <rhs>'*'</rhs>   
</prod>   
   
<prod id="NT-ExtensionAccessor"><!--num="20">-->   
   <lhs>ExtensionAccessor</lhs>   
   <rhs><xnt xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.w3.org/TR/REC-xml-names/#NT-QName" xlink:type="simple" xlink:show="new" xlink:actuate="onRequest">QName</xnt> '(' ')'</rhs>   
</prod>   
   
<prod id="NT-ExtensionAxis"><!--num="21">-->   
   <lhs>ExtensionAxis</lhs>   
   <rhs><xnt xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.w3.org/TR/REC-xml-names/#NT-QName" xlink:type="simple" xlink:show="new" xlink:actuate="onRequest">QName</xnt> '::'</rhs>   
</prod>   
   
<prod diff="chg" id="NT-Predicate"><!--num="22">--><lhs>Predicate</lhs>   
    <rhs>'[' [0]*[1-9][0-9]* ']'</rhs>   
 </prod>   
</scrap>   
<note><p>The EBNF above defines a syntax for invoking an accessor after the   
last step of the path and for using extension axes.  This syntax is included for   
extensibility. A specification that wishes to make use of these extensions must   
define the detailed syntax and semantics    
(see <specref ref="section-conformance"/>).   
</p></note>   
      </div3>   
      <div3 id="section-path-examples">   
         <head>Examples of Schema Component Paths (Non-Normative)</head>   
<p>The following examples assume the namespace prefixes have been properly   
bound.</p>   
   
<p>A schema component path referring to the type (either simple or complex)   
whose local name is <code>title</code> and which is in the namespace denoted by   
the prefix <code>my</code>:</p>   
<eg xml:space="preserve">/type::my:title</eg>   
<p>A schema component path referring to the globally declared element whose   
local name is <code>title</code> and which is in the namespace denoted by the   
prefix <code>my</code>:</p>   
<eg xml:space="preserve">/schemaElement::my:title</eg>   
<p>A schema component path referring to the globally declared attribute whose   
local name is <code>title</code> and which is in the namespace denoted by the   
prefix <code>my</code>:</p>   
<eg xml:space="preserve">/schemaAttribute::my:title</eg>   
<p>A schema component path referring to the globally declared attribute group   
whose local name is <code>title</code> and which is in the namespace denoted by   
the prefix <code>my</code>:</p>   
<eg xml:space="preserve">/attributeGroup::my:title</eg>   
<p>A schema component path referring to the pattern facet of the globally   
declared simple type whose local name is <code>title</code> which is in the   
namespace denoted by <code>my</code>:   
</p>   
<eg xml:space="preserve">/type::my:title/facet::pattern</eg>   
<p>Given this schema fragment for a schema whose target namespace is denoted by   
the prefix <code>my</code>:</p>   
<eg xml:space="preserve">   
&lt;xs:complexType name="articleType"&gt;   
   &lt;xs:sequence&gt;   
      &lt;xs:element ref="my:section"/&gt;   
      &lt;xs:element name="appendix" type="my:sectionType"/&gt;   
   &lt;/xs:sequence&gt;   
&lt;/xs:complexType&gt;   
   
&lt;xs:element name="chapter"&gt;   
   &lt;xs:complexType&gt;   
      &lt;xs:sequence&gt;   
         &lt;xs:element ref="my:title" minOccurs="0" maxOccurs="unbounded"/&gt;   
         &lt;xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/&gt;   
      &lt;/xs:sequence&gt;   
      &lt;xs:attribute name="name" type="xs:string"/&gt;   
      &lt;xs:anyAttribute namespace="##other" use="optional"/&gt;   
   &lt;/xs:complexType&gt;   
&lt;/xs:element&gt;   
</eg>   
<p>The following schema component path refers to the first element of the named   
complex type:</p>   
<eg xml:space="preserve">/type::my:articleType/model::sequence/schemaElement::my:section</eg>   
<p>And the following schema component path refers to the second:</p>   
<eg xml:space="preserve">/type::my:articleType/model::sequence/schemaElement::my:appendix</eg>   
<p>A schema component path referring to the (anonymous) complex type of the   
globally defined element:</p>   
<eg xml:space="preserve">/schemaElement::my:chapter/type::0</eg>   
<p>A schema component path that refers to the wildcard in the globally defined   
element:</p>   
<eg xml:space="preserve">/schemaElement::my:chapter/type::0/model::sequence/any::*</eg>   
<p>A schema component path that refers to the attribute of the globally defined   
element:</p>   
<eg xml:space="preserve">/schemaElement::my:chapter/type::0/schemaAttribute::name</eg>   
      </div3>   
   
  </div2>   
    <div2 id="section-path-interpret">   
    <head>Interpretation of Schema Component Paths</head>   
<p><termdef id="key-scp" term="schema component path">A   
<term>schema component path</term> selects a sequence of   
schema components in the context of an assembled schema; it is a series   
of <termref def="key-scp-step">steps</termref> separated by    
'<code>/</code>' or '<code>//</code>'.  Complete schema component paths always   
start with either '<code>/</code>' or '<code>//</code>'.    
</termdef>   
</p>   
<p>   
<termdef id="key-scp-step" term="step">A <term>step</term>    
consists of a <termref def="key-scp-axis">schema component   
axis</termref> and a <termref def="key-scp-nametest">schema component name   
test</termref> and    
an optional <termref def="key-scp-pospred">positional predicate</termref>.   
It selects a sequence of schema components that are linked to a   
source component through an arc that matches the axis, pass the name test,   
and are selected by the positional predicate, if any.   
</termdef>   
Schema component axes are described in <specref ref="section-axis"/>.   
</p>   
<p>In general the syntax of a step of the schema component path has the   
following form:   
</p>   
<eg role="syntax" xml:space="preserve">   
<code><var>axis</var>::<var>nametest</var>[<var>predicate</var>]</code>  
</eg>   
<p>The predicate is optional and there are abbreviated forms for some steps.</p>   
   
<p><termdef id="key-scp-nametest" term="schema component name test">A    
<term>schema component name   
test</term> is a condition on name of the components selected by the schema   
component path step.</termdef> A schema component name test    
either gives a localname, possibly with a namespace prefix, or consists of a   
just the wildcard character ('<code>*</code>'), or just the character zero   
('<code>0</code>').   
</p>    
<eg role="syntax" xml:space="preserve"><code><var>prefix</var>:<var>localname</var></code>   
or <code><var>localname</var></code> 
</eg>   
<p>A schema component name test of this form is true if the QName formed from   
the namespace name and local name specified in the the schema component name   
test is equal to the value of the component-name() accessor of the schema   
component. For more information on namespace binding for QName interpretation   
see <specref ref="section-namespaces"/>.</p>    
<eg role="syntax" xml:space="preserve">   
<code>0</code>   
</eg>   
<p>A schema component name test of this form is true   
for anonymous type definitions.  An anonymous type definition's   
component-name() accessor returns "0".   
This name cannot have any conflict with any possible named component, as 0 is   
not a valid name start character.   
</p>   
<eg role="syntax" xml:space="preserve">   
<code>*</code>   
</eg>   
<p>A schema component name test of this form is true for all linked components   
matching the given axis.</p>   
   
<p><termdef id="key-scp-pospred" term="schema component positional predicate">    
A <term>schema component positional predicate</term> is a condition on the    
relative position of the component in the sequence of matching components from   
the schema component path step.</termdef> A schema component position predicate   
is true if the position of the target component in the sequence of   
components selected by the axis and name test is equal     
to the positive integer given in the predicate.   <phrase diff="add">Counting
starts at 1.</phrase>
</p>   
<eg role="syntax" xml:space="preserve"><code><var>n</var></code></eg>   
   
<p>   
A path consisting of just '<code>/</code>' selects the schema description   
component.    
</p>   
<p>   
A path of the form <code>/<var>S1</var></code> selects    
components linked to the schema description component in accordance with the   
step <code><var>S1</var></code>.   
</p>   
<p>   
A path of the form <code><var>S1</var>/<var>S2</var></code> is interpreted    
by gathering the sequence of source components and then selecting any    
schema component that is linked to one of the source components in accordance   
with the step <code><var>S2</var></code>.  The sequence of source components   
consists of the sequence of components selected by <code><var>S1</var></code>   
followed by the components selected by the elided-component   
axis on those components.   
</p>   
<p>   
A path of the form <code><var>S1</var>//<var>S2</var></code> is also   
interpreted by gathering the sequence of source components and then selecting   
any schema component that is linked to one of the source components in   
accordance with the step <code><var>S2</var></code>.  In this case the   
sequence of source components consists of the sequence of components selected   
by <code><var>S1</var></code> followed by the application of    
the component axis on members of that sequence.   
</p>   
<p>A path of the form <code><var>S1</var></code> selects all schema components   
linked to the initial source component in accordance with the step   
<code><var>S1</var></code>.    
</p>   
<p>Implementations will have to exercise care to   
properly handle circularities in the component graph in determining the set of   
components matched by a path.   
</p>   
<div3 id="section-incomplete-paths">   
<head>Incomplete Schema Component Paths</head>   
<p>Incomplete schema component paths may be constructed starting at   
some specific source component following the construction rules given here.   
Such paths will not start with a leading slash. Correct interpretation of   
such incomplete (relative) paths depends on the initial source component.   
External specifications sanctioning relative schema component paths must   
therefore define the initial source component to use to interpret the schema   
component path.  In this specification, "schema component path"   
always refers to a complete schema component path starting at the root   
schema description component, unless explicitly stated otherwise.    
</p>   
<p>To emphasize the incompleteness of such paths, the current component step   
syntax may be used (<code>.</code>) for the head step. For example, if   
the initial source component is a complex type, the following paths are   
equivalent and   
designate the element declaration with the QName <code>my:section</code>   
within the sequence model group of that type:   
</p>   
<eg xml:space="preserve">model::sequence/schemaElement::my:section</eg>   
<eg xml:space="preserve">./model::sequence/schemaElement::my:section</eg>   
</div3>   
<div3 id="section-namespaces">   
<head>Namespaces</head>   
<p>Schema component paths use QNames to refer to schema components.   
Interpretation of these QNames therefore depends on namespace bindings.   
When schema component paths are used in the context of schema component   
designators (<specref ref="section-scds"/>), the <code>xmlns()</code> XPointer   
scheme defines those namespace bindings.  In the context of an XML document the   
namespace prefixes will be bound in the conventional way (using the [in-scope&#xA0;namespaces] property of the element information item). Other host languages and   
some XML applications will define their own namespace binding rules.    
While the <code>xmlns()</code> scheme does not provide for defining a   
default namespace, other mechanisms may do so.  In such contexts, schema   
component paths allow and apply the default namespace.   
</p>   
<p>Note also that the <code>form</code> (and <code>elementFormDefault</code>   
and <code>attributeFormDefault</code>) values apply as well. Since, for example,   
a local attribute declaration component with the form <code>unqualified</code>   
will have an empty <code>{target namespace}</code>, the QName for that   
declaration will have no prefix.   
</p>    
<p>For example, consider the path:</p>   
<eg xml:space="preserve">//quantity</eg>    
<p>This path   
designates global or local element declarations whose local   
name is <code>quantity</code> and which are either in no   
namespace, are local elements whose form is <code>unqualified</code>,   
or are in the default namespace (assuming there is a such a namespace   
binding).</p>    
   
<p>For types, form is not relevant.</p>   
<eg xml:space="preserve">/~Items//quantity</eg>   
<p>This path designates global or local element declarations whose local name   
is <code>quantity</code>, where these declarations   
are in the subgraph represented by the global complex type component whose   
local name is <code>Items</code>.  As in the previous   
example, the element declaration may either be in schema with no target   
namespace, in the default namespace, or a local element declaration with the   
form <code>unqualified</code>. The complex type <code>Items</code> must be in    
the default namespace or in a schema with no target namespace.   
</p>   
   
<p>This path designates global or local attribute    
declarations whose local name is <code>partNum</code> where these declarations   
are in the subgraph represented by the global complex type component whose   
local name is <code>Items</code>.  Again, the complex type is either in the   
default namespace or in a schema with no target namespace, and the attribute   
declaration must be global attributes in a schema with no target namespace, in   
the default namespace, or be local declarations with the form   
<code>unqualified</code>.    
</p>    
<eg xml:space="preserve">/~Items//@partNum</eg>   
</div3>   
</div2>   
<div2 id="section-axis">   
<head>Schema Component Path Axes</head>   
<p>   
<termdef id="key-scp-axis" term="axis">A schema component path <term>axis</term>   
contains specific components linked to the   
current context component through certain kinds of arcs.   
Unless otherwise indicated, an axis applied to   
a component that has no arc of the required kind designates no components.   
</termdef>   
</p>   
<div3 id="section-axis-currentComponent">   
<head>The currentComponent Axis</head>   
<p><termdef id="axis-currentComponent" term="currentComponent axis">The   
<term><phrase><code>currentComponent</code></phrase></term> axis contains the current component.   
</termdef>   
</p>   
<scrap headstyle="show">   
<head/>   
<prod id="NT-CurrentComponentAxis"><!--num="23">--><lhs>CurrentComponentAxis</lhs><rhs>'currentComponent' '::</rhs></prod>   
<prodrecap ref="NT-AbbrevCurrentComponentStep"/>   
</scrap>   
</div3>   
   
<div3 id="section-axis-annotation">   
<head>The annotation Axis</head>   
<p><termdef id="axis-annotation" term="annotation axis">The   
<term><phrase><code>annotation</code></phrase></term> axis contains annotation    
components linked to the current component through {annotation} or   
{annotations} arcs, which are the components returned   
by the annotations() accessor.   
</termdef>   
</p>   
<scrap headstyle="show">   
<head/>   
<prod id="NT-AnnotationAxis"><!--num="24">--><lhs>AnnotationAxis</lhs><rhs>'annotation' '::'</rhs></prod>   
</scrap>   
</div3>   
   
<div3 id="section-axis-schemaAttribute">   
<head>The schemaAttribute Axis</head>   
<p><termdef id="axis-schemaAttribute" term="schemaAttribute axis">The    
<term><phrase><code>schemaAttribute</code></phrase></term> axis contains attribute   
declaration components linked to the current component through   
{attribute declaration} or {attribute declarations} arcs,   
which are those components returned by the component-linked() accessor whose   
component-kind() is equal to <code><phrase diff="add">xscd:</phrase>attribute-declaration</code>.   
</termdef>   
</p>   
<scrap headstyle="show">   
<head/>   
<prod id="NT-SchemaAttributeAxis"><!--num="25">--><lhs>SchemaAttributeAxis</lhs><rhs>'schemaAttribute' '::'</rhs></prod>   
<prodrecap ref="NT-AbbrevAttributeStep"/>   
</scrap>   
</div3>   
   
<div3 id="section-axis-schemaElement">   
<head>The schemaElement Axis</head>   
<p><termdef id="axis-schemaElement" term="schemaElement axis">The   
<term><phrase><code>schemaElement</code></phrase></term> axis contains element    
declaration components linked to the current component through   
{element declarations}, {term}, {particle},   
{particles}, or {content type}, which are the components returned by the   
term() accessor whose component-kind() is equal to   
<code><phrase diff="add">xscd:</phrase>element-declaration</code>, together with {element declarations}.   
</termdef>   
</p>   
<scrap headstyle="show">   
<head/>   
<prod id="NT-SchemaElementAxis"><!--num="26">--><lhs>SchemaElementAxis</lhs><rhs>'schemaElement' '::'</rhs></prod>   
<prodrecap ref="NT-AbbrevElementStep"/>   
</scrap>   
</div3>   
   
<div3 id="section-axis-type">   
<head>The type Axis</head>   
<p><termdef id="axis-type" term="type axis">The <term><phrase><code>type</code></phrase></term>   
axis contains simple type definition    
and complex type definition components linked to the current component through   
{type definition}, {type definitions}, {content type},   
or {simple type definition} arcs, which are the components    
returned by the component-children() accessor whose    
component-kind() is equal to either   
<code><phrase diff="add">xscd:</phrase>complex-type-definition</code> or    
<code><phrase diff="add">xscd:</phrase>simple-type-definition</code>.</termdef>   
</p>   
<scrap headstyle="show">   
<head/>   
<prod id="NT-TypeAxis"><!--num="27">--><lhs>TypeAxis</lhs><rhs>'type' '::'</rhs></prod>   
<prodrecap ref="NT-AbbrevTypeStep"/>   
</scrap>   
</div3>   
   
<div3 id="section-axis-agroup">   
<head>The attributeGroup Axis</head>   
<p><termdef id="axis-attributeGroup" term="attributeGroup axis">The   
<term><phrase><code>attributeGroup</code></phrase></term> axis contains     
attribute group definition components linked to the current component through   
{attribute group definitions} arcs, which are those components   
returned by the component-linked() accessor whose component-kind() is equal to   
<code><phrase diff="add">xscd:</phrase>attribute-group-definition</code>.</termdef>    
</p>   
<scrap headstyle="show">   
<head/>   
<prod id="NT-AttributeGroupAxis"><!--num="28">--><lhs>AttributeGroupAxis</lhs><rhs>'attributeGroup' '::'</rhs></prod>   
</scrap>   
</div3>   
   
<div3 id="section-axis-groupdef">   
<head>The group Axis</head>   
<p><termdef id="axis-group" term="group axis">The   
<term><phrase><code>group</code></phrase></term> axis contains     
model group definition components linked to the current component through   
{model group definitions} arcs, which are those components returned   
by the component-linked() accessor whose component-kind() is equal to   
<code><phrase diff="add">xscd:</phrase>model-group-definition</code>.    
</termdef>   
</p>   
<scrap headstyle="show">   
<head/>   
<prod id="NT-GroupAxis"><!--num="29">--><lhs>GroupAxis</lhs><rhs>'group' '::'</rhs></prod>   
</scrap>   
</div3>   
   
<div3 id="section-axis-idc">   
<head>The identityConstraint Axis</head>   
<p><termdef id="axis-identityConstraint" term="identityConstraint axis">The   
<term><phrase><code>identityConstraint</code></phrase></term> axis contains    
identity constraint definition components linked to the current component   
through {identity constraint definitions} arcs, which are those   
components returned by the component-linked() accessor whose component-kind()   
is equal to <code><phrase diff="add">xscd:</phrase>identity-constraint-definition</code>.   
</termdef>   
</p>   
<scrap headstyle="show">   
<head/>   
<prod id="NT-IdentityConstraintAxis"><!--num="30">--><lhs>IdentityConstraintAxis</lhs><rhs>'identityConstraint' '::'</rhs></prod>   
</scrap>   
</div3>   
   
<div3 id="section-axis-assertion">   
<head>The assertion Axis</head>   
<p><termdef id="axis-assertion" term="assertion axis">The   
<term><phrase><code>assertion</code></phrase></term> axis contains    
assertion components linked to the current component   
through {assertions}, {value}, or {facets} arcs, which are those components   
returned by the assertions() accessor.</termdef>   
</p>   
<scrap headstyle="show">   
<head/>   
<prod id="NT-AssertionAxis"><!--num="31">--><lhs>AssertionAxis</lhs><rhs>'assertion' '::'</rhs></prod>   
</scrap>   
</div3>   
   
<div3 id="section-axis-alternative">   
<head>The alternative Axis</head>   
<p><termdef id="axis-alternatives" term="alternative-axis">The    
<term><phrase><code>alternative</code></phrase></term> axis   
contains    
type alternative components linked to the current component   
through {alternatives}, {default type definition}, or {type table} arcs,   
which are those components    
returned by the component-linked() accessor whose component-kind() is   
equal to <code><phrase diff="add">xscd:</phrase>type-alternative</code>.    
</termdef>   
</p>   
<note><p>The {default type definition} of the type alternatives table of an   
element declaration is actually a type alternative component and will be   
selected by the alternative axis. </p></note>   
<scrap headstyle="show">   
<head/>   
<prod id="NT-AlternativeAxis"><!--num="32">--><lhs>AlternativeAxis</lhs><rhs>'alternative' '::'</rhs></prod>   
</scrap>   
</div3>   
   
<div3 id="section-axis-notation">   
<head>The notation Axis</head>   
<p><termdef id="axis-notation" term="notation axis">The   
<term><phrase><code>notation</code></phrase></term> axis contains    
notation declaration components linked to the current component   
through {notation declarations}   
arcs, which are the components returned by the component-linked() accessor   
whose component-kind() is equal to <code><phrase diff="add">xscd:</phrase>notation-declaration</code>.</termdef>   
</p>   
<scrap headstyle="show">   
<head/>   
<prod id="NT-NotationAxis"><!--num="33">--><lhs>NotationAxis</lhs><rhs>'notation' '::'</rhs></prod>   
</scrap>   
</div3>   
   
<div3 id="section-axis-model">   
<head>The model Axis</head>   
<p><termdef id="axis-model" term="model axis">The   
<term><phrase><code>model</code></phrase></term> axis contains    
model group components linked to the current component   
through {model group}, {term}, {particle}, {particles}, or {content type}   
arcs, which are the components returned by the term() accessor   
whose component-kind() is equal to <code><phrase diff="add">xscd:</phrase>model-group</code>.   
</termdef>   
</p>   
<scrap headstyle="show">   
<head/>   
<prod id="NT-ModelAxis"><!--num="34">--><lhs>ModelAxis</lhs><rhs>'model' '::'</rhs></prod>   
</scrap>   
</div3>   
   
<div3 id="section-axis-anyAttribute">   
<head>The anyAttribute Axis</head>   
<p><termdef id="axis-anyAttribute" term="anyAttribute axis">The   
<term><phrase><code>anyAttribute</code></phrase></term> axis contains    
wildcard components linked to the current component   
through {attribute wildcard} arcs.</termdef>   
</p>   
<scrap headstyle="show">   
<head/>   
<prod id="NT-AnyAttributeAxis"><!--num="35">--><lhs>AnyAttributeAxis</lhs><rhs>'anyAttribute' '::'</rhs></prod>   
</scrap>   
</div3>   
   
<div3 id="section-axis-any">   
<head>The any Axis</head>   
<p><termdef id="axis-any" term="any axis">The <term><phrase><code>any</code></phrase></term>   
axis contains    
wildcard components linked to the current component   
through {wildcard}, {term}, {particle}, {particles}, {content type}, or   
{open content} arcs, which is the components returned by the   
term() accessor whose component-kind() is equal to   
<code><phrase diff="add">xscd:</phrase>wildcard</code>. </termdef>   
</p>   
<scrap headstyle="show">   
<head/>   
<prod id="NT-AnyAxis"><!--num="36">--><lhs>AnyAxis</lhs><rhs>'any' '::'</rhs></prod>   
</scrap>   
</div3>   
   
<div3 id="section-axis-facet">   
<head>The facet Axis</head>   
<p><termdef id="axis-facet" term="facet axis">The   
<term><phrase><code>facet</code></phrase></term> axis contains   
facet components linked to the current component   
through {facets} or {fundamental facets} arcs, which is the components returned   
by component-linked() whose component-kind() is equal   
to <code><phrase diff="add">xscd:</phrase>facet</code>.    
</termdef></p>   
<scrap headstyle="show">   
<head/>   
<prod id="NT-FacetAxis"><!--num="37">--><lhs>FacetAxis</lhs><rhs>'facet' '::'</rhs></prod>   
</scrap>   
</div3>   
   
<div3 id="section-axis-scope">   
<head>The scope Axis</head>   
<p><termdef id="axis-scope" term="scope axis">The   
<term><phrase><code>scope</code></phrase></term> axis contains    
complex type definition, attribute group definition, or   
model group definition components linked to the current component   
through {scope} and {parent} arcs, which are the components returned from    
the component-scope() accessor.   
</termdef>   
</p>   
<scrap headstyle="show">   
<head/>   
<prod id="NT-ScopeAxis"><!--num="38">--><lhs>ScopeAxis</lhs><rhs>'scope' '::'</rhs></prod>   
</scrap>   
</div3>   
   
<div3 id="section-axis-context">   
<head>The context Axis</head>   
<p><termdef id="axis-context" term="context axis">The   
<term><phrase><code>context</code></phrase></term> axis contains    
complex type definition, attribute declaration, or   
element declaration components linked to the current component   
through {context} arcs.   
</termdef>   
</p>   
<scrap headstyle="show">   
<head/>   
<prod id="NT-ContextAxis"><!--num="39">--><lhs>ContextAxis</lhs><rhs>'context' '::'</rhs></prod>   
</scrap>   
</div3>   
   
<div3 id="section-axis-substitutionGroup">   
<head>The substitutionGroup Axis</head>   
<p><termdef id="axis-substitutionGroup" term="substitutionGroup axis">The    
<term><phrase><code>substitutionGroup</code></phrase></term> axis contains   
element declaration components linked to the current component   
through {substitution group affiliation} and {substitution group affiliations}    
arcs.   
</termdef>   
</p>   
<scrap headstyle="show">   
<head/>   
<prod id="NT-SubstitutionGroupAxis"><!--num="40">--><lhs>SubstitutionGroupAxis</lhs><rhs>'substitutionGroup' '::'</rhs></prod>   
</scrap>   
</div3>   
   
<div3 id="section-axis-baseType">   
<head>The baseType Axis</head>   
<p><termdef id="axis-baseType" term="baseType axis">The    
<term><phrase><code>baseType</code></phrase></term> axis contains   
simple type definition and complex type definition components linked to the   
current component through {base type definition} arcs.   
</termdef>   
</p>   
<scrap headstyle="show">   
<head/>   
<prod id="NT-BaseTypeAxis"><!--num="41">--><lhs>BaseTypeAxis</lhs><rhs>'baseType' '::'</rhs></prod>   
</scrap>   
</div3>   
   
<div3 id="section-axis-itemType">   
<head>The itemType Axis</head>   
<p><termdef id="axis-itemType" term="itemType axis">The   
<term><phrase><code>itemType</code></phrase></term> axis contains   
simple type definition components linked to the   
current component through {item type definition} arcs.   
</termdef>   
</p>   
<scrap headstyle="show">   
<head/>   
<prod id="NT-ItemTypeAxis"><!--num="42">--><lhs>ItemTypeAxis</lhs><rhs>'itemType' '::'</rhs></prod>   
</scrap>   
</div3>   
   
<div3 id="section-axis-memberType">   
<head>The memberType Axis</head>   
<p><termdef id="axis-memberType" term="memberType axis">The    
<term><phrase><code>memberType</code></phrase></term> axis contains   
simple type definition components linked to the   
current component through {member type definitions}    
arcs. </termdef>   
</p>   
<scrap headstyle="show">   
<head/>   
<prod id="NT-MemberTypeAxis"><!--num="43">--><lhs>MemberTypeAxis</lhs><rhs>'memberType' '::'</rhs></prod>   
</scrap>   
</div3>   
   
<div3 id="section-axis-primitiveType">   
<head>The primitiveType Axis</head>   
<p><termdef id="axis-primitiveType" term="primitiveType axis">The    
<term><phrase><code>primitiveType</code></phrase></term> axis contains   
simple type definition components linked to the   
current component through {primitive type definition}    
arcs.</termdef></p>   
<scrap headstyle="show">   
<head/>   
<prod id="NT-PrimitiveTypeAxis"><!--num="44">--><lhs>PrimitiveTypeAxis</lhs><rhs>'primitiveType' '::'</rhs></prod>   
</scrap>   
</div3>   
   
<div3 id="section-axis-referencedKey">   
<head>The key Axis</head>   
<p><termdef id="axis-key" term="key axis">The <term><phrase><code>key</code></phrase></term>   
axis contains   
identity constraint definition components linked to the   
current component through {referenced key}    
arcs.</termdef>   
</p>   
<scrap headstyle="show">   
<head/>   
<prod id="NT-KeyAxis"><!--num="45">--><lhs>KeyAxis</lhs><rhs>'key' '::'</rhs></prod>   
</scrap>   
</div3>   
   
<div3 id="section-axis-attributeUse">   
<head>The attributeUse Axis</head>   
<p><termdef id="axis-attributeUse" term="attributeUse axis">The   
<term><phrase><code>attributeUse</code></phrase></term> axis contains attribute use components   
linked to the current component through {attribute uses}.   
</termdef>   
</p>   
<scrap headstyle="show">   
<head/>   
<prod id="NT-AttributeUseAxis"><!--num="46">--><lhs>AttributeUseAxis</lhs><rhs>'attributeUse' '::</rhs></prod>   
</scrap>   
</div3>   
   
<div3 id="section-axis-particle">   
<head>The particle Axis</head>   
<p><termdef id="axis-particle" term="particle axis">The   
<term><phrase><code>particle</code></phrase></term> axis contains particle components   
linked to the current component through {particles}.   
</termdef>   
</p>   
<scrap headstyle="show">   
<head/>   
<prod id="NT-ParticleAxis"><!--num="47">--><lhs>ParticleAxis</lhs><rhs>'particle' '::</rhs></prod>   
</scrap>   
</div3>   
   
<div3 id="section-axis-component">   
<head>The component Axis</head>   
<p><termdef id="axis-component" term="component axis">The   
<term><phrase><code>component</code></phrase></term> axis contains the transitive closure of   
schema    
components that are either linked to the schema description component or that   
are linked to current component through default arcs.  That is, it contains    
the transitive   
closure of the component-children() accessor, as well as   
component-linked()    
accessor if the schema description is the current component.   
</termdef></p>   
<scrap headstyle="show">   
<head/>   
<prod id="NT-ComponentAxis"><!--num="48">--><lhs>ComponentAxis</lhs><rhs>'component' '::'</rhs></prod>   
<prodrecap ref="NT-ComponentAxisSeparator"/>   
</scrap>   
</div3>   
   
<div3 id="section-axis-elided-component">   
<head>The elided-component Axis</head>   
<p><termdef id="axis-elided-component" term="elided-component axis">The    
<term><phrase><code>elided-component</code></phrase></term> axis contains complex type   
definitions    
linked to the current component through the {type definition} arc and the   
transitive closure of all model group components linked to the current   
component. That is, it contains the transitive closure of components returned   
from the term() accessor whose component-kind() is equal to   
<code><phrase diff="add">xscd:</phrase>model-group</code>, as well as components linked to the current component   
through the {type definition} arc.   
</termdef>   
</p>   
<p>There is no syntax for this axis: it is used to define the semantics of   
certain paths.</p>   
</div3>   
</div2>   
<div2 id="section-accessors">   
<head>Accessors</head>   
<p>A set of accessors is defined on schema components.  For consistency, each   
accessor is defined for every kind of schema component,   
although several accessors return a constant empty value on some kinds of   
schema components.</p>   
<p>Where accessors return sequences, the order of components   
accessed on one arc is as defined by the schema component model.  Components   
accessed through default arcs precede components accessed through non-default   
arcs.  Components are otherwise ordered as if arcs were accessed in the   
following order:    
</p>   
<ulist>   
<item><p>{type definitions}</p></item>   
<item><p>{type definition}</p></item>   
<item><p>{base type definition}</p></item>   
<item><p>{item type definition}</p></item>   
<item><p>{member type definitions}</p></item>   
<item><p>{primitive type definition}</p></item>   
<item><p>{type table}</p></item>   
<item><p>{alternatives}</p></item>   
<item><p>{default type definition}</p></item>   
<item><p>{simple type definition}</p></item>   
<item><p>{element declarations}</p></item>   
<item><p>{substitution group affiliations}</p></item>   
<item><p>{substitution group affiliation}</p></item>   
<item><p>{attribute declarations}</p></item>   
<item><p>{attribute declaration}</p></item>   
<item><p>{model group definitions}</p></item>   
<item><p>{attribute group definitions}</p></item>   
<item><p>{scope}</p></item>   
<item><p>{parent}</p></item>   
<item><p>{context}</p></item>   
<item><p>{content type}</p></item>   
<item><p>{particles}</p></item>   
<item><p>{particle}</p></item>   
<item><p>{term}</p></item>   
<item><p>{model group}</p></item>   
<item><p>{attribute uses}</p></item>   
<item><p>{open content}</p></item>   
<item><p>{wildcard}</p></item>   
<item><p>{attribute wildcard}</p></item>   
<item><p>{identity constraint definitions}</p></item>   
<item><p>{referenced key}</p></item>   
<item><p>{assertions}</p></item>   
<item><p>{notation declarations}</p></item>   
<item><p>{facets}</p></item>   
<item><p>{fundamental facets}</p></item>   
<item><p>{annotation}</p></item>   
<item><p>{annotations}</p></item>   
</ulist>   
<div3 id="accessor-component-kind">   
<head>component-kind Accessor</head>   
<p>The component-kind accessor returns <phrase
diff="del">a string</phrase><phrase diff="add">an &expanded-name;</phrase>
identifying the kind of the schema component. </p>   
   
<table border="0" cellspacing="5" summary="component-kind accessor details">   
<thead><tr><th align="left" rowspan="1" colspan="1">Component</th><th align="left" rowspan="1" colspan="1">Result of component-kind()</th></tr></thead>   
<tbody>   
<tr><td valign="top" rowspan="1" colspan="1">Attribute Declaration</td><td valign="top" rowspan="1" colspan="1"><phrase diff="add">xscd:</phrase>attribute-declaration</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Element Declaration</td><td valign="top" rowspan="1" colspan="1"><phrase diff="add">xscd:</phrase>element-declaration</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Complex Type Definition</td><td valign="top" rowspan="1" colspan="1"><phrase diff="add">xscd:</phrase>complex-type-definition</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Attribute Use</td><td valign="top" rowspan="1" colspan="1"><phrase diff="add">xscd:</phrase>attribute-use</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Attribute Group Definition</td><td valign="top" rowspan="1" colspan="1"><phrase diff="add">xscd:</phrase>attribute-group-definition</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Model Group Definition</td><td valign="top" rowspan="1" colspan="1"><phrase diff="add">xscd:</phrase>model-group-definition</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Model Group</td><td valign="top" rowspan="1" colspan="1"><phrase diff="add">xscd:</phrase>model-group</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Particle</td><td valign="top" rowspan="1" colspan="1"><phrase diff="add">xscd:</phrase>particle</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Wildcard</td><td valign="top" rowspan="1" colspan="1"><phrase diff="add">xscd:</phrase>wildcard</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Identity‑Constraint Definition</td><td valign="top" rowspan="1" colspan="1"><phrase diff="add">xscd:</phrase>identity-constraint-definition</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Type Alternative</td><td valign="top" rowspan="1" colspan="1"><phrase diff="add">xscd:</phrase>type-alternative</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Assertion</td><td valign="top" rowspan="1" colspan="1"><phrase diff="add">xscd:</phrase>assertion</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Notation Declaration</td><td valign="top" rowspan="1" colspan="1"><phrase diff="add">xscd:</phrase>notation-declaration</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Annotation</td><td valign="top" rowspan="1" colspan="1"><phrase diff="add">xscd:</phrase>annotation</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Schema</td><td valign="top" rowspan="1" colspan="1"><phrase diff="add">xscd:</phrase>schema</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Simple Type Definition</td><td valign="top" rowspan="1" colspan="1"><phrase diff="add">xscd:</phrase>simple-type-definition</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Constraining Facet</td><td valign="top" rowspan="1" colspan="1"><phrase diff="add">xscd:</phrase>facet</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Fundamental Facet</td><td valign="top" rowspan="1" colspan="1"><phrase diff="add">xscd:</phrase>facet</td></tr>   
</tbody>   
</table>   
</div3>   
   
<div3 id="accessor-component-name">   
<head>component-name Accessor</head>   
<p>The component-name accessor returns zero or one xs:QName values giving the   
name of the component.</p>   
<table border="0" cellspacing="5" summary="component-name accessor details">   
<thead>   
<tr><th align="left" valign="top" rowspan="1" colspan="1">Component</th><th align="left" valign="top" rowspan="1" colspan="1">Result of component-name()</th></tr>   
</thead>   
<tbody>   
<tr><td valign="top" rowspan="1" colspan="1">Attribute Declaration</td><td valign="top" rowspan="1" colspan="1">the xs:QName formed   
from the {name} and {target namespace} properties</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Element Declaration</td><td valign="top" rowspan="1" colspan="1">the xs:QName formed   
from the {name} and {target namespace} properties</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Complex Type Definition</td><td valign="top" rowspan="1" colspan="1">the xs:QName   
formed from the {name} and {target namespace} properties; "0", if   
{name} is absent</td></tr>    
<tr><td valign="top" rowspan="1" colspan="1">Attribute Use</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Attribute Group Definition</td><td valign="top" rowspan="1" colspan="1">the xs:QName   
formed from the {name} and {target namespace} properties</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Model Group Definition</td><td valign="top" rowspan="1" colspan="1">the xs:QName formed   
from the {name} and {target namespace} properties</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Model Group</td><td valign="top" rowspan="1" colspan="1">the xs:QName formed from   
an empty namespace name and the value of the component-variety() accessor as   
the local name</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Particle</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Wildcard</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Identity‑Constraint Definition</td><td valign="top" rowspan="1" colspan="1">the xs:QName   
formed from the {name} and {target namespace} properties</td></tr>    
<tr><td valign="top" rowspan="1" colspan="1">Assertion</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Type Alternative</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Notation Declaration</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Annotation</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Schema</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Simple Type Definition</td><td valign="top" rowspan="1" colspan="1">the xs:QName formed   
from the {name} and {target namespace} properties; "0", if {name} is   
absent    
</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Constraining Facet</td><td valign="top" rowspan="1" colspan="1">the xs:QName   
formed with an empty namespace name and the value of the component-variety()   
accessor as the local name</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Fundamental Facet</td><td valign="top" rowspan="1" colspan="1">the xs:QName formed   
with an empty namespace name and the value of the component-variety() accessor   
as the local name</td></tr>   
</tbody>   
</table>   
</div3>   
<div3 id="accessor-component-variety">   
<head>component-variety Accessor</head>   
<p>The component-variety accessor returns zero or one strings identifying the   
specific variety of that component kind.   
</p>   
<table border="0" cellspacing="5" summary="component-variety accessor details">   
<thead>   
<tr><th align="left" valign="top" rowspan="1" colspan="1">Component</th><th align="left" valign="top" rowspan="1" colspan="1">Result of component-variety()</th></tr>   
</thead>   
<tbody>   
<tr><td valign="top" rowspan="1" colspan="1">Attribute Declaration</td><td valign="top" rowspan="1" colspan="1">   
"global"   
if {scope} is "global" or if the value of the   
{variety} property of {scope} is "global" (1.1);    
"local" otherwise</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Element Declaration </td><td valign="top" rowspan="1" colspan="1">"global"   
if {scope} is "global" or if the value of the {variety} property of {scope} is   
"global" (1.1);    
"local" otherwise</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Complex Type Definition</td><td valign="top" rowspan="1" colspan="1">the value of   
the {variety} property of the {content type} (1.1). Under the XML Schema 1.0   
component model, there is no such property; instead returns "empty"   
if the {content type} property has the value "empty",   
"simple" if the {content type} property has a simple type declaration   
as its value, "element-only" or "mixed" if the {content type} has a pair as a   
value and that string is a member of the pair</td></tr>    
<tr><td valign="top" rowspan="1" colspan="1">Attribute Use </td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Attribute Group Definition</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Model Group Definition </td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Model Group </td><td valign="top" rowspan="1" colspan="1">the value of the   
{compositor} property, one of "sequence", "choice", and "all"</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Particle</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Wildcard</td><td valign="top" rowspan="1" colspan="1">the value of the    
{process contents} property, one of "strict", "lax", and "skip"   
</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Identity‑Constraint Definition </td><td valign="top" rowspan="1" colspan="1">the value   
of the {identity-constraint category} property, one of "key",   
"keyref", and "unique"</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Type Alternative</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Assertion</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Notation Declaration </td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Annotation </td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Schema</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Simple Type Definition</td><td valign="top" rowspan="1" colspan="1">the value of the   
{variety} property, one of "atomic", "union", and "list"</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Constraining Facet</td><td valign="top" rowspan="1" colspan="1">the facet variety,   
e.g. "minLength" for the minLength facet, and so on</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Fundamental Facet</td><td valign="top" rowspan="1" colspan="1">the facet variety,   
e.g. "numeric" for the numeric facet, and so on</td></tr>   
</tbody>   
</table>   
</div3>   
   
<div3 id="accessor-component-children">   
<head>component-children Accessor</head>   
<p>The component-children accessor returns a sequence of schema components   
consisting of all the components immediately accessible through default axes,   
skipping minor components that produce no steps in the schema component path.   
</p>   
   
<table border="0" cellspacing="5" summary="component-children accessor details">   
<thead>   
<tr><th align="left" valign="top" rowspan="1" colspan="1">Component</th><th align="left" valign="top" rowspan="1" colspan="1">Result of component-children()</th></tr>   
</thead>   
<tbody>   
<tr><td valign="top" rowspan="1" colspan="1">Attribute Declaration</td><td valign="top" rowspan="1" colspan="1">the value of {type definition}</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Element Declaration </td><td valign="top" rowspan="1" colspan="1">the value of {type definition}</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Complex Type Definition</td><td valign="top" rowspan="1" colspan="1">   
the value of {attribute uses} and;   
if the value of the component-variety() accessor is "empty" then empty,   
if the value of the component-variety() accessor is "simple" then the value of   
{simple type definition} (1.1) or the value of {content type} (1.0);    
otherwise the value of the term() accessor   
</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Attribute Use </td><td valign="top" rowspan="1" colspan="1">the value of {attribute declaration}</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Attribute Group Definition</td><td valign="top" rowspan="1" colspan="1">the    
value {attribute declaration} for each Attribute Use in {attribute uses}   
</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Model Group Definition </td><td valign="top" rowspan="1" colspan="1">the value of   
{model group}</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Model Group </td><td valign="top" rowspan="1" colspan="1">the value of   
the {term} of each Particle in {particles}</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Particle</td><td valign="top" rowspan="1" colspan="1">the value of {term}</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Wildcard</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Identity‑Constraint Definition </td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Type Alternative</td><td valign="top" rowspan="1" colspan="1">the value of {type definition}</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Assertion</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Notation Declaration </td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Annotation </td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Schema</td><td valign="top" rowspan="1" colspan="1">the value of {element declarations}</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Simple Type Definition</td><td valign="top" rowspan="1" colspan="1">the value of {facets}</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Constraining Facet</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Fundamental Facet</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
</tbody>   
</table>   
</div3>   
<div3 id="accessor-component-linked">   
<head>component-linked Accessor</head>   
<p>The component-linked accessor returns a sequence of schema components   
immediately accessible using any axis, skipping minor components that produce   
no steps in the schema component path.   
</p>   
   
<table border="0" cellspacing="5" summary="component-linked accessor details">   
<thead>   
<tr><th align="left" valign="top" rowspan="1" colspan="1">Component</th><th align="left" valign="top" rowspan="1" colspan="1">Result of component-linked()</th></tr>   
</thead>   
<tbody>   
<tr><td valign="top" rowspan="1" colspan="1">Attribute Declaration</td><td valign="top" rowspan="1" colspan="1">   
the value of the component-children() and annotations() accessors,    
together with the {scope} (1.0) or the {parent} of {scope} (1.1)    
</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Element Declaration</td><td valign="top" rowspan="1" colspan="1">   
the value of the component-children() and annotations() accessors,   
together with the value of {scope} and {substitution group affiliation}    
(1.0) or the value of {substitution group affiliations}, the value of the   
{parent} of {scope},    
the value of the {alternatives} and {default type definition} of {type table}   
(1.1), along with the value of {identity constraint definitions}   
</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Complex Type Definition</td><td valign="top" rowspan="1" colspan="1">   
the value of component-children() and annotations() accessors,   
together with the value of {base type definition}, {context},    
{attribute wildcard}, and {assertions} and the value of {wildcard} of    
{open content} of {content type}   
</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Attribute Use</td><td valign="top" rowspan="1" colspan="1">   
the value of the component-children() and annotations() accessors   
</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Attribute Group Definition</td><td valign="top" rowspan="1" colspan="1">the    
value of the component-children() and annotations() accessors,   
as well as the value of {attribute wildcard}   
</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Model Group Definition </td><td valign="top" rowspan="1" colspan="1">   
the value of the component-children() and annotations() accessors   
</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Model Group</td><td valign="top" rowspan="1" colspan="1">the value of   
the component-children() and annotations() accessors</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Particle</td><td valign="top" rowspan="1" colspan="1">the value of the   
component-children() accessor</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Wildcard</td><td valign="top" rowspan="1" colspan="1">the value of the   
annotations() accessor</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Identity‑Constraint Definition </td><td valign="top" rowspan="1" colspan="1">the value of the annotations() accessor, together with the value   
of {referenced key}</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Type Alternative</td><td valign="top" rowspan="1" colspan="1">the value of   
the component-childrenl() and annotations() accessors</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Assertion</td><td valign="top" rowspan="1" colspan="1">the value of the   
annotations() accessor</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Notation Declaration</td><td valign="top" rowspan="1" colspan="1">the value of   
the annotations() accessor</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Annotation</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Schema</td><td valign="top" rowspan="1" colspan="1">   
the value of the component-children() and annotations() accessors, as well as   
the value of {type definitions}, {attribute declarations}, {attribute group   
definitions}, {model group definitions}, {notation declarations}, and   
{identity-constraint definitions}</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Simple Type Definition</td><td valign="top" rowspan="1" colspan="1">the value of   
the component-children() and annotations() accessors, together with the value   
of {context}, {base type definition}, {fundamental facets}, {primitive type   
definition}, {item type definition}, and {member type definitions}</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Constraining Facet</td><td valign="top" rowspan="1" colspan="1">the value of the   
annotations() accessor, together with the value of {value} in the case that the   
facet is the "assertions" facet</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Fundamental Facet</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
</tbody>   
</table>   
</div3>   
   
<div3 id="accessor-term">   
<head>term Accessor</head>   
<p>The term accessor returns term components linked through the   
{model group} or {term} arcs, possibly via {particle}, {particles}, or {content   
type} arcs.</p>    
   
<table border="0" cellspacing="5" summary="term accessor details">   
<thead>   
<tr><th align="left" valign="top" rowspan="1" colspan="1">Component</th><th align="left" valign="top" rowspan="1" colspan="1">Result of term()</th></tr>   
</thead>   
<tbody>   
<tr><td valign="top" rowspan="1" colspan="1">Attribute Declaration</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Element Declaration</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Complex Type Definition</td><td valign="top" rowspan="1" colspan="1">   
the value of {term} of {particle} of {content type} (1.1) or the value of   
{term} of {content type} (1.0),    
together with the value of {wildcard} of    
{open content} of {content type}   
</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Attribute Use</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Attribute Group Definition</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Model Group Definition</td><td valign="top" rowspan="1" colspan="1">value of {model group}</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Model Group</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Particle</td><td valign="top" rowspan="1" colspan="1">the value of {term}</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Wildcard</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Identity‑Constraint Definition</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Type Alternative</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Assertion</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Notation Declaration</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Annotation</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Schema</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Simple Type Definition</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Constraining Facet</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Fundamental Facet</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
</tbody>   
</table>   
</div3>   
   
<div3 id="accessor-component-scope">   
<head>component-scope Accessor</head>   
<p>The component-scope accessor returns components linked through the   
{scope} possibly via {parent} arcs.</p>    
   
<table border="0" cellspacing="5" summary="component-scope accessor details">   
<thead>   
<tr><th align="left" valign="top" rowspan="1" colspan="1">Component</th><th align="left" valign="top" rowspan="1" colspan="1">Result of component-context()</th></tr>   
</thead>   
<tbody>   
<tr><td valign="top" rowspan="1" colspan="1">Attribute Declaration</td><td valign="top" rowspan="1" colspan="1">   
if component-variety() is "global" then empty; otherwise   
the value of {parent} of {scope} (1.1) or the value of {scope} (1.0)   
</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Element Declaration</td><td valign="top" rowspan="1" colspan="1">   
if component-variety() is "global" then empty; otherwise   
the value of {parent} of {scope} (1.1) or the value of {scope} (1.0)   
</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Complex Type Definition</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Attribute Use</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Attribute Group Definition</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Model Group Definition</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Model Group</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Particle</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Wildcard</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Identity‑Constraint Definition</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Type Alternative</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Assertion</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Notation Declaration</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Annotation</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Schema</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Simple Type Definition</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Constraining Facet</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Fundamental Facet</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
</tbody>   
</table>   
</div3>   
   
<div3 id="accessor-assertions">   
<head>assertions Accessor</head>   
<p>The assertions accessor returns assertions components linked through the   
{assertions} or {value} arcs. The assertions   
accessor is always empty for the 1.0 schema component model.</p>    
   
<table border="0" cellspacing="5" summary="assertions accessor details">   
<thead>   
<tr><th align="left" valign="top" rowspan="1" colspan="1">Component</th><th align="left" valign="top" rowspan="1" colspan="1">Result of assertions()</th></tr>   
</thead>   
<tbody>   
<tr><td valign="top" rowspan="1" colspan="1">Attribute Declaration</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Element Declaration</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Complex Type Definition</td><td valign="top" rowspan="1" colspan="1">the value of {assertions}</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Attribute Use</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Attribute Group Definition</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Model Group Definition</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Model Group</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Particle</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Wildcard</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Identity‑Constraint Definition</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Type Alternative</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Assertion</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Notation Declaration</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Annotation</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Schema</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Simple Type Definition</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Constraining Facet</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Fundamental Facet</td><td valign="top" rowspan="1" colspan="1">empty unless   
the facet name is "assertions"; the value of {value} otherwise</td></tr>   
</tbody>   
</table>   
</div3>   
   
<div3 id="accessor-annotations">   
<head>annotations Accessor</head>   
<p>The annotations accessor returns annotations components linked through the   
{annotation} or {annotations} arc.   
</p>   
   
<table border="0" cellspacing="5" summary="annotations accessor details">   
<thead>   
<tr><th align="left" valign="top" rowspan="1" colspan="1">Component</th><th align="left" valign="top" rowspan="1" colspan="1">Result of annotations()</th></tr>   
</thead>   
<tbody>   
<tr><td valign="top" rowspan="1" colspan="1">Attribute Declaration</td><td valign="top" rowspan="1" colspan="1">the value of   
{annotation} (1.0) or {annotations} (1.1)</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Element Declaration</td><td valign="top" rowspan="1" colspan="1">the value of   
{annotation} (1.0) or {annotations} (1.1)</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Complex Type Definition</td><td valign="top" rowspan="1" colspan="1">   
the value of {annotations}   
</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Attribute Use</td><td valign="top" rowspan="1" colspan="1">the value of   
{annotations}</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Attribute Group Definition</td><td valign="top" rowspan="1" colspan="1">the value of {annotation} (1.0) or {annotations} (1.1)</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Model Group Definition</td><td valign="top" rowspan="1" colspan="1">the   
value of {annotation} (1.0) or {annotations} (1.1)</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Model Group</td><td valign="top" rowspan="1" colspan="1">the value of   
{annotation} (1.0) or {annotations} (1.1)</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Particle</td><td valign="top" rowspan="1" colspan="1">the value of {annotations}</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Wildcard</td><td valign="top" rowspan="1" colspan="1">the value of {annotation}   
(1.0) or {annotations} (1.1)</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Identity‑Constraint Definition</td><td valign="top" rowspan="1" colspan="1">the value of {annotation} (1.0) or {annotations} (1.1)</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Type Alternative</td><td valign="top" rowspan="1" colspan="1">the value of {annotations}</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Assertion</td><td valign="top" rowspan="1" colspan="1">the value of {annotations}</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Notation Declaration</td><td valign="top" rowspan="1" colspan="1">the value   
of {annotation} (1.0) or {annotations} (1.1)</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Annotation</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Schema</td><td valign="top" rowspan="1" colspan="1">the value of {annotations}</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Simple Type Definition</td><td valign="top" rowspan="1" colspan="1">the   
value of {annotation} (1.0) or {annotations} (1.1)</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Constraining Facet</td><td valign="top" rowspan="1" colspan="1">the value of   
{annotation} (1.0) or {annotations} (1.1)</td></tr>   
<tr><td valign="top" rowspan="1" colspan="1">Fundamental Facet</td><td valign="top" rowspan="1" colspan="1">empty</td></tr>   
</tbody>   
</table>   
</div3>   
</div2>   
   
<div2 id="section-canonical-path">   
      <head>Canonical Schema Component Paths</head>   
<p><termdef id="key-canonical-schema-component-path" term="canonical schema component path">The <term>canonical schema   
component path</term> of a component is a distinguished valid component path   
that uniquely identifies that particular component, that has as few steps as   
possible, and that can be deterministically constructed starting from the schema description component, and that contains no   
extension axes or accessors.   
</termdef></p>   
<p>The remainder of this section consists of a constructive definition of   
canonical schema component paths: a path produced by this construction will be   
the canonical one.</p>   
<p><termdef id="key-current-component" term="current schema component">The   
    <term>current schema component</term> is a schema component for which   
    there is a valid canonical path through the schema component graph.</termdef></p>   
   
<p><termdef id="key-target-component" term="target schema component">The   
    <term>target schema component</term> is a schema component linked to the   
    current schema component via one of the schema component properties   
    defined previously.</termdef></p>   
   
<p><termdef id="key-component-relationship" term="component relationship">The   
    <term>component relationship</term> is the name of the schema component   
    property on the current schema component which references the target schema   
    component.   
</termdef></p>   
   
<p><termdef id="key-ancestor-set" term="ancestor set">The   
    <term>ancestor set</term> of the target schema component is the set of schema   
    components on the valid canonical path to the current schema component   
    together with the current schema component.</termdef></p>   
<p><termdef id="key-base-type-set" term="base type set">   
The <term>base type set</term> of a schema component is the set   
consisting of the {base type definition} of that schema component and   
the {base type definition} of every member of the set.   
</termdef></p>   
<p>Constructively,  this set can be computed by adding the   
{base type definition} to the set, and iterating on that type component, until   
you see a component whose {target namespace} property is   
"http://www.w3.org/2001/XMLSchema" and whose {name} property is   
"anyType".   
</p>   
<p><termdef id="key-extended-base-type-set" term="extended base type set">The <term>extended base type   
set</term> of a schema component is   
the set consisting of the {base type definition} of that schema component if   
its {derivation} method is "extension" and the {base type definition} of   
every member of the set whose {derivation} method is "extension".   
</termdef>   
</p>   
   
<p><termdef id="key-base-facet-set" term="base facet set">The <term>base facet set</term> of a schema   
component is the set consisting of all members of the {facets} property of   
members of the base type set of that schema component.</termdef>   
</p>   
<p><termdef id="key-same-facet" term="same (facets)">Two facets are <term>the same</term> if they   
are the same kind of component (e.g. both are length facets) and their {value}   
properties have identical values.</termdef></p>   
<p><termdef id="key-base-attribute-use-set" term="base attribute use set">The <term>base attribute use   
set</term> of a schema component is the set consisting of all members of the   
{attribute uses} property of members of the base type set of that schema   
component.</termdef>   
</p>   
<p><termdef id="key-same-attr-uses" term="same (attribute uses)">Two attribute uses are <term>the   
same</term> if the {name} and {target namespace} of their {attribute   
declaration} properties are equal. </termdef>   
</p>   
<p>(Note that this is not equality which requires checking the {type definition}   
as well. However, the rules for component consistency will ensure that   
checking the {name} and {target namespace} suffices for our purposes here.)   
</p>   
   
<p><termdef id="key-particle-set" term="particle set">The <term>particle set</term> of a schema   
component is the set consisting   
of the {content type} of that schema component with the members of the   
{particles} property of the {term} of any member of the set.</termdef>   
</p>   
   
<p><termdef id="key-base-particle-set" term="base particle set">The <term>base particle set</term> of a   
schema component is the union of all particle sets of all the members of the   
extended base type set of that schema component.</termdef>   
</p>   
   
<p><termdef id="key-same-particle" term="same (particles)">Two particles are <term>the same</term> if   
the implementation reports them as the same.</termdef> Informally,   
implementations will report particles that are "inherited" from base types as   
"the same" as the corresponding particle in the base type. Future revisions of   
the XML Schema recommendation will specify more precisely the conditions under   
which particles should be regarded as "the same".   
</p>   
   
<p>Traversal where the current schema component   
    is the schema description   
component to any target schema component   
    is always permitted in the construction of a   
canonical path. If the current schema component is not the schema description   
schema component, then traversal from the current schema component   
to the target schema component is forbidden in the construction of a canonical   
path if any of the following conditions is met:</p>   
<olist>   
<item><p>the target schema component is an identity constraint definition</p></item>   
<item><p>the target schema component is a simple or complex type   
definition whose {name} property is not absent</p></item>   
<item><p>the target schema component is an element or attribute declaration   
whose {scope} property is <code>global</code></p></item>   
<item><p>the target schema component has a {scope} property whose value is a   
schema component and that schema component is not a member of the   
ancestor set of the target schema component</p></item>   
<item><p>the component relationship is {scope},   
{substitution group affiliation},    
{primitive type definition}, or {referenced key}</p></item>   
<item><p>the component relationship is {base type definition}   
and target schema component's {name} property is not absent</p></item>   
<item><p>the target schema component is a facet and there exists some facet in   
its base facet set of the target schema component that is the same as the   
facet</p></item>   
<item><p>the current schema component is a complex type, the target schema   
component is the {attribute declaration} of an attribute use component and there   
exists some attribute use in the base attribute use set of the current   
schema component that is the same as the attribute use whose {attribute   
declaration} is the target schema component</p></item>   
<item><p>the target schema component is the {term} of a particle and there   
exists some particle in the base particle set of the current schema component   
that  is the same as the target schema component</p></item>   
</olist>   
   
<p>Informally, the first two conditions ensure that the canonical path to   
an identity constraint or a named type is the one that flows directly from the   
schema description component, the third condition ensures that the canonical   
path to element and attribute declarations is likewise the global one (if there   
is one), the fourth   
condition accounts for element and attribute declarations stemming from named   
model groups and attribute groups, the fifth and sixth ensure that the   
canonical path doesn't follow "backwards" paths (while accounting for   
redefined types), and the final three   
conditions ensure the canonical path to "inherited" components goes   
through their component of origin.</p>   
   
<p>Because the 1.0 component model provides no reliable   
ordering of annotations, selection of a specific annotation using a numerical   
predicate is forbidden in canonical paths against a 1.0 schema.  For 1.1   
schemas, an individual annotation component is selected using a numerical   
predicate.</p>   
   
<p>In general, it is not possible to obtain the canonical path for a   
schema component without access to the schema component graph. In particular,   
canonicalizing some non-canonical path, or determining whether a schema   
component path is canonical cannot be performed without such access.   
</p>   
<p>For example, consider the path   
<code>/type::x:foo/schemaElement::x:bar</code>.   
</p>   
<p>For this schema fragment, this represents a canonical path to the local   
element <code>bar</code>:</p>   
<eg xml:space="preserve">   
&lt;complexType name="foo"&gt;   
  &lt;sequence&gt;   
     &lt;element name="bar" type="x:barType"/&gt;   
  &lt;/sequence&gt;   
&lt;/complexType&gt;   
</eg>   
<p>But for the following schema fragment,   
the same path   
represents a non-canonical path. The    
canonical path would instead be <code>/group::x:barGroup/schemaElement::x:bar</code>.   
</p>   
<eg xml:space="preserve">   
&lt;group name="barGroup"&gt;   
  &lt;sequence&gt;   
     &lt;element name="bar" type="x:barType"/&gt;   
  &lt;/sequence&gt;   
&lt;/group&gt;   
&lt;complexType name="foo"&gt;   
  &lt;sequence&gt;   
    &lt;group ref="x:barGroup"/&gt;   
  &lt;/sequence&gt;   
&lt;/complexType&gt;   
</eg>   
   
      <div3 id="section-canonical-syntax">   
        <head>Canonical Syntax</head>   
        <p>The concrete syntax allows certain abbreviations, such as   
        eliding the positional predicate where it is   
        unnecessary to distinguish components,    
        wildcarded schema component name tests   
        (<code>*</code>), and abbreviated steps   
        (e.g. <code>@name</code>)    
        .   
        Canonical path syntax forbids all these abbreviations. In addition, the   
        canonical path syntax fixes the namespace prefix, if any, to   
        <code>p</code>. Since at most one namespace can be involved in a   
        canonical schema component path, one prefix suffices.    
        Finally, use of the current component, component, and   
        elided-component axes are disallowed in the canonical path   
        syntax, and the use of the particle and attributeUse axes are   
        disallowed except in the last step of the path.    
        </p>   
      </div3>   
    </div2>   
<div2 id="section-equality-path">   
      <head>Equality of Schema Component Paths</head>   
<p><termdef id="key-equal-path" term="schema component paths are equal">Two <term>schema component paths are   
equal</term> if they have the same number of   
steps, and each step in one path is equal to the corresponding   
step in the other. Steps are equal if they have the same   
axis, name test (namespace and local name, or wildcard), and predicate.   
.</termdef>   
</p>   
<p>Note: This definition of equality neither relies on the notion of 'the same   
component' nor defines component equivalence. A schema component may have   
multiple schema component paths. Although these schema component paths address   
'the same component', they are not equal. It is true, however, that two   
canonical paths to the same component will be equal.</p>   
    </div2>   
</div1>   
 <div1 id="section-conformance">   
    <head>Conformance</head>   
<div2 id="scp-conformance">   
<head>Schema Component Path Conformance</head>   
<p>Schema component paths may be used by other specifications.   
For such usage, this specification does not define any criteria   
for conformance and relies on other specifications to specify   
criteria for conformance of implementations.   
</p>   
<p>Such specifications must define:   
</p>   
<ulist>   
<item><p>How the target schema is identified.</p></item>   
<item><p>How namespace binding applies to schema component paths, in particular   
how or whether the default namespace applies.</p></item>   
<item><p>Whether only canonical schema component paths are   
permitted.</p></item>   
<item><p>Whether only complete schema component paths are permitted.</p></item>   
<item><p>If incomplete schema component paths are permitted, how the initial   
source component is determined.</p></item>   
<item><p>Whether any extension axes are defined, together with their syntax   
and semantics.</p></item>    
<item><p>Whether any extension accessors are defined, together with their   
syntax and semantics.</p></item>   
</ulist>   
</div2>   
   
<div2 id="scds-conformance">   
<head>Schema Component Designator Conformance</head>   
<p>   
This specification normatively depends on the XPointer Framework    
<bibref ref="xptrframework"/>.   
</p>   
<p>Conforming XPointer processors claiming to support the   
<code>xscd()</code> scheme must    
identify schema components as   
defined in this specification and   
conform to the XPointer <code>xmlns()</code> scheme   
specification.    
</p>   
</div2>   
<div2>   
<head>Extensibility</head>   
<p>Schema component paths and designators navigate the XML Schema component   
model and are wholly dependent on that model to define the set of allowable   
axes and referenced components.  Therefore, as the schema component model   
changes, this specification may add additional axes, mapping rules, and   
accessors as required to support those changes.    
The EBNF defines syntax for extension accessors after the last step in a path   
and for extension axes.     
</p>   
</div2>   
  </div1>   
  <div1 id="section-example">   
      <head>Examples (Non-Normative)</head>   
   
<div2 id="section-primer-example">   
   <head>Extended Primer Example</head>   
<p>This section walks through an example XML Schema Document from the XML   
Schema Part 0: Primer<bibref ref="xsd0"/> and   
  enumerates the abbreviated and canonical schema component designators for schema components.</p>   
   
<p>All schema constructs in this section are considered to be in the following   
  schema document and its URI is <code>schema-URI</code>:</p>   
   
<eg xml:space="preserve">   
&lt;xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;   
&lt;!-- elided... see below ... --&gt;   
&lt;/xsd:schema&gt;   
</eg>   
   
<p>Since this schema has no target namespace, no namespace   
  binding is required and there is no <code>xmlns()</code> pointer part for any   
  of the schema component designators for this schema.</p>   
   
<p>The canonical schema component designator for this schema description   
component is <code>schema-URI#xscd(/)</code>.</p>   
   
<eg xml:space="preserve">   
&lt;xsd:annotation&gt;   
 &lt;xsd:documentation xml:lang="en"&gt;   
  Purchase order schema for Example.com.   
  Copyright 2000 Example.com. All rights reserved.   
 &lt;/xsd:documentation&gt;   
&lt;/xsd:annotation&gt;   
</eg>   
   
<p>The canonical schema component designator for this annotation schema component   
  is <code>schema-URI#xscd(/annotation::*)</code>.</p>   
   
<p>The following is a global element declaration:</p>   
   
<eg xml:space="preserve">   
&lt;xsd:element name="purchaseOrder" type="PurchaseOrderType"/&gt;   
</eg>   
   
<p>The abbreviated schema component designator for this element declaration component   
  is <code>schema-URI#xscd(/purchaseOrder)</code> and the canonical is   
  <code>schema-URI#xscd(/schemaElement::purchaseOrder)</code>.</p>   
   
<p>The following is another global element declaration, </p>   
<eg xml:space="preserve">   
 &lt;xsd:element name="comment" type="xsd:string"/&gt;   
</eg>   
   
<p>The abbreviated schema component designator for this element declaration   
  component is <code>schema-URI#xscd(/comment)</code> and the canonical is   
  <code>schema-URI#xscd(/schemaElement::comment)</code>.</p>   
   
<p>This following is a global complex type definition component:</p>   
   
<eg xml:space="preserve">   
&lt;xsd:complexType name="PurchaseOrderType"&gt;   
 &lt;xsd:sequence&gt;   
  &lt;xsd:element name="shipTo" type="USAddress"/&gt;   
  &lt;xsd:element name="billTo" type="USAddress"/&gt;   
  &lt;xsd:element ref="comment" minOccurs="0"/&gt;   
  &lt;xsd:element name="items"  type="Items"/&gt;   
 &lt;/xsd:sequence&gt;   
 &lt;xsd:attribute name="orderDate" type="xsd:date"/&gt;   
&lt;/xsd:complexType&gt;   
</eg>   
   
<p>The abbreviated schema component designator for this complex type definition   
  and its element and attribute declaration components are:</p>   
   
<eg xml:space="preserve">   
schema-URI#xscd(/~purchaseOrderType)   
schema-URI#xscd(/~purchaseOrderType/shipTo)   
schema-URI#xscd(/~purchaseOrderType/billTo)   
schema-URI#xscd(/comment)   
schema-URI#xscd(/~purchaseOrderType/items)   
schema-URI#xscd(/~purchaseOrderType/@orderDate)   
</eg>   
   
<p>The canonical schema component designator for this complex type definition and   
  its element and attribute declaration components are:</p>   
   
<eg xml:space="preserve">   
schema-URI#xscd(/type::purchaseOrderType)   
schema-URI#xscd(/type::purchaseOrderType/model::sequence/schemaElement::shipTo)   
schema-URI#xscd(/type::purchaseOrderType/model::sequence/schemaElement::billTo)   
schema-URI#xscd(/schemaElement::comment)   
schema-URI#xscd(/type::purchaseOrderType/model::sequence/schemaElement::items)   
schema-URI#xscd(/type::purchaseOrderType/schemaAttribute::orderDate)   
</eg>   
   
<p>The following is another global complex type definition component:</p>   
   
<eg xml:space="preserve">   
&lt;xsd:complexType name="USAddress"&gt;   
 &lt;xsd:sequence&gt;   
  &lt;xsd:element name="name"   type="xsd:string"/&gt;   
  &lt;xsd:element name="street" type="xsd:string"/&gt;   
  &lt;xsd:element name="city"   type="xsd:string"/&gt;   
  &lt;xsd:element name="state"  type="xsd:string"/&gt;   
  &lt;xsd:element name="zip"    type="xsd:decimal"/&gt;   
 &lt;/xsd:sequence&gt;   
 &lt;xsd:attribute name="country" type="xsd:NMTOKEN"   
     fixed="US"/&gt;   
&lt;/xsd:complexType&gt;   
</eg>   
   
<p>The abbreviated schema component designator for this complex type definition   
  and its element and attribute declaration components are:</p>   
   
<eg xml:space="preserve">   
schema-URI#xscd(/~USAddress)   
schema-URI#xscd(/~USAddress/name)   
schema-URI#xscd(/~USAddress/street)   
schema-URI#xscd(/~USAddress/city)   
schema-URI#xscd(/~USAddress/state)   
schema-URI#xscd(/~USAddress/zip)   
schema-URI#xscd(/~USAddress/@country)   
</eg>   
   
<p>The canonical schema component designator for this complex type definition and its   
  element and attribute declaration components are:</p>   
   
<eg xml:space="preserve">   
schema-URI#xscd(/type::USAddress)   
schema-URI#xscd(/type::USAddress/model::sequence/schemaElement::name)   
schema-URI#xscd(/type::USAddress/model::sequence/schemaElement::street)   
schema-URI#xscd(/type::USAddress/model::sequence/schemaElement::city)   
schema-URI#xscd(/type::USAddress/model::sequence/schemaElement::state)   
schema-URI#xscd(/type::USAddress/model::sequence/schemaElement::zip)   
schema-URI#xscd(/type::USAddress/schemaAttribute::country)   
</eg>   
   
<p>The following is a global complex type definition with anonymous complex type and   
  simple type definition components:</p>   
   
<eg xml:space="preserve">   
&lt;xsd:complexType name="Items"&gt;   
 &lt;xsd:sequence&gt;   
  &lt;xsd:element name="item" minOccurs="0" maxOccurs="unbounded"&gt;   
   &lt;xsd:complexType&gt;   
    &lt;xsd:sequence&gt;   
     &lt;xsd:element name="productName" type="xsd:string"/&gt;   
     &lt;xsd:element name="quantity"&gt;   
      &lt;xsd:simpleType&gt;   
       &lt;xsd:restriction base="xsd:positiveInteger"&gt;   
        &lt;xsd:maxExclusive value="100"/&gt;   
       &lt;/xsd:restriction&gt;   
      &lt;/xsd:simpleType&gt;   
     &lt;/xsd:element&gt;   
     &lt;xsd:element name="USPrice"  type="xsd:decimal"/&gt;   
     &lt;xsd:element ref="comment"   minOccurs="0"/&gt;   
     &lt;xsd:element name="shipDate" type="xsd:date" minOccurs="0"/&gt;   
    &lt;/xsd:sequence&gt;   
    &lt;xsd:attribute name="partNum" type="SKU" use="required"/&gt;   
   &lt;/xsd:complexType&gt;   
  &lt;/xsd:element&gt;   
 &lt;/xsd:sequence&gt;   
&lt;/xsd:complexType&gt;   
</eg>   
   
<p>The abbreviated schema component designator for this complex type definition   
  and its element and attribute declaration, simple type definition, and facet   
  components are:</p>   
   
<eg xml:space="preserve">   
schema-URI#xscd(/~Items)   
schema-URI#xscd(/~Items/item)   
schema-URI#xscd(/~Items/item/~0))   
schema-URI#xscd(/~Items/item/productName)   
schema-URI#xscd(/~Items/item/quantity)   
schema-URI#xscd(/~Items/item/quantity/~0)   
schema-URI#xscd(/~Items/item/quantity/~0/facet::maxExclusive)   
schema-URI#xscd(/~Items/item/USPrice)   
schema-URI#xscd(/comment)   
schema-URI#xscd(/~Items/item/shipDate)   
schema-URI#xscd(/~Items/item/@partNum)   
</eg>   
   
<p>The canonical schema component designator for this complex type definition and its   
element and attribute declaration, simple type definition, and facet   
components are (paths broken across lines for   
readability):</p>    
   
<eg xml:space="preserve">   
schema-URI#xscd(/type::Items)   
schema-URI#xscd(/type::Items/model::sequence/schemaElement::item)   
schema-URI#xscd(/type::Items/model::sequence/schemaElement::item/type::0)   
schema-URI#xscd(/type::Items/model::sequence/schemaElement::item/type::0/   
     model::sequence/schemaElement::productName)   
schema-URI#xscd(/type::Items/model::sequence/schemaElement::item/type::0/   
     model::sequence/schemaElement::quantity)   
schema-URI#xscd(/type::Items/model::sequence/schemaElement::item/type::0/   
     model::sequence/schemaElement::quantity/type::0)   
schema-URI#xscd(/type::Items/model::sequence/schemaElement::item/type::0/   
     model::sequence/schemaElement::quantity/type::0/   
     facet::maxExclusive)   
schema-URI#xscd(/type::Items/model::sequence/schemaElement::item/type::0/   
     model::sequence/schemaElement::USPrice)   
schema-URI#xscd(/schemaElement::comment)   
schema-URI#xscd(/type::Items/model::sequence/schemaElement::item/type::0/   
     model::sequence/schemaElement::shipDate)   
schema-URI#xscd(/type::Items/model::sequence/schemaElement::item/type::0/   
     schemaAttribute::partNum)   
</eg>   
   
<p>The following is a global simple type definition component:</p>   
   
<eg xml:space="preserve" role="simpleType">   
&lt;!-- Stock Keeping Unit, a code for identifying products --&gt;   
&lt;xsd:simpleType name="SKU"&gt;   
 &lt;xsd:restriction base="xsd:string"&gt;   
  &lt;xsd:pattern value="\d{3}-[A-Z]{2}"/&gt;   
 &lt;/xsd:restriction&gt;   
&lt;/xsd:simpleType&gt;   
</eg>   
   
<p>The canonical schema component designator for this simple type definition   
  and its facet component are:</p>   
   
<eg xml:space="preserve">   
schema-URI#xscd(/type::SKU)   
schema-URI#xscd(/type::SKU/facet::pattern)   
</eg>   
</div2>   
<div2 id="section-example-more">   
<head>Additional Examples</head>   
<p>The schema for the examples in the previous section had no   
target namespace. If we change the schema so that the target namespace is   
<code>"http://example.com/schema/po"</code>, then the schema   
component designators need to take namespace bindings into account.   
</p>   
<p>For example, the abbreviated schema component designator for the   
complex type definition <code>USAddress</code> and its element and attribute   
declaration components are:</p>   
   
<eg xml:space="preserve">   
schema-URI#xmlns(p=http://example.com/schema/po)xscd(/~p:USAddress)   
schema-URI#xmlns(p=http://example.com/schema/po)xscd(/~p:USAddress/p:name)   
schema-URI#xmlns(p=http://example.com/schema/po)xscd(/~p:USAddress/p:street)   
schema-URI#xmlns(p=http://example.com/schema/po)xscd(/~p:USAddress/p:city)   
schema-URI#xmlns(p=http://example.com/schema/po)xscd(/~p:USAddress/p:state)   
schema-URI#xmlns(p=http://example.com/schema/po)xscd(/~p:USAddress/p:zip)   
schema-URI#xmlns(p=http://example.com/schema/po)xscd(/~p:USAddress/@country)   
</eg>   
<p>Note that since the <code>attributeFormDefault</code> for the   
schema is <code>unqualified</code> (the default value), no namespace prefix is   
used with the <code>country</code> attribute.</p>   
<p>The canonical schema component designator for this complex type   
definition and its element and attribute declaration components are (paths   
broken across lines for readability):</p>   
   
<eg xml:space="preserve">   
schema-URI#xmlns(p=http://example.com/schema/po)xscd(/type::p:USAddress)   
schema-URI#xmlns(p=http://example.com/schema/po)xscd(/type::p:USAddress/   
    model::sequence/schemaElement::p:name)   
schema-URI#xmlns(p=http://example.com/schema/po)xscd(/type::p:USAddress/   
    model::sequence/schemaElement::p:street)   
schema-URI#xmlns(p=http://example.com/schema/po)xscd(/type::p:USAddress/   
    model::sequence/schemaElement::p:city)   
schema-URI#xmlns(p=http://example.com/schema/po)xscd(/type::p:USAddress/   
    model::sequence/schemaElement::p:state)   
schema-URI#xmlns(p=http://example.com/schema/po)xscd(/type::p:USAddress/   
    model::sequence/schemaElement::p:zip)   
schema-URI#xmlns(p=http://example.com/schema/po)xscd(/type::p:USAddress/   
    schemaAttribute::country)   
</eg>   
<p>Schema component paths may also be used in other contexts that   
provide namespace binding contexts.  For example, an XML representation may   
apply normal namespace binding rules to apply to embedded schema component   
paths:   
</p>   
<eg xml:space="preserve">   
&lt;xsx:ui xmlns:err="http://example.com/extension/ui"    
        xmlns:p="http://example.com/schema/po"&gt;   
  &lt;xsx:component&gt;   
     &lt;xsx:path&gt;/~p:USAddress/p:state&lt;/xsx:path&gt;   
     &lt;xsx:prompt&gt;State&lt;/xsx:prompt&gt;   
     &lt;xsx:display&gt;selector&lt;/xsx:display&gt;   
     &lt;xsx:choices&gt;http://example.com/state-menu.xml&lt;/xsx:choices&gt;   
     &lt;xsx:tab&gt;Address&lt;/xsx:tab&gt;   
  &lt;/xsx:component&gt;   
&lt;/xsx:ui&gt;   
</eg>   
<p>Another possible means of binding namespaces is to use the namespace URI as   
the schema designator with the convention that it is the default namespace.   
This could be useful combined with the use of just the schema component paths   
in the fragment identifier to obtain terse identifiers for global schema types   
in single-namespace schemas:   
</p>   
<eg xml:space="preserve">   
http://www.w3.org/2001/XMLSchema#/~gMonth   
</eg>   
<note><p>This specification does not define such a fragment identifier scheme   
for namespace documents.  Neither does it rule out such a usage.   
</p></note>   
</div2>   
<div2 id="section-examples-abbreviations">   
  <head>Examples with component and elided-component Axes (Non-Normative)</head>   
<p>The following examples assume that the namespace prefixes   
<code>r</code> and <code>ipo</code> are appropriately bound.</p>   
   
<p>Here is a path that designates an attribute declaration whose local name is   
<code>period</code> in the namespace denoted by   
<code>r</code> in an anonymous complex type:   
</p>   
<eg xml:space="preserve">/r:purchaseReport/type::0/@period</eg>   
<p>Using the   
elided-component axis to select the attribute    
declaration directly from the element declaration, this path reduces to:   
</p>   
<eg xml:space="preserve">/r:purchaseReport/@period</eg>   
   
<p>Here is a path that designates an    
element   
declaration whose local name is    
<code>name</code> in the namespace denoted by   
<code>ipo</code>   
in a globally defined type:   
</p>   
<eg xml:space="preserve">/type::ipo:USAddress/model::sequence/model::sequence[1]/name</eg>   
<p>   
Using the elided-component axis to select the element   
declaration directly from the complex type definition,   
this path reduces to:</p>   
<eg xml:space="preserve">/type::ipo:USAddress/name</eg>   
   
<p>This path designates an element declaration whose local name is   
<code>regions</code>    
in the namespace denoted by   
<code>r</code>   
in an anonymous complex type:   
</p>   
<eg xml:space="preserve">/r:purchaseReport/type::0/model::sequence/r:regions</eg>   
<p>Using the elided-component axis to select   
the element declaration r:regions directly from the element declaration   
r:purchaseReport, this path reduces to:</p>     
<eg xml:space="preserve">/r:purchaseReport/r:regions</eg>   
   
<p>This path   
designates global or local element declarations whose local   
name is <code>quantity</code> in the namespace denoted by <code>r</code>:</p>    
<eg xml:space="preserve">//r:quantity</eg>    
   
<p>This path designates global or local element declarations whose   
local name is <code>quantity</code> in the namespace denoted   
by <code>r</code>, where these declarations    
are in the subgraph represented by the global complex type component whose   
local name is <code>Items</code> in the namespace denoted by   
<code>r</code>:   
</p>   
<eg xml:space="preserve">/~r:Items//r:quantity</eg>   
   
<p>This path designates global or local attribute    
declarations whose local name is <code>partNum</code> in the   
namespace denoted by <code>r</code>   
where these declarations are in the subgraph represented by the global complex   
type component whose    
local name is <code>Items</code>   
in the namespace denoted by <code>r</code>:</p>    
<eg xml:space="preserve">/~r:Items//@partNum</eg>   
   
<p>This extended example works against the following schema   
  fragment for a schema with no target namespace:   
</p>    
<eg xml:space="preserve">   
&lt;xs:element name="example" type="aType"/&gt;   
   
&lt;xs:complexType name="aType"&gt;   
   &lt;xs:sequence&gt;   
      &lt;xs:element name="foo"/&gt;   
      &lt;xs:group ref="aGroup"/&gt;   
   &lt;/xs:sequence&gt;   
&lt;/xs:complexType&gt;   
   
&lt;xs:group name="aGroup"&gt;   
   &lt;xs:sequence&gt;   
      &lt;xs:element name="bar"&gt;   
         &lt;xs:complexType&gt;   
           &lt;xs:sequence&gt;   
              &lt;xs:element ref="foo"/&gt;   
              &lt;xs:element ref="a"/&gt;   
           &lt;/xs:sequence&gt;   
         &lt;/xs:complexType&gt;   
      &lt;/xs:element&gt;   
   &lt;/xs:sequence&gt;   
&lt;/xs:group&gt;   
   
&lt;xs:element name="foo"/&gt;   
</eg>   
<p>   
Which of the following paths can be shortened to <code>//foo</code> using the   
component and elided-component axes?   
</p>   
<table border="0" cellspacing="5" summary="//foo">   
<thead>   
<tr><th rowspan="1" colspan="1">Path</th><th rowspan="1" colspan="1">Shortened to <code>//foo</code>?</th></tr>   
</thead>   
<tbody>   
<tr><td rowspan="1" colspan="1"><code>/group::aGroup/model::sequence/bar/~0/model::sequence/foo</code></td>   
<td rowspan="1" colspan="1">No</td>   
</tr>   
<tr><td rowspan="1" colspan="1"><code>/~aType/model::sequence/foo</code></td>   
<td rowspan="1" colspan="1">Yes</td>   
</tr>   
<tr><td rowspan="1" colspan="1"><code>/~aType/model::sequence/model::sequence/bar/~0/foo</code></td>   
<td rowspan="1" colspan="1">No</td>   
</tr>   
<tr><td rowspan="1" colspan="1"><code>/root/~aType/model::sequence/foo</code></td>   
<td rowspan="1" colspan="1">Yes</td>   
</tr>   
<tr><td rowspan="1" colspan="1"><code>/root/~aType/model::sequence/model::sequence/bar/~0/foo</code></td>   
<td rowspan="1" colspan="1">No</td>   
</tr>   
</tbody>   
</table>   
<p>The "no" answers are all because <code>bar</code> is not selected   
by either the component axis or the elided-component axis and must therefore   
appear in the path.</p>   
</div2>   
</div1>   
   
 </body>   
 <back>   
<div1 id="properties">   
<head>Schema Component Properties (Non-Normative)</head>   
<p>Schema component paths rely on the schema component graph implicit in   
the assembled collection of schema components and their properties. The   
following table details which properties are used for defining schema component   
paths, and whether they are used to define links in the graph   
(traversed) or just referenced for some other purpose. Traversals marked with a   
star (*) are the default axis of traversal.    
</p>   
<table border="2" rules="rows" cellspacing="5" cellpadding="5" summary="Use of Schema Component Properties">   
<thead>   
<tr><th rowspan="1" colspan="1">Component or Property Record</th><th rowspan="1" colspan="1">Property</th><th rowspan="1" colspan="1">Use</th></tr>   
</thead>   
<tbody>   
<tr><th rowspan="8" colspan="1">Attribute Declaration</th></tr>   
<tr><td rowspan="1" colspan="1">{type definition}</td><td rowspan="1" colspan="1">traversed *</td></tr>   
<tr><td rowspan="1" colspan="1">{annotation}</td><td rowspan="1" colspan="1">traversed (special)</td></tr>   
<tr><td rowspan="1" colspan="1">{annotations}</td><td rowspan="1" colspan="1">traversed (special)</td></tr>   
<tr><td rowspan="1" colspan="1">{name}</td><td rowspan="1" colspan="1">referenced</td></tr>   
<tr><td rowspan="1" colspan="1">{target namespace}</td><td rowspan="1" colspan="1">referenced</td></tr>   
<tr><td rowspan="1" colspan="1">{scope}</td><td rowspan="1" colspan="1">traversed</td></tr>   
<tr><td rowspan="1" colspan="1">{value constraint}</td><td rowspan="1" colspan="1">none</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="3" colspan="1">Scope Property Record</th></tr>   
<tr><td rowspan="1" colspan="1">{variety}</td><td rowspan="1" colspan="1">referenced</td></tr>   
<tr><td rowspan="1" colspan="1">{parent}</td><td rowspan="1" colspan="1">traversed</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="16" colspan="1">Element Declaration</th></tr>   
<tr><td rowspan="1" colspan="1">{type definition}</td><td rowspan="1" colspan="1">traversed *</td></tr>   
<tr><td rowspan="1" colspan="1">{identity-constraint definitions}</td><td rowspan="1" colspan="1">traversed</td></tr>   
<tr><td rowspan="1" colspan="1">{annotation}</td><td rowspan="1" colspan="1">traversed (special)</td></tr>   
<tr><td rowspan="1" colspan="1">{annotations}</td><td rowspan="1" colspan="1">traversed (special)</td></tr>   
<tr><td rowspan="1" colspan="1">{name}</td><td rowspan="1" colspan="1">referenced</td></tr>   
<tr><td rowspan="1" colspan="1">{target namespace}</td><td rowspan="1" colspan="1">referenced</td></tr>   
<tr><td rowspan="1" colspan="1">{type table}</td><td rowspan="1" colspan="1">traversed</td></tr>   
<tr><td rowspan="1" colspan="1">{scope}</td><td rowspan="1" colspan="1">traversed</td></tr>   
<tr><td rowspan="1" colspan="1">{value constraint}</td><td rowspan="1" colspan="1">none</td></tr>   
<tr><td rowspan="1" colspan="1">{nillable}</td><td rowspan="1" colspan="1">none</td></tr>   
<tr><td rowspan="1" colspan="1">{substitution group affiliation}</td><td rowspan="1" colspan="1">traversed</td></tr>   
<tr><td rowspan="1" colspan="1">{substitution group affiliations}</td><td rowspan="1" colspan="1">traversed</td></tr>   
<tr><td rowspan="1" colspan="1">{substitution group exclusions}</td><td rowspan="1" colspan="1">none</td></tr>   
<tr><td rowspan="1" colspan="1">{disallowed substitutions}</td><td rowspan="1" colspan="1">none</td></tr>   
<tr><td rowspan="1" colspan="1">{abstract}</td><td rowspan="1" colspan="1">none</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="3" colspan="1">Type Table Property Record</th></tr>   
<tr><td rowspan="1" colspan="1">{alternatives}</td><td rowspan="1" colspan="1">traversed</td></tr>   
<tr><td rowspan="1" colspan="1">{default type definition}</td><td rowspan="1" colspan="1">traversed</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="14" colspan="1">Complex Type Definition</th></tr>   
<tr><td rowspan="1" colspan="1">{base type definition}</td><td rowspan="1" colspan="1">traversed</td></tr>   
<tr><td rowspan="1" colspan="1">{attribute uses}</td><td rowspan="1" colspan="1">traversed</td></tr>   
<tr><td rowspan="1" colspan="1">{attribute wildcard}</td><td rowspan="1" colspan="1">traversed</td></tr>   
<tr><td rowspan="1" colspan="1">{content type}</td><td rowspan="1" colspan="1">traversed *</td></tr>   
<tr><td rowspan="1" colspan="1">{annotations}</td><td rowspan="1" colspan="1">traversed (special)</td></tr>   
<tr><td rowspan="1" colspan="1">{name}</td><td rowspan="1" colspan="1">referenced</td></tr>   
<tr><td rowspan="1" colspan="1">{target namespace}</td><td rowspan="1" colspan="1">referenced</td></tr>   
<tr><td rowspan="1" colspan="1">{context}</td><td rowspan="1" colspan="1">traversed</td></tr>   
<tr><td rowspan="1" colspan="1">{derivation method}</td><td rowspan="1" colspan="1">none</td></tr>   
<tr><td rowspan="1" colspan="1">{final}</td><td rowspan="1" colspan="1">none</td></tr>   
<tr><td rowspan="1" colspan="1">{abstract}</td><td rowspan="1" colspan="1">none</td></tr>   
<tr><td rowspan="1" colspan="1">{prohibited substitutions}</td><td rowspan="1" colspan="1">none</td></tr>   
<tr><td rowspan="1" colspan="1">{assertions}</td><td rowspan="1" colspan="1">traversed</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="5" colspan="1">Content Type Property Record</th></tr>   
<tr><td rowspan="1" colspan="1">{variety}</td><td rowspan="1" colspan="1">referenced</td></tr>   
<tr><td rowspan="1" colspan="1">{particle}</td><td rowspan="1" colspan="1">traversed *</td></tr>   
<tr><td rowspan="1" colspan="1">{simple type definition}</td><td rowspan="1" colspan="1">traversed</td></tr>   
<tr><td rowspan="1" colspan="1">{open content}</td><td rowspan="1" colspan="1">traversed</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="3" colspan="1">Open Content Property Record</th></tr>   
<tr><td rowspan="1" colspan="1">{mode}</td><td rowspan="1" colspan="1">none</td></tr>   
<tr><td rowspan="1" colspan="1">{wildcard}</td><td rowspan="1" colspan="1">traversed *</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="5" colspan="1">Attribute Use</th></tr>   
<tr><td rowspan="1" colspan="1">{attribute declaration}</td><td rowspan="1" colspan="1">traversed *</td></tr>   
<tr><td rowspan="1" colspan="1">{value constraint}</td><td rowspan="1" colspan="1">none</td></tr>   
<tr><td rowspan="1" colspan="1">{required}</td><td rowspan="1" colspan="1">none</td></tr>   
<tr><td rowspan="1" colspan="1">{annotations}</td><td rowspan="1" colspan="1">traversed (special)</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="7" colspan="1">Attribute Group Definition</th></tr>   
<tr><td rowspan="1" colspan="1">{attribute uses}</td><td rowspan="1" colspan="1">traversed *</td></tr>   
<tr><td rowspan="1" colspan="1">{attribute wildcard}</td><td rowspan="1" colspan="1">traversed</td></tr>   
<tr><td rowspan="1" colspan="1">{annotation}</td><td rowspan="1" colspan="1">traversed (special)</td></tr>   
<tr><td rowspan="1" colspan="1">{annotations}</td><td rowspan="1" colspan="1">traversed (special)</td></tr>   
<tr><td rowspan="1" colspan="1">{name}</td><td rowspan="1" colspan="1">referenced</td></tr>   
<tr><td rowspan="1" colspan="1">{target namespace}</td><td rowspan="1" colspan="1">referenced</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="6" colspan="1">Model Group Definition</th></tr>   
<tr><td rowspan="1" colspan="1">{model group}</td><td rowspan="1" colspan="1">traversed *</td></tr>   
<tr><td rowspan="1" colspan="1">{annotation}</td><td rowspan="1" colspan="1">traversed (special)</td></tr>   
<tr><td rowspan="1" colspan="1">{annotations}</td><td rowspan="1" colspan="1">traversed (special)</td></tr>   
<tr><td rowspan="1" colspan="1">{name}</td><td rowspan="1" colspan="1">referenced</td></tr>   
<tr><td rowspan="1" colspan="1">{target namespace}</td><td rowspan="1" colspan="1">referenced</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="5" colspan="1">Model Group</th></tr>   
<tr><td rowspan="1" colspan="1">{particles}</td><td rowspan="1" colspan="1">traversed *</td></tr>   
<tr><td rowspan="1" colspan="1">{annotation}</td><td rowspan="1" colspan="1">traversed (special)</td></tr>   
<tr><td rowspan="1" colspan="1">{annotations}</td><td rowspan="1" colspan="1">traversed (special)</td></tr>   
<tr><td rowspan="1" colspan="1">{compositor}</td><td rowspan="1" colspan="1">referenced</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="5" colspan="1">Particle</th></tr>   
<tr><td rowspan="1" colspan="1">{term}</td><td rowspan="1" colspan="1">traversed *</td></tr>   
<tr><td rowspan="1" colspan="1">{min occurs}</td><td rowspan="1" colspan="1">none</td></tr>   
<tr><td rowspan="1" colspan="1">{max occurs}</td><td rowspan="1" colspan="1">none</td></tr>   
<tr><td rowspan="1" colspan="1">{annotations}</td><td rowspan="1" colspan="1">traversed (special)</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="5" colspan="1">Wildcard</th></tr>   
<tr><td rowspan="1" colspan="1">{annotation}</td><td rowspan="1" colspan="1">traversed (special)</td></tr>   
<tr><td rowspan="1" colspan="1">{annotations}</td><td rowspan="1" colspan="1">traversed (special)</td></tr>   
<tr><td rowspan="1" colspan="1">{namespace constraint}</td><td rowspan="1" colspan="1">none</td></tr>   
<tr><td rowspan="1" colspan="1">{process contents}</td><td rowspan="1" colspan="1">none</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="9" colspan="1">Identity-constraint Definition</th></tr>   
<tr><td rowspan="1" colspan="1">{annotation}</td><td rowspan="1" colspan="1">traversed (special)</td></tr>   
<tr><td rowspan="1" colspan="1">{annotations}</td><td rowspan="1" colspan="1">traversed (special)</td></tr>   
<tr><td rowspan="1" colspan="1">{name}</td><td rowspan="1" colspan="1">referenced</td></tr>   
<tr><td rowspan="1" colspan="1">{target namespace}</td><td rowspan="1" colspan="1">referenced</td></tr>   
<tr><td rowspan="1" colspan="1">{identity-constraint category}</td><td rowspan="1" colspan="1">none</td></tr>   
<tr><td rowspan="1" colspan="1">{selector}</td><td rowspan="1" colspan="1">none</td></tr>   
<tr><td rowspan="1" colspan="1">{fields}</td><td rowspan="1" colspan="1">none</td></tr>   
<tr><td rowspan="1" colspan="1">{referenced key}</td><td rowspan="1" colspan="1">traversed</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="4" colspan="1">Type Alternative</th></tr>   
<tr><td rowspan="1" colspan="1">{annotations}</td><td rowspan="1" colspan="1">traversed (special)</td></tr>   
<tr><td rowspan="1" colspan="1">{test}</td><td rowspan="1" colspan="1">none</td></tr>   
<tr><td rowspan="1" colspan="1">{type definition}</td><td rowspan="1" colspan="1">traversed *</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="3" colspan="1">Assertion</th></tr>   
<tr><td rowspan="1" colspan="1">{annotations}</td><td rowspan="1" colspan="1">traversed (special)</td></tr>   
<tr><td rowspan="1" colspan="1">{test}</td><td rowspan="1" colspan="1">none</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="7" colspan="1">Notation Declaration</th></tr>   
<tr><td rowspan="1" colspan="1">{annotation}</td><td rowspan="1" colspan="1">traversed (special)</td></tr>   
<tr><td rowspan="1" colspan="1">{annotations}</td><td rowspan="1" colspan="1">traversed (special)</td></tr>   
<tr><td rowspan="1" colspan="1">{name}</td><td rowspan="1" colspan="1">referenced</td></tr>   
<tr><td rowspan="1" colspan="1">{target namespace}</td><td rowspan="1" colspan="1">referenced</td></tr>   
<tr><td rowspan="1" colspan="1">{public identifier}</td><td rowspan="1" colspan="1">none</td></tr>   
<tr><td rowspan="1" colspan="1">{system identifier}</td><td rowspan="1" colspan="1">none</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="4" colspan="1">Annotation</th></tr>   
<tr><td rowspan="1" colspan="1">{application information}</td><td rowspan="1" colspan="1">none</td></tr>   
<tr><td rowspan="1" colspan="1">{user information}</td><td rowspan="1" colspan="1">none</td></tr>   
<tr><td rowspan="1" colspan="1">{attributes}</td><td rowspan="1" colspan="1">none</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="9" colspan="1">Schema</th></tr>   
<tr><td rowspan="1" colspan="1">{type definitions}</td><td rowspan="1" colspan="1">traversed</td></tr>   
<tr><td rowspan="1" colspan="1">{attribute declarations}</td><td rowspan="1" colspan="1">traversed</td></tr>   
<tr><td rowspan="1" colspan="1">{element declarations}</td><td rowspan="1" colspan="1">traversed *</td></tr>   
<tr><td rowspan="1" colspan="1">{attribute group definitions}</td><td rowspan="1" colspan="1">traversed</td></tr>   
<tr><td rowspan="1" colspan="1">{model group definitions}</td><td rowspan="1" colspan="1">traversed</td></tr>   
<tr><td rowspan="1" colspan="1">{notation declarations}</td><td rowspan="1" colspan="1">traversed</td></tr>   
<tr><td rowspan="1" colspan="1">{identity constraint definitions}</td><td rowspan="1" colspan="1">traversed</td></tr>   
<tr><td rowspan="1" colspan="1">{annotations}</td><td rowspan="1" colspan="1">traversed (special)</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="14" colspan="1">Simple Type Definition</th></tr>   
<tr><td rowspan="1" colspan="1">{base type definition}</td><td rowspan="1" colspan="1">traversed</td></tr>   
<tr><td rowspan="1" colspan="1">{facets}</td><td rowspan="1" colspan="1">traversed *</td></tr>   
<tr><td rowspan="1" colspan="1">{fundamental facets}</td><td rowspan="1" colspan="1">traversed</td></tr>   
<tr><td rowspan="1" colspan="1">{item type definition}</td><td rowspan="1" colspan="1">traversed</td></tr>   
<tr><td rowspan="1" colspan="1">{member type definitions}</td><td rowspan="1" colspan="1">traversed</td></tr>   
<tr><td rowspan="1" colspan="1">{context}</td><td rowspan="1" colspan="1">traversed</td></tr>   
<tr><td rowspan="1" colspan="1">{annotation}</td><td rowspan="1" colspan="1">traversed (special)</td></tr>   
<tr><td rowspan="1" colspan="1">{annotations}</td><td rowspan="1" colspan="1">traversed (special)</td></tr>   
<tr><td rowspan="1" colspan="1">{name}</td><td rowspan="1" colspan="1">referenced</td></tr>   
<tr><td rowspan="1" colspan="1">{target namespace}</td><td rowspan="1" colspan="1">referenced</td></tr>   
<tr><td rowspan="1" colspan="1">{variety}</td><td rowspan="1" colspan="1">referenced</td></tr>   
<tr><td rowspan="1" colspan="1">{final}</td><td rowspan="1" colspan="1">none</td></tr>   
<tr><td rowspan="1" colspan="1">{primitive type definition}</td><td rowspan="1" colspan="1">traversed</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="5" colspan="1">Facets</th></tr>   
<tr><td rowspan="1" colspan="1">{annotation}</td><td rowspan="1" colspan="1">traversed (special)</td></tr>   
<tr><td rowspan="1" colspan="1">{annotations}</td><td rowspan="1" colspan="1">traversed (special)</td></tr>   
<tr><td rowspan="1" colspan="1">{value}</td><td rowspan="1" colspan="1">traversed * (assertions only)</td></tr>   
<tr><td rowspan="1" colspan="1">{fixed}</td><td rowspan="1" colspan="1">none</td></tr>   
</tbody>   
</table>   
</div1>   
   
<div1 id="axis-summary">   
<head>Summary of Component Axes (Non-Normative)</head>   
   
<p>The following table details all the axes, the source and target component   
kinds, a brief syntax summary, and indicates whether the axis is a default one.   
</p>   
<table border="2" rules="rows" cellspacing="5" cellpadding="5" summary="Summary of Component Axes">   
<thead>   
<tr><th rowspan="1" colspan="1">Axis</th><th rowspan="1" colspan="1">Source Component</th><th rowspan="1" colspan="1">Target Component</th><th rowspan="1" colspan="1">Syntax</th><th rowspan="1" colspan="1">Default?</th></tr>   
</thead>   
<tbody>   
<tr><th rowspan="2" colspan="1">(root)</th></tr>   
<tr><td rowspan="1" colspan="1">N/A</td><td rowspan="1" colspan="1">Schema</td><td rowspan="1" colspan="1">/</td><td rowspan="1" colspan="1">no</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="11" colspan="1">annotations</th></tr>   
<tr><td rowspan="1" colspan="1">Attribute Declaration</td><td rowspan="1" colspan="1">Annotation</td><td rowspan="1" colspan="1"><code>annotation::*</code></td><td rowspan="1" colspan="1">no</td></tr>   
<tr><td rowspan="1" colspan="1">Attribute Group Definition</td><td rowspan="1" colspan="1">Annotation</td><td rowspan="1" colspan="1"><code>annotation::*</code></td><td rowspan="1" colspan="1">no</td></tr>   
<tr><td rowspan="1" colspan="1">Complex Type Definition</td><td rowspan="1" colspan="1">Annotation</td><td rowspan="1" colspan="1"><code>annotation::*</code></td><td rowspan="1" colspan="1">no</td></tr>   
<tr><td rowspan="1" colspan="1">Element Declaration</td><td rowspan="1" colspan="1">Annotation</td><td rowspan="1" colspan="1"><code>annotation::*</code></td><td rowspan="1" colspan="1">no</td></tr>   
<tr><td rowspan="1" colspan="1">Facet</td><td rowspan="1" colspan="1">Annotation</td><td rowspan="1" colspan="1"><code>annotation::*</code></td><td rowspan="1" colspan="1">no</td></tr>   
<tr><td rowspan="1" colspan="1">Model Group Definition</td><td rowspan="1" colspan="1">Annotation</td><td rowspan="1" colspan="1"><code>annotation::*</code></td><td rowspan="1" colspan="1">no</td></tr>   
<tr><td rowspan="1" colspan="1">Notation Declaration</td><td rowspan="1" colspan="1">Annotation</td><td rowspan="1" colspan="1"><code>annotation::*</code></td><td rowspan="1" colspan="1">no</td></tr>   
<tr><td rowspan="1" colspan="1">Schema</td><td rowspan="1" colspan="1">Annotation</td><td rowspan="1" colspan="1"><code>annotation::*</code></td><td rowspan="1" colspan="1">no</td></tr>   
<tr><td rowspan="1" colspan="1">Simple Type Definition</td><td rowspan="1" colspan="1">Annotation</td><td rowspan="1" colspan="1"><code>annotation::*</code></td><td rowspan="1" colspan="1">no</td></tr>   
<tr><td rowspan="1" colspan="1">Wildcard</td><td rowspan="1" colspan="1">Annotation</td><td rowspan="1" colspan="1"><code>annotation::*</code></td><td rowspan="1" colspan="1">no</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="3" colspan="1">attribute declarations</th></tr>   
<tr><td rowspan="1" colspan="1">Attribute Use</td><td rowspan="1" colspan="1">Attribute Declaration</td><td rowspan="1" colspan="1"><code>schemaAttribute::<var>qname</var></code></td><td rowspan="1" colspan="1">yes</td></tr>   
<tr><td rowspan="1" colspan="1">Schema</td><td rowspan="1" colspan="1">Attribute Declaration</td><td rowspan="1" colspan="1"><code>schemaAttribute::<var>qname</var></code></td><td rowspan="1" colspan="1">no</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="2" colspan="1">attribute group definitions</th></tr>   
<tr><td rowspan="1" colspan="1">Schema</td><td rowspan="1" colspan="1">Attribute Group Definition</td><td rowspan="1" colspan="1"><code>attributeGroup::<var>qname</var></code></td><td rowspan="1" colspan="1">no</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="3" colspan="1">attribute uses</th></tr>   
<tr><td rowspan="1" colspan="1">Complex Type Definition</td><td rowspan="1" colspan="1">Attribute Use</td><td rowspan="1" colspan="1">N/A</td><td rowspan="1" colspan="1">no</td></tr>   
<tr><td rowspan="1" colspan="1">Attribute Group Definition</td><td rowspan="1" colspan="1">Attribute Use</td><td rowspan="1" colspan="1">N/A</td><td rowspan="1" colspan="1">yes</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="3" colspan="1">attribute wildcard</th></tr>   
<tr><td rowspan="1" colspan="1">Complex Type Definition</td><td rowspan="1" colspan="1">Attribute Wildcard</td><td rowspan="1" colspan="1"><code>anyAttribute::*</code></td><td rowspan="1" colspan="1">no</td></tr>   
<tr><td rowspan="1" colspan="1">Attribute Group Definition</td><td rowspan="1" colspan="1">Attribute Wildcard</td><td rowspan="1" colspan="1"><code>anyAttribute::*</code></td><td rowspan="1" colspan="1">no</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="4" colspan="1">base type definition</th></tr>   
<tr><td rowspan="2" colspan="1">Complex Type Definition</td><td rowspan="1" colspan="1">Simple Type Definition</td><td rowspan="1" colspan="1"><code>baseType::<var>qname</var></code></td><td rowspan="1" colspan="1">no</td></tr>   
<tr><td rowspan="1" colspan="1">Complex Type Definition</td><td rowspan="1" colspan="1"><code>baseType::<var>qname</var></code></td><td rowspan="1" colspan="1">no</td></tr>   
<tr><td rowspan="1" colspan="1">Simple Type Definition</td><td rowspan="1" colspan="1">Simple Type Definition</td><td rowspan="1" colspan="1"><code>baseType::<var>qname</var></code></td><td rowspan="1" colspan="1">no</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="2" colspan="1">content type</th></tr>   
<tr><td rowspan="1" colspan="1">Complex Type Definition</td><td rowspan="1" colspan="1">Complex Type Definition</td><td rowspan="1" colspan="1"><code>type::<var>qname</var></code></td><td rowspan="1" colspan="1">yes</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="2" colspan="1">element declarations</th></tr>   
<tr><td rowspan="1" colspan="1">Schema</td><td rowspan="1" colspan="1">Element Declaration</td><td rowspan="1" colspan="1"><code>schemaElement::<var>qname</var></code></td><td rowspan="1" colspan="1">yes</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="2" colspan="1">facets</th></tr>   
<tr><td rowspan="1" colspan="1">Simple Type Definition</td><td rowspan="1" colspan="1">Facet</td><td rowspan="1" colspan="1"><code>facet::<var>name</var></code></td><td rowspan="1" colspan="1">yes</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="2" colspan="1">fundamental facets</th></tr>   
<tr><td rowspan="1" colspan="1">Simple Type Definition</td><td rowspan="1" colspan="1">Fundamental Facet</td><td rowspan="1" colspan="1"><code>facet::<var>name</var></code></td><td rowspan="1" colspan="1">no</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="3" colspan="1">identity constraint definitions</th></tr>   
<tr><td rowspan="1" colspan="1">Element Declaration</td><td rowspan="1" colspan="1">Identity-constraint Definition</td><td rowspan="1" colspan="1"><code>identityConstraint::<var>qname</var></code></td><td rowspan="1" colspan="1">no</td></tr>   
<tr><td rowspan="1" colspan="1">Schema</td><td rowspan="1" colspan="1">Identity-constraint Definition</td><td rowspan="1" colspan="1"><code>identityConstraint::<var>qname</var></code></td><td rowspan="1" colspan="1">no</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="2" colspan="1">item type definition</th></tr>   
<tr><td rowspan="1" colspan="1">Simple Type Definition</td><td rowspan="1" colspan="1">Simple Type Definition</td><td rowspan="1" colspan="1"><code>itemType::<var>qname</var></code></td><td rowspan="1" colspan="1">no</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="2" colspan="1">member type definitions</th></tr>   
<tr><td rowspan="1" colspan="1">Simple Type Definition</td><td rowspan="1" colspan="1">Simple Type Definition</td><td rowspan="1" colspan="1"><code>memberType::<var>qname</var></code>[n]</td><td rowspan="1" colspan="1">no</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="2" colspan="1">model group</th></tr>   
<tr><td rowspan="1" colspan="1">Model Group Definition</td><td rowspan="1" colspan="1">Model Group</td><td rowspan="1" colspan="1"><code>model::<var>compositor</var>[<var>n</var>]</code></td><td rowspan="1" colspan="1">yes</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="2" colspan="1">model group definitions</th></tr>   
<tr><td rowspan="1" colspan="1">Schema</td><td rowspan="1" colspan="1">Model Group Definition</td><td rowspan="1" colspan="1"><code>group::<var>qname</var></code></td><td rowspan="1" colspan="1">no</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="2" colspan="1">notation declarations</th></tr>   
<tr><td rowspan="1" colspan="1">Schema</td><td rowspan="1" colspan="1">Notation Declaration</td><td rowspan="1" colspan="1"><code>notation::<var>qname</var></code></td><td rowspan="1" colspan="1">no</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="2" colspan="1">particles</th></tr>   
<tr><td rowspan="1" colspan="1">Model Group</td><td rowspan="1" colspan="1">Particle</td><td rowspan="1" colspan="1">N/A</td><td rowspan="1" colspan="1">yes</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="2" colspan="1">primitive type definition</th></tr>   
<tr><td rowspan="1" colspan="1">Simple Type Definition</td><td rowspan="1" colspan="1">Simple Type Definition</td><td rowspan="1" colspan="1"><code>primitivetype::<var>qname</var></code></td><td rowspan="1" colspan="1">no</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="2" colspan="1">referenced key</th></tr>   
<tr><td rowspan="1" colspan="1">Identity-constraint Definition</td><td rowspan="1" colspan="1">Identity-constraint Definition</td><td rowspan="1" colspan="1"><code>key::<var>qname</var></code></td><td rowspan="1" colspan="1">no</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="7" colspan="1">scope</th></tr>   
<tr><td rowspan="3" colspan="1">Attribute Declaration</td><td rowspan="1" colspan="1">Simple Type Definition</td><td rowspan="1" colspan="1"><code>scope::<var>qname</var></code></td><td rowspan="1" colspan="1">no</td></tr>   
<tr><td rowspan="1" colspan="1">Complex Type Definition</td><td rowspan="1" colspan="1"><code>scope::<var>qname</var></code></td><td rowspan="1" colspan="1">no</td></tr>   
<tr><td rowspan="1" colspan="1">Attribute Group Definition</td><td rowspan="1" colspan="1"><code>scope::<var>qname</var></code></td><td rowspan="1" colspan="1">no</td></tr>   
<tr><td rowspan="3" colspan="1">Element Declaration</td><td rowspan="1" colspan="1">Simple Type Definition</td><td rowspan="1" colspan="1"><code>scope::<var>qname</var></code></td><td rowspan="1" colspan="1">no</td></tr>   
<tr><td rowspan="1" colspan="1">Complex Type Definition</td><td rowspan="1" colspan="1"><code>scope::<var>qname</var></code></td><td rowspan="1" colspan="1">no</td></tr>   
<tr><td rowspan="1" colspan="1">Model Group Definition</td><td rowspan="1" colspan="1"><code>scope::<var>qname</var></code></td><td rowspan="1" colspan="1">no</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="7" colspan="1">context</th></tr>   
<tr><td rowspan="2" colspan="1">Complex Type Definition</td><td rowspan="1" colspan="1">Element Declaration</td><td rowspan="1" colspan="1"><code>context::<var>qname</var></code></td><td rowspan="1" colspan="1">no</td></tr>   
<tr><td rowspan="1" colspan="1">Complex Type Definition</td><td rowspan="1" colspan="1"><code>context::<var>qname</var></code></td><td rowspan="1" colspan="1">no</td></tr>   
<tr><td rowspan="4" colspan="1">Simple Type Definition</td><td rowspan="1" colspan="1">Element Declaration</td><td rowspan="1" colspan="1"><code>context::<var>qname</var></code></td><td rowspan="1" colspan="1">no</td></tr>   
<tr><td rowspan="1" colspan="1">Attribute Declaration</td><td rowspan="1" colspan="1"><code>context::<var>qname</var></code></td><td rowspan="1" colspan="1">no</td></tr>   
<tr><td rowspan="1" colspan="1">Complex Type Definition</td><td rowspan="1" colspan="1"><code>context::<var>qname</var></code></td><td rowspan="1" colspan="1">no</td></tr>   
<tr><td rowspan="1" colspan="1">Simple Type Definition</td><td rowspan="1" colspan="1"><code>context::<var>qname</var></code></td><td rowspan="1" colspan="1">no</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="2" colspan="1">substitution group affiliation</th></tr>   
<tr><td rowspan="1" colspan="1">Element Declaration</td><td rowspan="1" colspan="1">Element Declaration</td><td rowspan="1" colspan="1"><code>substitutionGroup::<var>qname</var></code></td><td rowspan="1" colspan="1">no</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="4" colspan="1">term</th></tr>   
<tr><td rowspan="3" colspan="1">Particle</td><td rowspan="1" colspan="1">Element Declaration</td><td rowspan="1" colspan="1"><code>schemaElement::<var>qname</var>[<var>n</var>]</code></td><td rowspan="1" colspan="1">yes</td></tr>   
<tr><td rowspan="1" colspan="1">Model Group</td><td rowspan="1" colspan="1"><code>model::compositor[<var>n</var>]</code></td><td rowspan="1" colspan="1">yes</td></tr>   
<tr><td rowspan="1" colspan="1">Wildcard</td><td rowspan="1" colspan="1"><code>any::*[<var>n</var>]</code></td><td rowspan="1" colspan="1">yes</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="7" colspan="1">type definitions</th></tr>   
<tr><td rowspan="2" colspan="1">Attribute Declaration</td><td rowspan="1" colspan="1">Simple Type Definition</td><td rowspan="1" colspan="1"><code>type::<var>qname</var></code></td><td rowspan="1" colspan="1">yes</td></tr>   
<tr><td rowspan="1" colspan="1">Complex Type Definition</td><td rowspan="1" colspan="1"><code>type::<var>qname</var></code></td><td rowspan="1" colspan="1">yes</td></tr>   
<tr><td rowspan="2" colspan="1">Element Declaration</td><td rowspan="1" colspan="1">Simple Type Definition</td><td rowspan="1" colspan="1"><code>type::<var>qname</var></code></td><td rowspan="1" colspan="1">yes</td></tr>   
<tr><td rowspan="1" colspan="1">Complex Type Definition</td><td rowspan="1" colspan="1"><code>type::<var>qname</var></code></td><td rowspan="1" colspan="1">yes</td></tr>   
<tr><td rowspan="2" colspan="1">Schema</td><td rowspan="1" colspan="1">Simple Type Definition</td><td rowspan="1" colspan="1"><code>type::<var>qname</var></code></td><td rowspan="1" colspan="1">no</td></tr>   
<tr><td rowspan="1" colspan="1">Complex Type Definition</td><td rowspan="1" colspan="1"><code>type::<var>qname</var></code></td><td rowspan="1" colspan="1">no</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="3" colspan="1">assertions</th></tr>   
<tr><td rowspan="1" colspan="1">Complex Type Definition</td><td rowspan="1" colspan="1">Assertion</td><td rowspan="1" colspan="1"><code>assertion::*[<var>n</var>]</code></td><td rowspan="1" colspan="1">no</td></tr>   
<tr><td rowspan="1" colspan="1">Facet</td><td rowspan="1" colspan="1">Assertion</td><td rowspan="1" colspan="1"><code>assertion::*[<var>n</var>]</code></td><td rowspan="1" colspan="1">no</td></tr>   
</tbody>   
<tbody>   
<tr><th rowspan="2" colspan="1">alternatives</th></tr>   
<tr><td rowspan="1" colspan="1">Element Declaration</td><td rowspan="1" colspan="1">Type Alternative</td><td rowspan="1" colspan="1"><code>alternative::*[<var>n</var>]</code></td><td rowspan="1" colspan="1">no</td></tr>   
</tbody>   
</table>   
</div1>   
   
<div1 id="normative-glossary">   
<head>Glossary (Non-Normative)</head>   
<p>The listing below is for the benefit of readers of a printed version of this document:   
  it collects together all the definitions which appear in the document above.</p>   
<ednote role="glossary">   
<edtext>An XSL macro is used to   
collect definitions from throughout the spec and gather them here for easy   
reference. Should talk to Henry for details.</edtext>   
</ednote>   
   
</div1>   
   
  <div1 id="references">   
  <head>References</head>   
<div2>   
<head>Normative References</head>   
<blist>   
<bibl xmlns:xlink="http://www.w3.org/1999/xlink" id="rfc3986" key="RFC 3986" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">   
<emph><loc href="http://www.ietf.org/rfc/rfc3986.txt" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">Uniform Resource   
Identifier (URI): Generic Syntax</loc></emph>, T. Berners-Lee,  R. Fielding,   
and L. Masinter.  The Internet Society, January 2005.  This version is    
available at    
<loc href="http://www.ietf.org/rfc/rfc3986.txt" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">http://www.ietf.org/rfc/rfc3986.txt</loc>.   
</bibl>   
   
<bibl xmlns:xlink="http://www.w3.org/1999/xlink" id="xsd2" key="XSD2" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">   
<emph><loc href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">XML Schema Part 2: Datatypes Second Edition</loc></emph>,  Paul V. Biron and   
Ashok Malhotra, Editors.    
World Wide Web Consortium, 28 October 2004. This version is available at    
<loc href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/</loc>.   
The latest version is available at   
<loc href="http://www.w3.org/TR/xmlschema-2/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">http://www.w3.org/TR/xmlschema-2/</loc>.   
</bibl>   
<!--  
<bibl xmlns:xlink="http://www.w3.org/1999/xlink" id="xml" key="XML" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest" diff="add">   
<emph><loc href="http://www.w3.org/TR/2006/REC-xml-20060816"
xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">XML 1.0
(Fourth Edition)</loc></emph>, Tim Bray, Jean Paoli,
C. M. Sperberg-McQueen, Eve Maler, and
François Yergeau, editors. World Wide Web Consortium, 29 September
2006. This  
version is available at   
<loc href="http://www.w3.org/TR/2006/REC-xml-20060816" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">http://www.w3.org/TR/2006/REC-xml-20060816</loc>.  
</bibl>  
--> 
<bibl xmlns:xlink="http://www.w3.org/1999/xlink" id="xptrxmlns" key="XPTR XMLNS" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">   
<emph><loc href="http://www.w3.org/TR/2003/REC-xptr-xmlns-20030325/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">XPointer xmlns() Scheme</loc></emph>, Steven J. DeRose, Ron Daniel Jr., Eve   
Maler, Jonathan Marsh, Editors. World Wide Web Consortium, 25 March 2003.   
This version is available at   
<loc href="http://www.w3.org/TR/2003/REC-xptr-xmlns-20030325/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">http://www.w3.org/TR/2003/REC-xptr-xmlns-20030325/</loc>.   
The latest version is available at   
<loc href="http://www.w3.org/TR/xptr-xmlns/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">http://www.w3.org/TR/xptr-xmlns/</loc>.   
</bibl>   
<bibl xmlns:xlink="http://www.w3.org/1999/xlink" id="rfc3987" key="RFC 3987" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">   
<emph><loc href="http://www.ietf.org/rfc/rfc3987.txt" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">Internationalized Resource   
Identifiers (IRIs)</loc></emph>, M. Duerst and M. Suignard.  The Internet 
Society, January 2005.  This version is available at    
<loc href="http://www.ietf.org/rfc/rfc3987.txt" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">http://www.ietf.org/rfc/rfc3987.txt</loc>.   
</bibl>   
<bibl xmlns:xlink="http://www.w3.org/1999/xlink" id="xsd11_1" key="XSD11_1" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">    
<emph><loc href="http://www.w3.org/TR/2008/WD-xmlschema11-1-20080620/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">XML   
Schema Definition Language (XSD) 1.1  Part 1: Structures</loc></emph>, Shundi   
Gao, C. M. Sperberg-McQueen, Henry S. Thompson, Editors.    
World Wide Web Consortium, 20 June 2008. This   
version is available at    
<loc href="http://www.w3.org/TR/2008/WD-xmlschema11-1-20080620/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">http://www.w3.org/TR/2008/WD-xmlschema11-1-20080620/</loc>.   
The latest version is available at   
<loc href="http://www.w3.org/TR/xmlschema11-1/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">http://www.w3.org/TR/xmlschema11-1/</loc>.   
</bibl>   
   
<bibl xmlns:xlink="http://www.w3.org/1999/xlink" id="xptrframework" key="XPTR" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">   
<emph><loc href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">XPointer   
Framework</loc></emph> Paul Grosso, Eve Maler,    
Jonathan Marsh, Norman Walsh, Editors. World Wide Web   
Consortium, 25 March 2003.   
The current version is available at   
<loc href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">http://www.w3.org/TR/2003/REC-xptr-framework-20030325/</loc>   
The latest version is available at   
<loc href="http://www.w3.org/TR/xptr-framework/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">http://www.w3.org/TR/xptr-framework/</loc>.   
</bibl>   
   
<bibl xmlns:xlink="http://www.w3.org/1999/xlink" id="xsd11_2" key="XSD11_2" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">   
<emph><loc href="http://www.w3.org/TR/2008/WD-xmlschema11-2-20080620/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">XML   
Schema Definition Language (XSD) 1.1 Part 2: Datatypes</loc></emph>,     
David Peterson, Shundi Gao, Ashok Malhotra, C. M. Sperberg-McQueen, and Henry   
S. Thompson, Editors.    
World Wide Web Consortium, 20 June 2008. This version is available at    
<loc href="http://www.w3.org/TR/2008/WD-xmlschema11-2-20080620/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">http://www.w3.org/TR/2008/WD-xmlschema11-2-20080620/</loc>.    
The latest version is available at   
<loc href="http://www.w3.org/TR/xmlschema11-2/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">http://www.w3.org/TR/xmlschema11-2/</loc>.   
</bibl>   
   
<bibl xmlns:xlink="http://www.w3.org/1999/xlink" id="xsd1" key="XSD1" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">    
<emph><loc href="http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">XML Schema Part 1: Structures (Second   
Edition)</loc></emph>, Henry S. Thompson, David Beech, Murray Maloney and   
Noah Mendelsohn, Editors. World Wide Web Consortium, 28 October 2004. This   
version is available at    
<loc href="http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/</loc>. 
The latest version is available at   
<loc href="http://www.w3.org/TR/xmlschema-1/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">http://www.w3.org/TR/xmlschema-1/</loc>.   
</bibl>   
<bibl xmlns:xlink="http://www.w3.org/1999/xlink" id="leiri" key="LEIRI" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">   
<emph><loc href="http://www.w3.org/TR/2008/NOTE-leiri-20081103/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">Legacy 
extended IRIs for XML resource identification</loc></emph>, Henry S. Thompson, 
Richard Tobin, and Norman Walsh.  World Wide Web Consortium, 3 November 2008. 
This version is available at    
<loc href="http://www.w3.org/TR/2008/NOTE-leiri-20081103/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">http://www.w3.org/TR/2008/NOTE-leiri-20081103/</loc>.   
</bibl>   
</blist>   
</div2>   
<div2>   
<head>Non-normative Informational References</head>   
<blist>   
   
<bibl xmlns:xlink="http://www.w3.org/1999/xlink" id="xsd0" key="XSD0" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">    
<emph><loc href="http://www.w3.org/TR/2004/REC-xmlschema-0-20041028/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">XML Schema Part 0: Primer (Second   
Edition)</loc></emph>, David C. Fallside, Editor. World Wide Web Consortium, 28 October 2004. This   
version is available at    
<loc href="http://www.w3.org/TR/2004/REC-xmlschema-0-20041028/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">http://www.w3.org/TR/2004/REC-xmlschema-0-20041028/</loc>.   
The latest version is available at   
<loc href="http://www.w3.org/TR/xmlschema-0/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">http://www.w3.org/TR/xmlschema-0/</loc>.   
</bibl>   
<bibl xmlns:xlink="http://www.w3.org/1999/xlink" id="dom3" key="DOM3" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">   
<emph><loc href="http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">   
Document Object   
Model (DOM) Level 3 Core Specification, Version 1.0</loc></emph>,   
Arnaud Le Hors, et al, Editors. World Wide Web   
Consortium, 7 April 2004. This version is available at   
<loc href="http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/   
</loc>.   
The latest version is available at   
<loc href="http://www.w3.org/TR/DOM-Level-3-Core/" xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest">http://www.w3.org/TR/DOM-Level-3-Core/   
</loc>.   
</bibl>   
</blist>   
</div2>   
  </div1>   
 </back>   
</spec>
