<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="xmlschema-rec-comments.xsl"?>
<commentset>

<title>XML Schema: Comments on Recommendation</title>
<version>Version $Id: xmlschema-rec-comments.xml,v 1.21 2005/09/08 18:50:03 cmsmcq Exp $</version>

<description>

<blockquote style="background-color: #AAAAFF;
	margin-bottom: 3em;
	padding-top: 0.1em; padding-bottom: 0.1em;
	padding-left: 1.5em; padding-right: 1.5em;
	margin-left: 10%;
	margin-right: 10%">
<p><b>Note, 8 September 2005</b>:</p>
<p>This document was closed in
May of 2004 and is no longer being maintained.
The XML Schema Working Group is now using the public W3C instance of 
the Bugzilla issue-tracking system to manage comments on the XML
Schema Recommendation.  For current information on any of the items listed 
here, look for its number (e.g. "R-112") among
<a href="http://www.w3.org/Bugs/Public/buglist.cgi?query_format=specific&amp;bug_status=__open__&amp;product=XML%20Schema&amp;content=&amp;order=bugs.short_desc,bugs.bug_id">the Bugzilla entries for XML Schema</a>.
</p></blockquote>

<p>This document summarizes the comments on the XML Schema
Recommendation.  Comments received via the XML Schema Comments list,
up until April 18, 2004, are recorded in this version of the
document.</p>

<p>The process by which the XML Schema WG plans to handle these issues
is described at <a href="http://www.w3.org/XML/2001/07/xmlschema-errataprocess.html">http://www.w3.org/XML/2001/07/xmlschema-errataprocess.html</a>.</p>

<p>Material reproduced from comments has been marked up, and obvious
typos have been corrected.  Postings and documents which raise several
substantively distinct points have been silently divided  among
several comments. To consult the original postings, see the
archive of the www-xml-schema-comments list. </p>

<p>Commentators are requested to review the entries for the comments
they have made, and to check to make sure we have correctly understood
and paraphrased their comment. </p>

<p>In addition to the postings to the XML Schema comments list, some
postings to the XML Schema Interest-Group mailing list have been
included here; this list is W3C-internal and only those with member
access to the W3C web site will be able to follow the relevant
hyperlinks.  
</p>

<p>Not all postings to the comments mailing list have resulted in
entries in this list.   For example, postings which ask for clarification and 
do not result in any errata, are not necessarily included in this list.</p>

<p>The status of each issue [at the time this document was closed]
is recorded in the table.  The status may be:</p> 

<dl style='font-size: 75%'>
<dt>New</dt><dd>A new issue.</dd>
<dt>In progress</dt><dd>The WG is currently discussing the issue.  The issue may or may not be classified.   See the classification field for further info</dd>
<dt>Resolved </dt><dd>The issue has been classified and a resolution agreed upon by the WG.  A note to the commentator may still be pending.</dd>
<dt>Errata Drafting</dt><dd>The issue has been classified and a resolution has been agreed upon by the WG.   An editor or WG member is currently drafting text for the erratum.  </dd> <dt>Errata Proposed</dt><dd>Errata text has been drafted by an editor, and is awaiting review by the WG.</dd><dt>Errata Approved</dt><dd>Errata text has been approved by the WG, but is not yet in the Errata document</dd>
<dt>Closed</dt><dd>The issue is resolved, any relevant errata has been approved and added to the errata document. No further work is required for the issue</dd>
</dl>

<p>Issues have been assigned to clusters for convenience in managing
discussion; cluster values preceded by '!' are highest priority, those
preceded by '.' are middle priority, in the preparation of errata.
</p>
</description>

<issues>

<issue>
<item name="pfi">pfiComparingDurations</item>
<item name="num">R-1</item>
<item name="cluster">. Date/Time</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Errata drafting</item>
<item name="classification">Error w/erratum</item>
<item name="originator">Henry Zongaro</item>
<item name="responsible">Paul V. Biron</item>
<item name="shortDescription">Problem with dateTime values in 3.2.6.2</item>
<item name="longDescription"><p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0017.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0017.html</a></p>

<p>There are problems comparing certain durations because of the choice of dateTime values listed in section 3.2.6.2 of the DataTypes spec.  The problem arises out of the fact that there is no century year that is a leapyear between 399 BC and AD 399.</p></item>
<item name="discussion"></item>
<p>Discussed at the 2003-11-20 telecon.   DaveP to draft a response to the commentator, and Sandy Gao to review</p>
<item name="resolution">
<p>Discussed again at the Feb. 12, 2004 telecon.  See:
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2004Feb/0066.html">
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2004Feb/0066.html</a></p>
<p>Resolved to issue an erratum against 2e noting that algorithm is wrong and will be fixed next 
    time (add requirement against 1.1)</p>

</item>
</issue>

<issue>
<item name="pfi">pfiPrimerNumFacets</item>
<item name="num">R-2</item>
<item name="cluster">Editorial</item>
<item name="shortPart">0</item>
<item name="verbosePart">0 (Primer)</item>
<item name="status">Closed</item>
<item name="classification">Editorial</item>
<item name="originator">Dan Glickman</item>
<item name="responsible">Lisa Martin</item>
<item name="shortDescription">Primer states that there are 15 facets</item>
<item name="longDescription"><p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0189.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0189.html</a></p>

<p>The Schema Primer states "XML Schema defines fifteen facets which are listed in Appendix B", but there are only 12 facets. </p></item>
<item name="discussion"></item>
<item name="resolution"><p>An erratum will be added to the errata document indicating that there are twelve facets. </p>
<p>Erratum number is:  E0-1.</p></item>
</issue>

<issue>
<item name="pfi">pfiPrimerRestriction</item>
<item name="num">R-3</item>
<item name="cluster">! Primer</item>
<item name="shortPart">0</item>
<item name="verbosePart">0 (Primer)</item>
<item name="status">Closed</item>
<item name="classification">Clarification w/erratum</item>
<item name="originator">Eddie Robertsson</item>
<item name="responsible">Priscilla Walmsley</item>
<item name="shortDescription">Primer states that all components must be repeated in restriction</item>
<item name="longDescription"><p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0154.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0154.html</a></p>

<p>The Primer states: 
"Notice that types derived by restriction must repeat all the components
of the base type definition that are to be included in the derived
type".    However, this is not true of attributes.</p></item>
<item name="discussion"></item>
<item name="resolution"><p>An erratum will be added to the errata document indicating that only particle components need to be repeated.  </p>
<p>Erratum E0-21 added.</p></item>
</issue>

<issue>
<item name="pfi">pfiPrimerNormative</item>
<item name="num">R-4</item>
<item name="cluster">Editorial</item>
<item name="shortPart">0</item>
<item name="verbosePart">0 (Primer)</item>
<item name="status">Closed</item>
<item name="classification">Editorial</item>
<item name="originator">Donald Gignac</item>
<item name="responsible">Lisa Martin</item>
<item name="shortDescription">Conflicting statements about Primer being normative/non-normative</item>
<item name="longDescription"><p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0155.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0155.html</a></p>

<p>The introduction of the Primer indicates that the Primer is non-normative, but 
the status section indicates it may be cited as a normative reference.</p></item>
<item name="discussion"></item>
<item name="resolution"><p>An erratum will be added indicating that the text in the Status section be modified to remove any statement that the Primer may be referenced normatively. </p>
<p>Erratum number is:  E0-2.</p></item>
</issue>

<issue>
<item name="pfi">pfiPrimerTypo2.8</item>
<item name="num">R-5</item>
<item name="cluster">! Editorial</item>
<item name="shortPart">0</item>
<item name="verbosePart">0 (Primer)</item>
<item name="status">Closed</item>
<item name="classification">Editorial</item>
<item name="originator">Donald Gignac</item>
<item name="responsible">Priscilla Walmsley</item>
<item name="shortDescription">Typographical error in section 2.8 example</item>
<item name="longDescription"><p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0159.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0159.html</a></p>

<p>In the example in section 2.8, the element name should be "item", for consistency with 
preceding text, and previous examples.</p></item>
<item name="discussion"></item>
<item name="resolution"><p>An erratum will be added as proposed above. </p>
<p>Erratum E0-19 added.</p></item>
</issue>
<issue>
<item name="pfi">pfiPrimerTable4.4</item>
<item name="num">R-6</item>
<item name="cluster">Editorial</item>
<item name="shortPart">0</item>
<item name="verbosePart">0 (Primer)</item>
<item name="status">Closed</item>
<item name="classification">Editorial</item>
<item name="originator">Donald Gignac</item>
<item name="responsible">Priscilla Walmsley</item>
<item name="shortDescription">Confusing table in the Primer</item>
<item name="longDescription"><p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0163.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0163.html</a></p>

<p>Various suggestions are made to improve the usability of the table in section 4.4.</p></item>
<item name="discussion"><p>Martin will investigate possible ways to improve the format of the table.  
Also, the last entry of the table should probably indicate that a minOccurs, maxOccurs pair of (1,1) is a valid restriction of (1,1). </p></item>
<item name="resolution"><p>Erratum E0-20 added.</p></item>
</issue>

<issue>
<item name="pfi">pfiRuntimeTypes</item>
<item name="num">R-7</item>
<item name="cluster">Unclustered (Closed)</item>
<item name="shortPart"></item>
<item name="verbosePart"></item>
<item name="status">Closed</item>
<item name="classification">Future Requirement</item>
<item name="originator">Uwe Zeise</item>
<item name="responsible">Ashok Malhotra</item>
<item name="shortDescription">Request for runtime parameterization of types</item>
<item name="longDescription"><p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0175.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0175/.html</a></p>

<p>Henry's response: <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0178.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0178.html</a></p></item>
<item name="discussion"></item>
<item name="resolution"><p>This requirement will be passed to the Requirements Task Force to handle, and include in the requirements document.</p></item>
</issue>
<issue>
<item name="pfi">pfiFinalDefault</item>
<item name="num">R-8</item>
<item name="cluster">! Misc. simple types</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Error</item>
<item name="originator">Martin Gudgin</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Should finalDefault allow list, union?</item>
<item name="longDescription"><p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0182.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0182/.html</a></p>

<p>Part 2 implies they are allowed, but Structures does not.</p></item>
<item name="discussion"><p>Henry's response <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0284.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0284.html</a></p></item>
<item name="resolution"><p>An erratum will be added that lists the Structures spec changes needed to reflect 
the additional valid finalDefault values.</p></item>
</issue>

<issue>
<item name="pfi">pfiallGroup</item>
<item name="num">R-9</item>
<item name="cluster">Unclustered (Closed)</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Clarification w/erratum</item>
<item name="originator">Henry Zongaro</item>
<item name="responsible">Henry S.Thompson</item>
<item name="shortDescription">minOccurs=0 on "all"</item>
<item name="longDescription"><p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0198.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0198/.html</a></p>

<p>Section 3.8.2 permits minOccurs=0 on an "all" element, but 3.7.2 and
3.8.6 (Schema Component Constraint:  All Group Limited) prohibit the value
from being zero for all uses. </p></item>
<item name="discussion"></item>
<item name="resolution"><p>It was the intention that minOccurs=0 should be permitted on an "all" element.  
Erratum item E1-2 has been created in the Errata doc.</p></item>
</issue>
<issue>
<item name="pfi">pfiBounded</item>
<item name="num">R-10</item>
<item name="cluster">Editorial</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Editorial</item>
<item name="originator">John G. de Freitas</item>
<item name="responsible">Lisa Martin</item>
<item name="shortDescription">Definition of bounded</item>
<item name="longDescription"><p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0091.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0091/.html</a></p>

<p>The Datatypes spec states:  "A datatype is bounded if its value space has either an inclusive upper
bound or an exclusive upper bound and either an inclusive lower bound and
an exclusive lower bound."   Shouldn't the last "and" be "or"?</p></item>
<item name="discussion"></item>
<item name="resolution"><p>An erratum will be added that reflects the proposed change.</p>
<p>Erratum number is: E2-3.</p></item>
</issue>

<issue>
<item name="pfi">pfiUnionTypo</item>
<item name="num">R-11</item>
<item name="cluster">Editorial</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Editorial</item>
<item name="originator">Donald Gignac</item>
<item name="responsible">Lisa Martin</item>
<item name="shortDescription">Editorial error in section 4.1.2.3</item>
<item name="longDescription"><p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0204.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0204/.html</a></p>
<p>Section 4.1.2.3, definition of {member type definitions} states:
"If {variety} is union for any Simple Type Definition components resolved to above, then the that Simple Type Definition is replaced by its {member type definitions}. "</p></item>
<item name="discussion"></item>
<item name="resolution"><p>An erratum will be added that corrects the grammatical error.</p>
<p>Erratum number is:  E2-1.</p></item>
</issue>
<issue>
<item name="pfi">pfifinalTypo</item>
<item name="num">R-12</item>
<item name="cluster">Editorial</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Editorial</item>
<item name="originator">Donald Gignac</item>
<item name="responsible">Lisa Martin</item>
<item name="shortDescription">Editorial error in section 4.1.2</item>
<item name="longDescription"><p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0205.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0205.html</a></p>
<p>Section 4.1.2, definition of {final} states:</p>

<p>"A set corresponding to the actual value of the final   [attribute], if present, otherwise of the actual value of the finalDefault [attribute] the ancestor schema element information item, if present, otherwise the empty string, as follows: ".   Shouldn't "of" be intserted in front of "the ancestor"?</p></item>
<item name="discussion"></item>
<item name="resolution"><p>An erratum will be added that corrects the grammatical error.   The "of" in "of the finalDefault" should be moved before "the ancestor". </p>
<p>Erratum number is:  E2-4.</p></item>
</issue>

<issue>
<item name="pfi">pfihexBinaryTypo</item>
<item name="num">R-13</item>
<item name="cluster">Editorial</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Editorial</item>
<item name="originator">Eliotte Harold</item>
<item name="responsible">Lisa Martin</item>
<item name="shortDescription">Typographical error in title of section 3.2.15.2</item>
<item name="longDescription"><p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0207.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0207.html</a></p>
<p>The title is "Canonical Rrepresentation".</p></item>
<item name="discussion"></item>
<item name="resolution"><p>The spelling mistake will be corrected in an erratum.</p>
<p>Erratum number is: E2-2.</p></item>
</issue>
<issue>
<item name="pfi">pfidateTimeTypo</item>
<item name="num">R-14</item>
<item name="cluster">Editorial</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Editorial</item>
<item name="originator">Panagiotis Reveliotis</item>
<item name="responsible">Lisa Martin</item>
<item name="shortDescription">Typographical error in section 3.2.7.1</item>
<item name="longDescription"><p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0208.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0208.html</a></p>
<p>The pargraph beginning with "The CCYY field..." should be changed to:
"The CCYY field must have at least four digits, the MM, DD, hh, mm and ss
fields exactly two digits each (not counting fractional seconds); leading
zeroes must be used if the field would otherwise have too few digits."</p></item>
<item name="discussion"></item>
<item name="resolution"><p>An erratum will be added which corrects this typographical error.</p>
<p>Erratum number is:  E2-5.</p></item>
</issue>

<issue>
<item name="pfi">pfiordered</item>
<item name="num">R-15</item>
<item name="cluster">Unclustered (Closed)</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Panagiotis Reveliotis</item>
<item name="responsible">Paul Biron</item>
<item name="shortDescription">Error in definition of ordered Schema Component</item>
<item name="longDescription"><p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0210.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0210.html</a></p>
<p>Section 4.2.2.1 states:
"When {variety} is union, if {value} is true for every member of {member
type definitions} and all members of {member type definitions} share a
common ancestor, then {value} is true; else {value} is false."
But, {value} can be "partial" or "total" but not "true".</p></item>
<item name="discussion"></item>
<item name="resolution"><p>An erratum will be added to correct this text.  </p></item>
</issue>

<issue>
<item name="pfi">pfianyURITypo</item>
<item name="num">R-16</item>
<item name="cluster">Editorial</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Editorial</item>
<item name="originator">Eliotte Harold</item>
<item name="responsible">Lisa Martin</item>
<item name="shortDescription">Typographical error ("fragement") in section 3.2.17</item>
<item name="longDescription"><p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0215.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0215.html</a></p>
<p>"fragement" should be "fragment".</p> 
<p>Erratum number is:  E2-6.</p></item>
<item name="discussion"></item>
<item name="resolution"><p>An erratum will be added correctly this spelling mistake.</p></item>
</issue>

<issue>
<item name="pfi">pfibase64</item>
<item name="num">R-17</item>
<item name="cluster">Unclustered (Closed)</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Clarification w/erratum</item>
<item name="originator">Martin Duerst</item>
<item name="responsible">Ashok Malhotra</item>
<item name="shortDescription">base64 and linebreaks every 76 characters</item>
<item name="longDescription"><p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0216.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0216.html</a></p></item>
<item name="discussion"></item>
<item name="resolution"><p>The WG has decided the following: </p>
<ol>
<li>
The base64Binary type has no line length restriction on its lexical
forms.  So it's not a type error if the value contains (for example)
800 characters without any newline sequence.
</li>
<li>
The lexical form of base64Binary data can contain any of the 65
characters in the "Base64 Alphabet", plus any characters recognized by
the XML spec as whitespace.  
occur.
</li>
<li>
An erratum will be created to clarify these rules and illustrate the grammar for the 
lexical and canonical forms of the datatype.
</li>
</ol>
<p>See item E2-9 in the Errata doc.   </p></item>
</issue>

<issue>
<item name="pfi">pfipattern</item>
<item name="num">R-18</item>
<item name="cluster">! Misc. simple types</item>
<item name="shortPart">0,2</item>
<item name="verbosePart">0,2 (Primer, Datatypes)</item>
<item name="status">Closed </item>
<item name="classification">Clarification/ Error</item>
<item name="originator">Alexander Falk</item>
<item name="responsible">Priscilla Walmsley, Paul Biron</item>
<item name="shortDescription">Use of pattern facet for list type</item>
<item name="longDescription"><p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0217.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0217.html</a></p>

<p>A request for the clarification of how the pattern facet works for list datatypes.  Also, the NMTOKENS, IDREFS and ENTITIES types do not list pattern as an acceptable facet.</p></item>
<item name="discussion"></item>
<item name="resolution"><p>An erratum will be created to clarify the semantics of pattern for lists (the pattern applies to the whole list).   The erratum will also add the pattern facet to the datatypes listed. </p>
<p>Issue also affects Primer - Erratum E0-18 added for Primer.</p>
<p>Proposed datatypes text: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0234.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0234.html</a></p>
<p>Reviewed and approved, with ammendments, at Oct. 25 concall.</p>
<p>Erratum <a href="http://www.w3.org/2001/05/xmlschema-errata#e2-30">E2-30</a> added.</p>
</item>
</issue>

<issue>
<item name="pfi">pfigroup</item>
<item name="num">R-19</item>
<item name="cluster">Unclustered (Closed)</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Panagiotis Reveliotis</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">group element info item missing attributes</item>
<item name="longDescription"><p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0223.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0223.html</a></p>

<p>The XML representation for the group element information item, in section 3.7.2,  is missing the attributes "ref", "minOccurs", "maxOccurs".</p></item>
<item name="discussion"></item>
<item name="resolution"><p>An erratum, E1-3, has been created to correct this. </p></item>
</issue>

<issue>
<item name="pfi">pfitypeExampleTypo</item>
<item name="num">R-20</item>
<item name="cluster">Editorial</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Editorial</item>
<item name="originator">Panagiotis Reveliotis</item>
<item name="responsible">Lisa Martin</item>
<item name="shortDescription">Typographical error in section 3.4.2 example</item>
<item name="longDescription"><p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0219.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0219.html</a></p>

<p>In the example in section 3.4.2 of Structures, the references to types "xs:nonPositiveInteger" and "xs:non-positive-integer" should both be "xs:nonNegativeInteger".</p></item>
<item name="discussion"></item>
<item name="resolution"><p>An erratum will be added to correct this.</p></item>
</issue>

<issue>
<item name="pfi">pfiListitemType</item>
<item name="num">R-21</item>
<item name="cluster">Unclustered (Closed)</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Clarification w/Erratum</item>
<item name="originator">Panagiotis Reveliotis</item>
<item name="responsible">Paul Biron</item>
<item name="shortDescription">Clarification required re: list itemType</item>
<item name="longDescription"><p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0209.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0209.html</a></p>

<p>Is the itemType of a list meant to be of "atomic" type ONLY or
of EITHER "atomic" OR "union" type?  Sections 2.5.1.2 and 4.1.2.2 of Datatypes appear  
to be contradictory.</p></item>
<item name="discussion"></item>
<item name="resolution"><p>It was intended that the itemType be either atomic or union.   An erratum will be 
added to clarify this.</p>
</item>
<p>Errata E2-7 and E2-15 have been created for this issue.</p>
</issue>

<issue>
<item name="pfi">pfiFloat</item>
<item name="num">R-22</item>
<item name="cluster">! Numeric Types</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Ashok Malhotra</item>
<item name="responsible">Ashok Malhotra/Paul V. Biron</item>
<item name="shortDescription">Floating Point Issues and IEEE</item>
<item name="longDescription"><p>The datatypes spec has some inconsistencies with IEEE with respect to certain special values (such as NaNs).   Should it be modified to 
reflect IEEE semantics? </p>
<p>See <a href= "http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001May/0030.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001May/0030.html</a></p></item>
<item name="discussion"><p>A straw poll was held for the following questions:          </p>
<ul>
<li>Should bit patterns be allowed to be specified for NaNs?</li>
<li>Should there be a distinction made between signalling and quiet NaNs?</li>
<li>Is NaN a value?</li>
<li>Does NaN compare equal to NaN?</li>
<li>Should NaNs be comparable to non-NaN values?</li>
<li>Are -0 and +0 the same value?</li>
</ul>
<p>The results of the poll 
were summarized in the following meeting minutes: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Jul/0014.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Jul/0014.html</a></p>
<p>No firm decisions made to date.</p>
<p>Status 2002/01:  Dave P. and Ashok Malhotra have proposed the following resolution/text:
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jan/0066.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jan/0066.html</a></p>
<p>Further discussion: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jan/0101.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jan/0101.html</a></p></item>
<item name="resolution"><p>The WG resolved that this should be classified as an error, and the editors are to prepare final wording for an erratum that reflects the decisions made at the 02/01 telecon: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Feb/0009.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Feb/0009.html</a></p>
<p>Proposed erratum text reviewed at the March 28 telecon.   The WG noted 
a possible contradiction in the definition of zero
in the erratum for R-22 with our decision on R-97 and 
concluded that this erratum text is not yet ready, and instructed
the editors to deal with R-22 and R-97 in the same erratum.</p>
<p>Status 04/24:  New erratum text proposed: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Mar/0131.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Mar/0131.html</a></p>
<p>Status 05/02:  Revised text approved.</p>
<p>Erratum <a href="http://www.w3.org/2001/05/xmlschema-errata#e2-40">E2-40</a> added.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiattrRestrict</item>
<item name="num">R-23</item>
<item name="cluster">Unclustered (Closed)</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Clarification</item>
<item name="originator">Mark Huffman</item>
<item name="responsible">Lisa Martin</item>
<item name="shortDescription">Restrictions of attributes specifying "use"</item>
<item name="longDescription"><p>The constraints listed for "derivation-ok-restriction" do not appear to prohibit the 
following:  </p>
<pre>
&lt;xsd:complexType name="baseType"&gt;
     &lt;xsd:attribute name="attrib1" type="xsd:string" use="prohibited"/&gt;
&lt;xsd:complexType&gt;

&lt;xsd:complexType name="restrictedType"&gt;
     &lt;xsd:complexContent&gt;
          &lt;xsd:restriction base="baseType"&gt;
               &lt;xsd:attribute name="attrib1" type="xsd:string" use="required"/&gt;
          &lt;/xsd:restriction&gt;
     &lt;/xsd:complexContent&gt;
&lt;/xsd:complexType&gt;
</pre>

<p>Shouldn't this be disallowed, since instances of the restricted type are not valid 
instances of the base?</p>
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0225.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0225.html</a></p></item>
<item name="discussion"></item>
<item name="resolution"><p>This restriction is already disallowed by the Structures spec.  In the base type, 
there is no component for the attribute because of the use="prohibited".  Given this, 
clause 2.2 of Schema Component Constraint: Derivation Valid (Restriction, Complex) 
applies and causes this example to be invalid.</p>
<p>No erratum is required.</p></item>
</issue>

<issue>
<item name="pfi">pfipointless</item>
<item name="num">R-24</item>
<item name="cluster">Unclustered (Closed)</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Future requirement</item>
<item name="originator">Yan Leshinsky</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Derivation by Restriction: pointless occurrences</item>
<item name="longDescription"><p>The constraints for "Particle Valid (Restriction)"  indicate that pointless occurrences of sequence, all and choice should be ignored.   By doing so, it is possible that certain derived types which would otherwise be valid restrictions of their base types, become invalid.</p>   
<p>See the following for more information, and an example:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0230.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0230.html</a></p>
<p>Note that Achille Fokoue posted another example illustrating this problem.   See 
the following for more information:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0111.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0111.html</a></p>
<p>Note also that a subsequent email on pointlessness was sent in by 
Gareth Sylvester-Bradley: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0040.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0040.html</a></p>
</item>
<item name="discussion"><p>The WG has discussed various solutions: </p>
<ul>
<li> 
Leave the rules asis.</li>
<li>Modify the rules for pointlessness  
to indicate that they "may" apply instead of "must" apply</li>
<li>define a new algorithm</li>
</ul>
</item>
<item name="resolution"><p>The WG has decided that although the rules have some awkward results, they are not 
in error.  It will be put on the list of issues to consider for a future revision of 
XML Schema.</p></item>
</issue>

<issue>
<item name="pfi">pfifixedValidity</item>
<item name="num">R-25</item>
<item name="cluster">. Misc. Structures</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Error w/erratum</item>
<item name="originator">Satoshi Nakamura</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Element locally valid: fixed value constraints</item>
<item name="longDescription"><p>Clause 5.2.2.2 of "Validation Rule: Element Locally Valid (Element)" refers to {content type} in both of its sub-bullets.  However, "content type" is defined for complex types only, and the element may have simple type.  Should an editorial change be made to correct this?</p>
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0235.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0235.html</a></p></item>
<item name="discussion"></item>
<item name="resolution">
<p>Discussed at the May 29,2003 telecon. </p>
<p>RESOLVED: classify R-25 as error with erratum</p>
<p>RESOLVED: ask editor to draft a fix to qualify existing cases with "if the
actual type definition is complex" and add a new case for "simple"</p>
</item>

</issue>

<issue>
<item name="pfi">pfiPSVITypos</item>
<item name="num">R-26</item>
<item name="cluster">! Editorial</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Editorial</item>
<item name="originator">C. M. Sperberg-McQueen</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Two typos in section 3.3.5 of Structures</item>
<item name="longDescription"><p>
In section 3.3.5, under the heading Schema Information Set
Contribution: Assessment Outcome (Element), in the box
labeled "PSVI Contributions for element information items",
in item 1.1.3 for "unknown" read "notKnown".</p>
<p>
In section 3.3.5, under the heading Schema Information Set
Contribution: Element Validated by Type, in the second box
of PSVI Contributions for element information items,
for "simple thype definition" read "simple type definition".</p>
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0236.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0236.html</a></p></item>
<item name="discussion"></item>
<item name="resolution">
<p>Proposed text, available at: 
<a href=
 "http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Aug/0005.html">
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Aug/0005.html</a> 
approved at Sept. 13 concall.</p>
<p>Erratum E1-12 added</p>
</item>
</issue>

<issue>
<item name="pfi">pfiPrimerInfo</item>
<item name="num">R-27</item>
<item name="cluster">Unclustered (Closed)</item>
<item name="shortPart">0</item>
<item name="verbosePart">0 (Primer)</item>
<item name="status">Closed</item>
<item name="classification">Doc Suggestion</item>
<item name="originator">Doug Bunting</item>
<item name="responsible">Lisa Martin</item>
<item name="shortDescription">Request for additional information in the Primer</item>
<item name="longDescription"><p>This is a request for additional information in the Primer in the following areas: </p>
<ul>
<li>the default for "use" in section 2.2.1</li>
<li>using global attributes</li>
<li>default namespace</li>
</ul>
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0242.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0242.html</a></p></item>
<item name="discussion"></item>
<item name="resolution"><p>This documentation suggestion will be considered by the WG for a future revision of 
the specification.</p></item>
</issue>

<issue>
<item name="pfi">pfiElemValidType</item>
<item name="num">R-28</item>
<item name="cluster">! Misc. Structures</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Satoshi Nakamura</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Element locally valid (type): rule about "abstract"</item>
<item name="longDescription"><p>In the Structures spec, section 3.3.4 Element Locally Valid (Type), bullet 2 states:</p> 
<p>"2 Its {abstract} must be false."</p>
<p>However, the type is not necessarily complex, and "abstract" is not a property of simple types.</p>    
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0246.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0246.html</a></p></item>
<item name="discussion">
<p>Discussed at the Apr. 26 telecon: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Apr/0084.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Apr/0084.html</a>.</p> 
</item>
<item name="resolution">
<p>
The WG resolved to classify R-28 as an error and
instruct the editor to draft an erratum, 
saying that the type in
question may not have {abstract} = true, rather than saying it must
have {abstract} = false)</p>
<p>Proposed text, available at: 
<a href=
 "http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Aug/0005.html">
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Aug/0005.html</a> 
approved at Sept. 13 concall.</p>
<p>Erratum E1-13 added</p>
</item>

</issue>

<issue>
<item name="pfi">pfiDatatypesComments</item>
<item name="num">R-29</item>
<item name="cluster">! Editorial</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Editorial</item>
<item name="originator">Martin Duerst</item>
<item name="responsible">Paul V. Biron</item>
<item name="shortDescription">Remove request for comments from Datatypes</item>
<item name="longDescription"><p>The Datatypes spec has a request for comments in the appendix describing regular expressions.  Should this be removed?</p>
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0251.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0251.html</a></p></item>
<item name="discussion"></item>
<item name="resolution">
<p>Proposed text: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0235.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0235.html</a></p>
<p>Discussed and approved at Oct. 24 telecon. </p>
<p>Erratum <a href="http://www.w3.org/2001/05/xmlschema-errata#e2-31">E2-31</a> added.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiregexXmlCharRef</item>
<item name="num">R-30</item>
<item name="cluster">! Misc. simple types</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Martin Duerst</item>
<item name="responsible">Paul V. Biron</item>
<item name="shortDescription">Request for clarification of regex notation</item>
<item name="longDescription"><p>This is a request for clarification of the semantics of "XmlCharRef" in regular expressions.</p>  
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0255.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0255.html</a></p></item>
<item name="discussion"></item>
<item name="resolution"><p>The WG agreed that the commentator is correct, and that the 
production for character reference should not be in the grammar.</p> 
<p>Alexander Falk proposed the grammar change as part of mail 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Sep/0044.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Sep/0044.html</a>.</p> 
<p>Erratum item <a href="http://www.w3.org/2001/05/xmlschema-errata#e2-18">E2-18</a> was revised to incorporate this change.</p></item>
</issue>

<issue>
<item name="pfi">pfianyURI</item>
<item name="num">R-31</item>
<item name="cluster">! Misc. simple types</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Clarification w/Erratum</item>
<item name="originator">James Clark</item>
<item name="responsible">Paul V. Biron</item>
<item name="shortDescription">anyURI and xml:base</item>
<item name="longDescription"><p>In the value space of anyURI, are URIs supposed to be absolutized using
xml:base?</p> 
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0256.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0256.html</a></p></item>
<item name="discussion"></item>
<item name="resolution"><p>The WG has agreed that URIs are not to be absolutized.</p> 
<p>An erratum, E2-11, has been created that results in changes to 3.2.17 and the bibliographic reference,
specifying that we refer normatively only to section 5.4, paragraph 3 of XLink.</p></item>
</issue>

<issue>
<item name="pfi">pfipublic</item>
<item name="num">R-32</item>
<item name="cluster">. Cross-part</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Unclassified</item>
<item name="originator">Jeff Rafter</item>
<item name="responsible">Unassigned</item>
<item name="shortDescription">Type of public attribute of notation</item>
<item name="longDescription"><p>The "XML Representation Summary" for notation indicates that the public identifier 
has a value of type anyURI.   But the schema for schemas indicates that the public identifier is of a type derived from token.</p>  
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0281.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0281.html</a></p></item>
<item name="discussion"><p>Discussed briefly at a telecon in 09/2001:
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Sep/0017.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Sep/0017.html</a>.</p>  
<p>The WG decided it needed more preparation to determine the answer.</p></item>
<item name="resolution">
<p>Change made as part of erratum E1-16</p>
</item>
</issue>

<issue>
<item name="pfi">pfiIdConstraint</item>
<item name="num">R-33</item>
<item name="cluster">! Identity Constraints</item>
<item name="shortPart">0,1</item>
<item name="verbosePart">0,1 (Primer, Structures)</item>
<item name="status">Closed </item>
<item name="classification">Clarification/Error</item>
<item name="originator">Neil Graham</item>
<item name="responsible">Priscilla Walmsley, Henry S. Thompson</item>
<item name="shortDescription">Request for clarification of identity constraint rules</item>
<item name="longDescription"><p>Bullet 4.3 of section "Validation Rule: Identity-constraint Satisfied" states:</p>
<p>"If the {identity-constraint category} is keyref, then for each member of the qualified node set (call this the keyref member), there must be a node table associated with the {referenced key} in the [identity-constraint table] of the element information item (see Identity-constraint Table, which must be understood as logically prior to this clause of this constraint, below) and there must be an entry in that table whose key-sequence is equal to the keyref member's key-sequence member for member, as defined by Equal in [XML Schemas: Datatypes]."</p>
<p>Does this mean that the identity constraint referenced by the keyref must apply to the element the keyref is on or to one of its descendants, or may the identity constraint referenced by the keyref appear anywhere at all in the instance document?</p>  
<p>If the former, the Primer contains an invalid example.  Either way, this rule should be clarified.</p> 
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0275.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0275.html</a></p></item>
<item name="discussion"><p>Henry's response:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0279.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0279.html</a></p></item>
<item name="resolution"><p>The WG decided that the Structures spec needs a clarification of this constraint, and 
that the Primer has an example that is invalid.  The commentator's interpretation is 
correct, namely, that the key or unique identity constraint to which a keyref refers 
must be within the scope of the element the keyref is on.</p>
<p>Erratum E0-22 added for Primer.</p>
<p>Structures erratum 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0313.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0313.html</a> reviewed and approved at the Nov. 1 telecon.</p>
<p>Structures erratum E1-19 added</p>
</item>
</issue>

<issue>
<item name="pfi">pfisimpleTypefinal</item>
<item name="num">R-34</item>
<item name="cluster">! Final and block</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed </item>
<item name="classification">Error</item>
<item name="originator">Choi Jongwon</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Potential problem with description of final for simpleType in Structures</item>
<item name="longDescription"><p>Section 3.14.6 of Structures states the following for bullet 4:</p>
<p>If the {base type definition} is not the simple ur-type definition, all of the following must be true:</p> 
<p>4.1 The definition must be a valid restriction as defined in Derivation Valid (Restriction, Simple).</p>
<p>4.2 If {variety} is not atomic, then the appropriate case among the following must be true:</p> 
<ul>
<li>4.2.1 If the {variety} is list, then the {final} of the {base type definition} must not contain list.</li>
<li>4.2.2 If the {variety} is union, then the {final} of the {base type definition} must not contain union.</li>
</ul>
<p>However, lists and unions have the ur-type definition as a base.</p>  
<p>And, shouldn't the following rules be stated?</p>
<ul>
<li>If the {variety} is list, then the {final} of the {item type definition} must not contain list.</li>
<li>
If the {variety} is union, then the {final} of all the {member type definitions} must not contain union.</li>
</ul>
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0294.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0294.html</a></p></item>
<item name="discussion"><p>Henry's response:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0296.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0296.html</a></p></item>
<item name="resolution"><p>The WG determined that the commentator is correct, and bullet 4 of Section 3.14.6 
of Structures need to be modified to include the following rules:</p>
<ul>
<li>If the {variety} is list, then the {final} of the {item type definition} must not contain list.</li>
<li>
If the {variety} is union, then the {final} of all the {member type definitions} must not contain union.</li>
</ul>
<p>Proposed text (E1-15) available at: 
<a href=
"http://www.w3.org/XML/Group/2002/09/xmlschema-1/structures-with-errata.html#coss-st">
http://www.w3.org/XML/Group/2002/09/xmlschema-1/structures-with-errata.html#coss-st</a></p>
<p>Revised text :
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Sep/att-0224/01-e1-15.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Sep/att-0224/01-e1-15.html</a> reviewed and approved at Oct. 3 telecon.</p>

<p>Erratum E1-22 added</p>
</item>
</issue>

<issue>
<item name="pfi">pficharClassambig</item>
<item name="num">R-35</item>
<item name="cluster">Unclustered (Closed)</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Satoshi Nakamura</item>
<item name="responsible">Alexander Falk</item>
<item name="shortDescription">Regular expression grammar for charClass is ambiguous</item>
<item name="longDescription"><p>Productions [22] and [37] may cause the grammar to be ambiguous.</p>  
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0245.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001AprJun/0245.html</a></p></item>
<item name="discussion"><p>There is an ambiguity.  An erratum will be created to fix the problem.</p></item>
<item name="resolution"><p>Erratum item <a href="http://www.w3.org/2001/05/xmlschema-errata#e2-10">E2-10</a> has been created.</p></item>
</issue>

<issue>
<item name="pfi">pfiPrimerTextfont</item>
<item name="num">R-36</item>
<item name="cluster">! Editorial</item>
<item name="shortPart">0</item>
<item name="verbosePart">0 (Primer)</item>
<item name="status">Closed</item>
<item name="classification">Editorial</item>
<item name="originator">Jason Stallion</item>
<item name="responsible">Priscilla Walmsley</item>
<item name="shortDescription">Font of text in section 2.5.2 of Primer incorrect</item>
<item name="longDescription"><p>In section 2.5.2 of the Primer, the word "name" in the sentence beginning "Specifically, text appears between the elements..." should be rendered in monospaced font.</p>
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0039.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0039.html</a></p></item>
<item name="discussion"></item>
<item name="resolution">
<p>Erratum E0-17 added.</p></item>
</issue>

<issue>
<item name="pfi">pfiISO8601link</item>
<item name="num">R-37</item>
<item name="cluster">Editorial</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Editorial</item>
<item name="originator">Tony Coates</item>
<item name="responsible">Lisa Martin</item>
<item name="shortDescription">The link to ISO 8601 in the Datatypes spec doesn't work</item>
<item name="longDescription"><p>The link "http://www.iso.ch/markete/8601.pdf" in the datatypes spec does not work.</p> 
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0045.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0045.html</a></p></item>
<item name="discussion"></item>
<item name="resolution">
<p>Erratum <a href="http://www.w3.org/2001/05/xmlschema-errata#e2-42">E2-42</a> added.</p>
</item>
</issue>

<issue>
<item name="pfi">pfifractionDigits</item>
<item name="num">R-38</item>
<item name="cluster">Numeric Types</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Clarification w/Erratum</item>
<item name="originator">Kevin Yancey</item>
<item name="responsible">Paul V. Biron</item>
<item name="shortDescription">Missing constraint for fractionDigits?</item>
<item name="longDescription"><p>Is there a constraint missing for fractionDigits, indicating that the value in a 
restriction must be less than or equal to any such value in a base type definition?</p>
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0058.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0058.html</a></p></item>
<item name="discussion"><p>The WG has concluded that a constraint needs to be added, but the case where the 
base type does not specify a value needs to be examined.  Paul Biron to review all constraints of this kind to ensure they make
sense when the base type does not have a value, and to provide wording
to handle such cases.</p></item>
<item name="resolution"><p>Initial erratum for this particular case has been proposed:</p> 
<p><a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Nov/0039.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Nov/0039.html</a></p>
<p>PVB determined that no further errata was required.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiDTDforSchema</item>
<item name="num">R-39</item>
<item name="cluster">Unclustered (Closed)</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Paul V. Biron</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Error in the DTD for Schemas in Structures spec</item>
<item name="longDescription"><p>The DTD for Schemas is missing the optional annotation child of extension.</p>
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0059.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0059.html</a></p></item>
<item name="discussion"><p>Paul also pointed out that the same problem occurs for simpleContent and complexContent.</p></item>
<item name="resolution"><p>The WG agreed that the DTD for Schemas should be modified to include an 
optional annotation child for extension, simpleContent and complexContent.</p>
<p>Erratum item E1-4 has been created.</p></item>
</issue>

<issue>
<item name="pfi">pfiregex</item>
<item name="num">R-40</item>
<item name="cluster">! Misc. simple types</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed </item>
<item name="classification">Clarification w/Erratum</item>
<item name="originator">Paul V. Biron</item>
<item name="responsible">Paul V. Biron</item>
<item name="shortDescription">Clarification of the regex language in Datatypes</item>
<item name="longDescription"><p>A request to add text to the appendix for regular expressions to clarify the 
matching algorithm and to indicate that implicit anchoring occurs for patterns.</p>   
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0064.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0064.html.html</a></p></item>
<item name="discussion"></item>
<item name="resolution"><p>The WG agreed with the commentator that such a clarification should be made.</p>
<p>Final proposed text: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0243.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0243.html</a> reviewed/approved at Oct. 24 telecon.</p>
<p>Erratum <a href="http://www.w3.org/2001/05/xmlschema-errata#e2-32">E2-32</a> added.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiregexProd10</item>
<item name="num">R-41</item>
<item name="cluster">Misc. simple types</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Errata Proposed </item>
<item name="classification">Error</item>
<item name="originator">Paul V. Biron</item>
<item name="responsible">Paul V. Biron</item>
<item name="shortDescription">Error in production 10 of regex in Datatypes</item>
<item name="longDescription"><p>Production 10 should be modified to consider brace brackets as metacharacters.</p>  
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0063.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0063.html</a></p></item>
<item name="discussion"></item>
<item name="resolution"><p>The WG agreed that the grammar should be modified as per the description above. </p>
<p>Alexander Falk proposed the grammar changes in message 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Sep/0044.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Sep/0044.html</a>. 
</p>
</item>
</issue>

<issue>
<item name="pfi">pfichoicechoice</item>
<item name="num">R-42</item>
<item name="cluster">Unclustered (Closed)</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Future Requirement</item>
<item name="originator">Achille Fokoue</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Potential problem with particle derivation Choice:Choice rules</item>
<item name="longDescription"><p>The particle derivation rules for "RecurseLax" appear to prohibit the following 
type derivation.   Was this intentional, or should the rules be modified to permit such 
a derivation?   The mail below suggests a possible modification of the rules.</p>
<pre>
&lt;xs:complexType name="B"&gt;
 &lt;xs:choice minOccurs="1" maxOccurs="1"&gt;
  &lt;xs:group minOccurs="0" maxOccurs="1" ref="ChoiceGroup"/&gt;
  &lt;xs:element name="e"/&gt;
 &lt;/xs:choice&gt;
&lt;/xs:complexType&gt;

&lt;xs:complexType name="derived"&gt;
 &lt;xs:complexContent&gt;
  &lt;xs:restriction base="xs:B"&gt;
   &lt;xs:group minOccurs="0" maxOccurs="1" ref="ChoiceGroup"/&gt;
  &lt;/xs:restriction&gt;
 &lt;/xs:complexContent&gt;
&lt;/xs:complexType&gt;

&lt;xs:group name="ChoiceGroup"&gt;
 &lt;xs:choice&gt;
  &lt;xs:element name="e2"/&gt;
  &lt;xs:element name="e3"/&gt;
 &lt;/xs:choice&gt;
&lt;/xs:group&gt;
</pre>
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0035.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0035.html</a></p></item>
<item name="discussion"></item>
<item name="resolution"><p>As per issue R-24, the WG has decided that although the rules have some awkward 
results, they are not in error.  The issue will be added to a list of items to 
consider for a future revision of XML Schema.</p></item>
</issue>

<issue>
<item name="pfi">pfiPrimerTable1</item>
<item name="num">R-43</item>
<item name="cluster">Primer</item>
<item name="shortPart">0</item>
<item name="verbosePart">0 (Primer)</item>
<item name="status">Closed</item>
<item name="classification">Unclassified</item>
<item name="originator">Donald Gignac</item>
<item name="responsible">Priscilla Walmsley</item>
<item name="shortDescription">Imprecise text in Table 1 of Primer</item>
<item name="longDescription"><p>Table 1 of the Primer shows some examples that contain default values for elements/attributes.   The text in the "Notes" column should reflect the different semantics that occur for elements/attributes;  as currently written, it could be misinterpreted.</p> 
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0053.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0053.html</a></p>
<p>Also see: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0114.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0114.html</a></p></item>
<item name="discussion"></item>
<item name="resolution">
<p>Proposed erratum available at: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Aug/0010.html">
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Aug/0010.html</a></p>
<p>Text approved as ammended at Sept. 13 concall.</p>
<p>Erratum 
<a href="http://www.w3.org/2001/05/xmlschema-errata#e0-29">E0-29</a> added.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiPrimerSchemaLoc</item>
<item name="num">R-44</item>
<item name="cluster">! Editorial</item>
<item name="shortPart">0</item>
<item name="verbosePart">0 (Primer)</item>
<item name="status">Closed</item>
<item name="classification">Editorial</item>
<item name="originator">Donald Gignac</item>
<item name="responsible">Priscilla Walmsley </item>
<item name="shortDescription">Grammatical errors in section 5.6 of the Primer</item>
<item name="longDescription"><p>In the paragraph following the first example of section 5.6 of the Primer, 
"... where to find to an appropriate ..." should be "... where to find an appropriate 
...".   Also, the commentator suggests a rewording of the description of the 
schemaLocation attribute.</p> 
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0076.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0076.html</a></p></item>
<item name="discussion"></item>
<item name="resolution">
<p>Proposed erratum available at: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Aug/0010.html">
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Aug/0010.html</a></p>
<p>Text approved at Sept. 13 concall.</p>
<p>Erratum 
<a href="http://www.w3.org/2001/05/xmlschema-errata#e0-28">E0-28</a> added.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiPrimerHTMLRef</item>
<item name="num">R-45</item>
<item name="cluster">! Editorial</item>
<item name="shortPart">0</item>
<item name="verbosePart">0 (Primer)</item>
<item name="status">Closed</item>
<item name="classification">Editorial</item>
<item name="originator">Donald Gignac</item>
<item name="responsible">Priscilla Walmsley</item>
<item name="shortDescription">Inaccurate language in section 5.5 of Primer re: references to HTML</item>
<item name="longDescription"><p>In Section 5.5 of the Primer, references to "HTML" should be "XHTML".</p> 
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0078.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0078.html</a></p></item>
<item name="discussion"></item>
<item name="resolution">
<p>Erratum E0-16 added.</p></item>
</issue>

<issue>
<item name="pfi">pfiIdConstrAnnot</item>
<item name="num">R-46</item>
<item name="cluster">. Identity Constraints</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Error, Future Requirement</item>
<item name="originator">Mary Holstege</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Minor inconsistency in definition of Identity Constraints</item>
<item name="longDescription"><p>Section 3.11.1 of Structures, the schema component definition for identity 
constraints states that {fields} is a list of restricted XPath expressions, and that 
{selector} is a restricted
XPath expression.</p>
<p>Section 3.11.2, the XML 
representation for &lt;field&gt; and &lt;selector&gt; allows an &lt;annotation&gt;.
There is no schema component to which this annotation can adhere.</p>
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0079.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0079.html</a></p></item>
<item name="discussion"><p>Tentative resolution: <a href="http://www.w3.org/XML/Group/2001/10/xml-schema-ftf-minutes#ab1b3b3b3b1b2">http://www.w3.org/XML/Group/2001/10/xml-schema-ftf-minutes#ab1b3b3b3b1b2</a></p></item>
<item name="resolution"><p>An erratum will be created specifying promotion, and the issue will be included in 
the candidate list of items to consider for 1.1
</p>
<p>Proposed erratum, included in the following 
<a href=
 "http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Aug/0005.html">
 http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Aug/0005.html</a>
was approved at the Sept. 13 concall.</p>
<p>Erratum E1-14 added</p>
</item>
</issue>

<issue>
<item name="pfi">pfiRestrictEmpty</item>
<item name="num">R-47</item>
<item name="cluster">!Type deriv. rules and groups</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed </item>
<item name="classification">Clarification w/erratum</item>
<item name="originator">Henry Zongaro</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Request for clarification of complex type derivation restriction rules for empty base</item>
<item name="longDescription"><p>Constraint 5.3 of "Schema 
Component Constraint: Derivation Valid (Restriction, Complex)" states:</p>
<p>"5.3 If the {content type} of the {base type definition} is mixed or the {content type} of the complex type definition itself is element-only, then the particle of the complex type definition itself must be a valid restriction of the particle of the {content type} of the {base type definition} as defined in Particle Valid (Restriction)."</p>
<p>Does the use of the definite article in the 
phrase "the particle of the {content type} of the {base type definition}" 
imply that the {content type} must have a particle, and must not be empty?  If not, 
what prohobits the following:</p>
<pre>
  &lt;xs:complexType name="rrr" /&gt;
  &lt;xs:complexType name="sss"&gt;
    &lt;xs:complexContent&gt;
      &lt;xs:restriction base="rrr"&gt;
        &lt;xs:sequence&gt;
          &lt;xs:element name="dummy"/&gt;
        &lt;/xs:sequence&gt;
      &lt;/xs:restriction&gt;
    &lt;/xs:complexContent&gt;
  &lt;/xs:complexType&gt;
</pre>
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0081.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0081.html</a></p></item>
<item name="discussion"><p>Tentative resolution: <a href="http://www.w3.org/XML/Group/2001/10/xml-schema-ftf-minutes#ab1b3b3b3b1b3">http://www.w3.org/XML/Group/2001/10/xml-schema-ftf-minutes#ab1b3b3b3b1b3</a></p></item>
<item name="resolution"><p>The WG approved the tentative resolution above.  An erratum will be created clarifying that the example is in error not because of constraint 5.3, but because of failure to match particles in one against the other.</p>
<p>Proposed erratum available at: 
<a href="http://www.w3.org/XML/Group/2002/09/xmlschema-1/structures-with-errata.html#derivation-ok-restriction">
http://www.w3.org/XML/Group/2002/09/xmlschema-1/structures-with-errata.html#derivation-ok-restriction</a></p>
<p>Sept. 20:  RESOLVED: to accept E1-17 as amended (s/from a/by restricting a/).</p>
<p>Erratum E1-15 added.</p>

</item>
</issue>

<issue>
<item name="pfi">pfiLexgMonth</item>
<item name="num">R-48</item>
<item name="cluster">Date/Time</item>
<item name="shortPart">0,2</item>
<item name="verbosePart">0,2 (Primer, Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Henry Zongaro</item>
<item name="responsible">Priscilla Walmsley, Ashok Malhotra/Paul V. Biron</item>
<item name="shortDescription">Lexical representation of gMonth is inconsistent wrt ISO 8601</item>
<item name="longDescription"><p>There appears to be a discrepancy between the lexical 
representation of gMonth in the "XML Schema:  Datatypes" recommendation and the truncated 
representation of a month described in 5.2.1.3 of ISO 8601:1988.  The 
former indicates that the lexical representation is "--MM--", while the 
latter specifies the truncated representation as "--MM".</p>
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0094.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0094.html</a></p></item>
<item name="discussion"></item>
<item name="resolution"><p>The WG has agreed this is an error.</p>
<p>Errata E0-15 and E2-12 added.</p></item>
</issue>

<issue>
<item name="pfi">pfiYr0000</item>
<item name="num">R-49</item>
<item name="cluster">Date/Time</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">In progress</item>
<item name="classification">Unclassified</item>
<item name="originator">Henry Zongaro</item>
<item name="responsible">Unassigned</item>
<item name="shortDescription">ISO 8601:2000 defines 0000 as a valid year</item>
<item name="longDescription"><p>ISO 8601:2000  
defines 0000 to be a valid year, unlike the specification of dateTime in the "XML Schema:  Datatypes" recommendation.  Should dateTime follow ISO 8601:2000 in this respect?</p>
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0095.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0095.html</a></p></item>
<item name="discussion"><p>See:</p>
<p><a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0098.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0098.html</a></p>
<p><a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0100.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0100.html</a></p>
<p><a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0101.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0101.html</a></p>
<p>Recent discussion: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0042.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0042.html</a></p>
</item>

<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfiappInfo</item>
<item name="num">R-50</item>
<item name="cluster">! Primer</item>
<item name="shortPart">0</item>
<item name="verbosePart">0 (Primer)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Scott Means</item>
<item name="responsible">Priscilla Walmsley</item>
<item name="shortDescription">"appInfo" element in Primer vs. "appinfo" element in Structures</item>
<item name="longDescription"><p>The Primer shows the application information element as &lt;appInfo&gt; while 
Structures defines it as &lt;appinfo&gt;.</p>
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0104.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0104.html</a></p></item>
<item name="discussion"><p>Tentative resolution: <a href="http://www.w3.org/XML/Group/2001/10/xml-schema-ftf-minutes#ab1b3b3b3b1b4">http://www.w3.org/XML/Group/2001/10/xml-schema-ftf-minutes#ab1b3b3b3b1b4</a></p></item>
<item name="resolution"><p>The Structures spec is correct.  The editor will create an erratum for the Primer.</p>
<p>Erratum E0-14 added.</p></item>
</issue>

<issue>
<item name="pfi">pfiPrimer2.3</item>
<item name="num">R-51</item>
<item name="cluster">Primer</item>
<item name="shortPart">0</item>
<item name="verbosePart">0 (Primer)</item>
<item name="status">Closed</item>
<item name="classification">Clarification</item>
<item name="originator">Mark Hurley</item>
<item name="responsible">Unassigned</item>
<item name="shortDescription">Inaccurate text in section 2.3 of the Primer</item>
<item name="longDescription"><p>Section 2.3 of the Primer, paragraph 3 states:</p>  
<p>"Suppose we wish to create a new type of integer called myInteger whose range of values is between 10000 and 99999 (inclusive). We base our definition on the built-in simple type integer, whose range of values also includes integers less than 10000 and greater than 99999."</p>
<p>The second sentence should read:</p>
<p>"We base our definition on the built-in simple type integer, whose range
of values also includes integers greater than or equal to 10000 and
less than or equal to 99999."</p> 
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0108.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0108.html</a></p></item>
<item name="discussion"></item>
<item name="resolution"><p>The commentator misunderstood;  the Primer is correct.</p></item>

</issue>

<issue>
<item name="pfi">pfiCircularAttrGrp</item>
<item name="num">R-52</item>
<item name="cluster">! Type deriv. rules and groups</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed </item>
<item name="classification">Error</item>
<item name="originator">Sandy Gao</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Missing constraint for indirect circular attribute group?</item>
<item name="longDescription"><p>Constraint 3 of "Schema Representation Constraint: Attribute Group Definition Representation OK" prohibits direct circular attribute group references, but doesn't appear to 
prohibit indirect circular references.</p> 
<p>See Issue 1 from the following mail: <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0121.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0121.html</a></p></item>
<item name="discussion"><p>Tentative resolution: <a href="http://www.w3.org/XML/Group/2001/10/xml-schema-ftf-minutes#ab1b3b3b3b1b5">http://www.w3.org/XML/Group/2001/10/xml-schema-ftf-minutes#ab1b3b3b3b1b5</a></p></item>
<item name="resolution"><p>The WG resolved that the constraint (at the component level) needs to be added.  Erratum pending.</p>
<p>Proposed text: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0184.html">
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0184.html</a> reviewed and approved at Oct. 11 telecon. </p>
<p>Erratum E1-20 added</p>
</item>
</issue>

<issue>
<item name="pfi">pfiInclude</item>
<item name="num">R-53</item>
<item name="cluster">Type deriv. rules and groups</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Clarification</item>
<item name="originator">Sandy Gao</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Request for clarification of include</item>
<item name="longDescription"><p>Assuming schema document A includes schema documents B and C, where B has the
same target namespace as A, and C has no target namespace.   Which components 
may be referenced from any given component in A, B or C?</p>  
<p>In particular, 
given the following table (where 
R(A,B)=Y means components in A may refer to components in B), what should the table
entries be for any marked "?".</p>  
<pre>
R A B C
A Y Y Y
B ? Y ?
C ? ? Y
</pre>
<p>
From the spec, it appears that components in B may refer to components from A (see bullet 4 of QName resolution 
(Schema Document)).  Is this correct?  What about the other cases?</p>   
<p>See Issue 3 from the following mail: <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0121.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0121.html</a></p></item>
<item name="discussion"></item>
<item name="resolution"><p>The WG agreed that all three documents contribute components to and resolve their
references in the single target namespace, so all cells in the table
should be 'Y'.</p></item>
</issue>

<issue>
<item name="pfi">pfiur-type</item>
<item name="num">R-54</item>
<item name="cluster">! Type deriv. rules and groups</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed </item>
<item name="classification">Clarification w/erratum</item>
<item name="originator">Sandy Gao</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Request for clarification of ur-type</item>
<item name="longDescription"><p>Given the following definitions from the Structures spec:</p> 
<p>"[Definition:]  A distinguished ur-type definition is present in each XML
Schema, serving as the root of the type definition hierarchy for that
schema. The ur-type definition, whose name is anyType, has the unique
characteristic that it can function as a complex or a simple type
definition, according to context. Specifically, restrictions of the
ur-type definition can themselves be either simple or complex type
definitions."</p>
<p>and</p>
<p>
"Each simple type definition, whether built-in (that is, defined in [XML
Schemas: Datatypes]) or user-defined, is a restriction of some particular
simple base type definition. For the built-in primitive types, this is
the simple version of the ur-type definition, whose name is
anySimpleType."</p>
<p>Then:</p> 
<ol>
<li>Is the ur-type one type or two types?
<p>
From the first paragraph, the ur-type appears to be one type, with the name
anyType. But from the second paragraph, anySimpleType is a version of the ur-type. Does
this mean that ur-type is a group of types, which includes both anyType and
anySimpleType?</p></li>

<li>Is it "ur-type" or "anyType" that can function as a complex or a simple
type definition? Or both?
<p>
If "anyType" can act as a simpleType, then is the following valid?</p>
<pre>
&lt;attribute name="att" type="anyType"/&gt;
</pre>
<p>Or is anyType considered to be the "complex version" of the ur-type
definition, and it can only act as a complex type?</p></li>
</ol>

<p>See Issue 2 from the following mail: <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0121.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0121.html</a></p></item>
<item name="discussion"><p>Proposed response from Henry Thompson (to be discussed within WG): 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jan/0065.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jan/0065.html</a></p></item>
<item name="resolution"><p>Discussed and resolved at the Feb. f2f.   Henry Thompson to draft erratum reflecting his proposal (see above).   Paul Biron to check the datatypes spec for potential changes.</p>
<p>Discussed at several concalls.</p>
<p>Final proposed erratum 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Nov/0004.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Nov/0004.html</a> was approved (assuming an amendment to the S4S) at the Nov. 7 concall.</p>
<p>Erratum E1-22 added</p>
</item>
</issue>

<issue>
<item name="pfi">pfiPrimerTable2</item>
<item name="num">R-55</item>
<item name="cluster">Editorial</item>
<item name="shortPart">0</item>
<item name="verbosePart">0 (Primer)</item>
<item name="status">Closed</item>
<item name="classification">Editorial</item>
<item name="originator">Bill Thompson</item>
<item name="responsible">Priscilla Walmsley</item>
<item name="shortDescription">Typo in table 2 of the Primer</item>
<item name="longDescription"><p>Table 2 of the Primer shows the following as examples of unsignedByte:</p> 
<pre>0, 126</pre>
<p>"0, 256" was likely intended, as "256" is the upper bound for this type.</p> 
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0122.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0122.html</a></p></item>
<item name="discussion"></item>
<item name="resolution">
<p>Erratum E0-13 added.</p></item>
</issue>

<issue>
<item name="pfi">pfiDerivedDatatypes</item>
<item name="num">R-56</item>
<item name="cluster">! Editorial</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Editorial</item>
<item name="originator">Donald Gignac</item>
<item name="responsible">Paul V. Biron</item>
<item name="shortDescription">Grammatical error in section 2.5.2 of Datatypes spec</item>
<item name="longDescription"><p>The last sentence in section 2.5.2 of the Datatypes spec contains the following:</p> 
<p>"or 3) by creating a union datatype whose value space consists of the union of the value space its memberTypes. "</p>
<p>Change "the value space" to "the value spaces" and insert "of" before "its".</p>
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0130.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0130.html</a></p></item>
<item name="discussion"></item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfiTypoAssessment</item>
<item name="num">R-57</item>
<item name="cluster">Editorial</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Editorial</item>
<item name="originator">Donald Gignac</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Inconsistent capitalization in section 2.1 of Structures</item>
<item name="longDescription"><p>Section 2.1 of Structures contains:</p>
<p> "Schema-validity assessment has two aspects: 
<br/> 1 determining local schema-validity ...
<br/> 2 Synthesizing an overall validation outcome for the item ..."</p>
<p>The words "determining" and "Synthesizing" should be capitalized consistently.</p> 
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0137.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0137.html</a></p></item>
<item name="discussion"></item>
<item name="resolution">
<p>Erratum E1-42 added.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiPrimerAppC</item>
<item name="num">R-58</item>
<item name="cluster">. Primer</item>
<item name="shortPart">0</item>
<item name="verbosePart">0 (Primer)</item>
<item name="status">Closed</item>
<item name="classification">Editorial</item>
<item name="originator">Donald Gignac</item>
<item name="responsible">Priscilla Walmsley</item>
<item name="shortDescription">Errors in example in Appendix C of Primer</item>
<item name="longDescription"><ol>
<li>The root element name in the DOCTYPE declaration (PurchaseOrder) does not match 
the root element name in the instance (purchaseOrder)</li>
<li>The "orderDate" attribute value specification on the "purchaseOrder" tag is not terminated with a ".</li>
</ol>
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0144.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0144.html</a></p></item>
<item name="discussion"></item>
<item name="resolution">
<p>Erratum <a href="http://www.w3.org/2001/05/xmlschema-errata#e0-12">E0-12</a> added.</p></item>
</issue>

<issue>
<item name="pfi">pfiPrimerAppCSugg</item>
<item name="num">R-59</item>
<item name="cluster">Primer</item>
<item name="shortPart">0</item>
<item name="verbosePart">0 (Primer)</item>
<item name="status">Closed</item>
<item name="classification">Unclassified</item>
<item name="originator">Donald Gignac</item>
<item name="responsible">Priscilla Walmsley</item>
<item name="shortDescription">Suggested changes for Appendix C of Primer</item>
<item name="longDescription"><p>Various suggestions are made, including:</p> 
<ol>
<li>using the word "resolved" instead of "dereferenced" in the text that states "...the 
entity will be dereferenced before schema validation."</li>
<li>rewriting the "city" element so that the empty element tag is not used.</li>  
</ol>
<p>See the following for more information:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0145.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0145.html</a></p></item>
<item name="discussion"></item>
<item name="resolution">
<p>Proposed erratum available at: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Aug/0010.html">
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Aug/0010.html</a></p>
<p>The first 2 changes in the erratum were approved at the Sept. 13 concall</p>
<p>Erratum <a href="http://www.w3.org/2001/05/xmlschema-errata#e0-27">E0-27</a> added.</p></item>

</issue>

<issue>
<item name="pfi">pfiRestrictionSforS</item>
<item name="num">R-60</item>
<item name="cluster">! Type deriv. rules and groups</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Henry S. Thompson</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Problem with particle derivation rules and the Schema for Schemas</item>
<item name="longDescription"><p>The elt derived from choice case of particle
restriction checking rules out the derivation of the type of &lt;xs:all&gt;
from &lt;xs:explicitGroup&gt; in the Schema for Schemas.</p> 
<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0172.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0172.html</a></p></item>
<item name="discussion"></item>
<item name="resolution"><p>The WG resolved that the Schema for Schemas is in error;  Henry Thompson to prepare an erratum.</p>
<p>Proposed text at: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Apr/0074.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Apr/0074.html</a></p>
<p>Errata approved at May 2 concall.</p>
<p>Errata added as E1-8</p>

</item>
</issue>

<issue>
<item name="pfi">pfisignAllowed</item>
<item name="num">R-61</item>
<item name="cluster">! Editorial</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Thomas Broyer</item>
<item name="responsible">Paul V. Biron</item>
<item name="shortDescription">Typo in section D.3.1 "Sign Allowed" of Datatypes spec</item>
<item name="longDescription"><p>Section D.3.1 states: 
"An optional minus sign is allowed immediately preceding, without a space, the lexical representations for duration, dateTime, date, gMonth, gYear."</p>
<p>Shouldn't "gMonth" be "gYearMonth"?</p>
<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0178.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0178.html</a></p></item>
<item name="discussion"></item>
<item name="resolution">
<p>Proposed errata text available at: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Apr/0050.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Apr/0050.html</a></p>
<p>Errata approved at May 2 concall (on condition that the ins/del text be made more specific)</p>
<p>Erratum E2-19 added to the errata doc.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiIdConstrWhiteSp</item>
<item name="num">R-62</item>
<item name="cluster">Identity Constraints</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Henry S. Thompson</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Whitespace and identity constraint XPath expressions</item>
<item name="longDescription"><p>Is whitespace allowed in Identity Constraint XPath expressions?</p>
<p>The BNF in the XML Schema REC doesn't mention whitespace.  Neither
does the equivalent BNF in XPath.  But elsewhere in XPath it says
whitespace is allowed almost anywhere.</p>  
<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0183.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0183.html</a></p></item>
<item name="discussion"></item>
<item name="resolution"><p>Whitespace should be permitted in XPath expressions.  An erratum will be created to reflect this.</p>
<p>
Proposed erratum approved at the March 28 telecon.</p>
<p>Erratum added as item E1-6.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiUnionExmp</item>
<item name="num">R-63</item>
<item name="cluster">Unclustered </item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Clarification w/erratum</item>
<item name="originator">Donald Gignac</item>
<item name="responsible">Paul V. Biron</item>
<item name="shortDescription">Suggested change for union example in section 2.5.1.3 of Datatypes spec</item>
<item name="longDescription"><p>The definition of the "maxOccurs" attribute and its type is used to illustrate unions 
in section 2.5.1.3.   For completeness, the attribute declaration should probably 
contain "default=1".</p>   
<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0191.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0191.html</a></p></item>
<item name="discussion"></item>
<item name="resolution">
<p>Proposed text: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/att-0315/01-errataR-63.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/att-0315/01-errataR-63.html</a>  reviewed/approved at Nov. 1 telecon.</p>
<p>Erratum <a href="http://www.w3.org/2001/05/xmlschema-errata#e2-33">E2-33</a> added.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiComplexTypeMapping</item>
<item name="num">R-64</item>
<item name="cluster">Misc. Structures</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Asir Vedamuthu</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Issue with complex type property mapping rules for content type</item>
<item name="longDescription"><p>The complexType mapping rules state that types without children have content type empty, even if mixed is specified.</p> 
<p>See the following for some derivation examples that exhibit this:</p>
<p><a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Apr/0016.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Apr/0016.html</a></p>
<p>The following is an additional example, without an explicit derivation that illustrates the issue:</p>    
<pre>
&lt;complexType name="foo" mixed="true"&gt;
&lt;/complexType&gt;
</pre>
<p>Given the mapping rules in Structures, the type above will have content empty, and 
not mixed.</p></item>
<item name="discussion"><p>Henry's response:
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Apr/0018.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Apr/0018.html</a></p></item>
<item name="resolution"><p>The WG has resolved to classify this as an error in the Structures spec.   Henry to propose erratum.</p>
<p>April 11:  proposed erratum text approved.</p>
<p>Erratum added as E1-7.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiWildCardConstr</item>
<item name="num">R-65</item>
<item name="cluster">! Wildcards</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Sandy Gao</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Issues with the rules for wildcard union, subset, and intersection</item>
<item name="longDescription"><ol>
<li>
<p>The rules for "Schema Component Constraint: Attribute Wildcard Union" have the 
following problems:</p> 
<ul>
<li>Various references to "intersection" in this section should be "union".</li>
<li>Bullet 4 gives the rule for "...the two are negations of different namespace names..." and indicates the result in not expressible, but in fact is.</li>
</ul>
<p>See: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001May/0027.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001May/0027.html</a></p>
<p>Henry's response: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Jun/0017.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Jun/0017.html</a></p></li> 
<li>
<p>In addition, in a separate email, the commentator points out a problem with 
wildcard subset, "##other" and absent.   For example, if wildcard "w2", say, equals "absent", and wildcard "w1" is "not some-uri", then, "absent" is allowed by "w2", not allowed by "w1", and yet the rules for subset indicate that "w2" is a subset of "w1".  See:</p> 
<p><a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Jun/0009.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Jun/0028.html</a></p> 
<p>Henry's response: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Jun/0011.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Jun/0011.html</a></p></li> 
</ol>
<p>As a result of these exchanges, the commentator proposes the following modifications to wildcard union, subset and intersection:</p>  
<p><a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Jun/0028.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Jun/0028.html</a></p></item>
<item name="discussion"></item>
<item name="resolution"><p>The WG has agreed that the commentator has uncovered errors in the Structures spec.  Henry to prepare wording of an erratum.</p>
<p>Proposed text: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002May/0157.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002May/0157.html</a></p>
<p>Final text approved at the June 28 concall. </p>
</item>

</issue>

<issue>
<item name="pfi">pfiENTITY</item>
<item name="num">R-66</item>
<item name="cluster">! Misc. simple types</item>
<item name="shortPart">1,2</item>
<item name="verbosePart">1,2 (Structures, Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Asir Vedamuthu</item>
<item name="responsible">Paul V. Biron, Henry S. Thompson</item>
<item name="shortDescription">Magic built-in datatypes: ENTITY and ENTITIES</item>
<item name="longDescription"><p>The Datatypes spec states:</p>  
<p>'The value space of ENTITY is the set of all strings that match the
NCName production in [Namespaces in XML] and have been declared as an
unparsed entity in a document type definition.'</p>
<p>The commentator asserts that ENTITY is not a primitive datatype and that a processor need not enforce 
'have been declared as an unparsed .. '.   A request is made to clarify this.</p>
<p>A similiar issue is raised for ENTITIES.</p> 
<p>See: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Jun/0005.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Jun/0005.html</a></p> </item>
<item name="discussion"></item>
<item name="resolution"><p>Discussed at the Oct. 25 concall: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Oct/0054.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Oct/0054.html</a></p> 

<p>The WG resolved to classify this as an error, and instruct the editors to 
prepare an erratum.</p>
<p>Status 2002/02:  Draft erratum proposed by Paul Biron:
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Feb/0014.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Feb/0014.html</a></p> 
<p>Further discussion of the erratum at the f2f:
<a href="http://www.w3.org/XML/Group/2002/02/xml-schema-ftf-minutes.html#ab2b3b3b5c13">http://www.w3.org/XML/Group/2002/02/xml-schema-ftf-minutes.html#ab2b3b3b5c13</a></p>
<p>Further discussion at the March 28 telecon.   Datatypes erratum approved.  HST to
prepare corresponding errata text for the Structures document,
formulating the constraints which are no longer part of simple type
validity.</p>
<p>Proposed Structures errata 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0313.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0313.html</a>  was reviewed and approved with ammendments at the Nov. 1 telecon.</p>
<p>Erratum E1-18 added</p>

</item>
</issue>

<issue>
<item name="pfi">pfiTypeDerivation</item>
<item name="num">R-67</item>
<item name="cluster">! Type deriv. rules and groups</item>
<item name="shortPart">0,1</item>
<item name="verbosePart">0,1 (Primer, Structures)</item>
<item name="status">Closed</item>
<item name="classification">Clarification w/erratum, Future Requirement</item>
<item name="originator">Lisa Martin</item>
<item name="responsible">Priscilla Walmsley, Henry S. Thompson</item>
<item name="shortDescription">A question about type derivation and anonymous types</item>
<item name="longDescription"><p>Schema Component Constraint: Type Derivation OK (Simple) lists conditions
under which a simple type D is considered to be validly  derived from
another simple type B.     The first condition is:</p>
<p>
"1 They are the same type definition."</p>
<p>
Is possible for 2 anonymous simple type definitions to be considered "the
same type definition"?</p>
<p>See: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Jun/0010.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Jun/0010.html</a></p></item>
<item name="discussion"><p>Henry's response:  No, but the REC isn't completely clear about this. Clause 1 above
could probably usefully be changed to read "They are the same named type definition".  See:</p> 
<p> 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Jun/0012.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Jun/0012.html</a></p> 
<p>Further email and thoughts from Henry: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Nov/0037.html">
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Nov/0037.html</a></p>
<p>Status 2002/01:  Henry to propose a resolution/text.</p>
<p>Status 2002/02:  Proposed resolution and follow-on email from Henry: </p>
<p><a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Feb/0013.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Feb/0013.html</a></p> 
<p><a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Feb/0027.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Feb/0027.html</a></p></item>
<item name="resolution"><p>Resolved at the Feb. f2f.  Henry Thompson to draft erratum reflecting his original proposal (see above).  And, the issue of identity and anonymous types should be considered for 1.1.</p>
<p>Also, an example in the Primer needs to be modified.</p>
<p>Primer erratum E0-21 added.</p>
<p>Proposed text at: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/att-0221/00-R-67etc.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/att-0221/00-R-67etc.html</a></p>
<p>Discussed and approved at Oct. 24 telecon 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0248.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0248.html</a></p>
<p>Structures erratum E1-17 added</p>
</item>
</issue>

<issue>
<item name="pfi">pfiSimpleContent</item>
<item name="num">R-68</item>
<item name="cluster">! Type deriv. rules and groups</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Alexander Falk</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Contradiction in Structures re: base for complexTypes with simpleContent</item>
<item name="longDescription"><p>There appears to be a contradiction in Structures as to whether a complexType 
with simpleContent is allowed to be derived by restriction from a mixed type.</p>  
<p>The property mapping rules for complex type with simple content state the following for content type when restriction is chosen:</p> 
<p>"1 if the type definition resolved to by the actual value of the base
[attribute] is a complex type definition (whose own {content type} must be a
simple type definition, see below) and the restriction alternative is chosen ...".</p> 
<p>In addition, Schema Representation Constraint:  Complex Type Definition Representation OK states:</p> 
<p>"If the &lt;simpleContent&gt; alternative is chosen, the type definition resolved to by the actual value of the base [attribute] 
must be either a complex type definition whose {content type} is a simple type definition 
or, only if the &lt;extension&gt; alternative is also chosen, a simple type definition; "</p>
<p>However, "Schema Component Constraint: Derivation Valid (Restriction, Complex)" states:</p>
<p>
"5.1 If the {content type} of the complex type definition is a simple type definition, then one of the following must be true:</p>
<p>
5.1.1 The {content type} of the {base type definition} must be a simple type definition of which the {content type} is a valid restriction as defined in Derivation Valid (Restriction, Simple).</p> 
<p>
5.1.2 The {base type definition} must be mixed and have a particle which is emptiable as defined in Particle Emptiable). "</p>
<p>See: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Jun/0047.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Jun/0047.html</a></p></item>
<item name="discussion"><p>Henry's response
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Jun/0050.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Jun/0050.html</a></p> 
<p>Further discussion at the Dec f2f: 
<a href="http://www.w3.org/XML/Group/2001/12/xml-schema-ftf-minutes.html#ab1b3b3c11b2">http://www.w3.org/XML/Group/2001/12/xml-schema-ftf-minutes.html#ab1b3b3c11b2</a></p> 
<p>Status 01/2002:  Discussion to be postponed until after R-54 is resolved.  See minutes: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jan/0080.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jan/0080.html</a></p>
<p>Discussion resumed on April 16:
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-wg/2002Apr/0022.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-wg/2002Apr/0022.html</a></p></item>

<item name="resolution">
<p>Resolved at the May f2f.   The WG decided to instruct the editor to draft erratum, correcting any text which conflicts with 5.1.2 above.</p>
<p>Draft errata posted at: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0201.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0201.html</a></p>
<p>Discussed and approved at Oct. f2f.  See: 
<a href="http://www.w3.org/XML/2002/10/xml-schema-ftf-minutes">http://www.w3.org/XML/2002/10/xml-schema-ftf-minutes</a></p>
<p>Erratum E1-27 added.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiregexcharRange</item>
<item name="num">R-69</item>
<item name="cluster">Misc. simple types</item>
<item name="shortPart">0,2</item>
<item name="verbosePart">0,2 (Primer, Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Alexander Falk</item>
<item name="responsible">Priscilla Walmsley, Paul V. Biron</item>
<item name="shortDescription">Problem in the regex grammar for charRange</item>
<item name="longDescription"><p>The definition of a Character Range includes EBNF grammar rules [17] to [22] and some prose, which says:</p>
<p>A single XML character is a character range that identifies the set of characters containing only itself. All XML characters are valid character ranges, except as follows:</p> 
<ul>
<li>The [, ], and \ characters are not valid character ranges;</li>
<li>The ^ character is only valid at the beginning of a positive character group if it is part of a negative character group; and</li>
<li>The - character is a valid character range only at the beginning or end of a positive character group.</li>
</ul>
<p>The last item contradicts production [17] of the grammar.</p>
<p>See <a href=
"http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Sep/0045.html">
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Sep/0045.html</a></p></item>
<item name="discussion"><p>Discussion at the Dec f2f: 
<a href="http://www.w3.org/XML/Group/2001/12/xml-schema-ftf-minutes.html#ab1b3b3c11b3">http://www.w3.org/XML/Group/2001/12/xml-schema-ftf-minutes.html#ab1b3b3c11b3</a></p>
<p>Paul Biron to propose erratum text. </p>
<p>April 11:  WG approved erratum text, with minor modifications.</p>
<p>Primer erratum E0-11 added.  Datatypes erratum E2-18 added.</p>
</item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfiS4STypo</item>
<item name="num">R-70</item>
<item name="cluster">! Editorial</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Editorial</item>
<item name="originator">Eric van der Vlist</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Typo in the Schema for Schemas</item>
<item name="longDescription"><p>The id attribute of the unsignedByte type definition is wrong:</p> 
<pre>
&lt;xs:simpleType name="unsignedByte" id="unsignedBtype"&gt;
</pre>
<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0216.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0216.html</a></p></item>
<item name="discussion"></item>
<item name="resolution">
<p>Erratum <a href="http://www.w3.org/2001/05/xmlschema-errata#e2-29">E2-29</a> added.</p>
</item>
</issue>

<issue>
<item name="pfi">pfielemDeclConsist</item>
<item name="num">R-71</item>
<item name="cluster">! Editorial</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Editorial</item>
<item name="originator">Henry S. Thompson</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Editorial error in the text for Element Declarations Consistent</item>
<item name="longDescription"><p>In Element Declarations Consistent, name -> {name} and target
namespace -> {target namespace} in clauses (1 and 2) and 3
respectively.</p>
<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0218.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0218.html</a></p></item>
<item name="discussion"></item>
<item name="resolution"><p>Erratum E1-28 added</p></item>
</issue>

<issue>
<item name="pfi">pfiAppETypo</item>
<item name="num">R-72</item>
<item name="cluster">! Editorial</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Editorial</item>
<item name="originator">Elliotte Rusty Harold</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Typo in appendix E of Structures</item>
<item name="longDescription"><p>In Appendix E of 
<a href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#component-diagram">
http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#component-diagram</a>
 in 
the Element declaration rectangle,"substitution group affliation" should 
be "substitution group affiliation".  An "i" is missing.</p>
<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0221.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0221.html</a></p></item>
<item name="discussion"></item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfiAttrUse</item>
<item name="num">R-73</item>
<item name="cluster">. Misc. Structures</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Clarification w/erratum</item>
<item name="originator">Lisa Martin</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Question about unions of attribute uses</item>
<item name="longDescription"><p>The {attribute uses} property for an Attribute Group Definition schema component is 
defined as:</p> 
<p>"The union of the set of attribute uses corresponding to the &lt;attribute&gt; [children], if any, with the {attribute uses} of the attribute groups resolved to by the actual values of the ref [attribute] of the &lt;attributeGroup&gt; [children], if any."</p>
<p>When performing the union operation, are duplicate attribute uses included in the final set? For example, consider the following:</p> 
<pre>
 &lt;xsd:attributeGroup name="fred" &gt;
      &lt;xsd:attributeGroup ref="bas:bill"/&gt;
      &lt;xsd:attributeGroup ref="bas:bill"/&gt;
 &lt;/xsd:attributeGroup&gt;

 &lt;xsd:attributeGroup name="bill"&gt;
      &lt;xsd:attribute name="bob" type="xsd:string"/&gt;
 &lt;/xsd:attributeGroup&gt;
</pre>
<p>When we compose the "set" of {attribute uses} for fred, should we only
include the attribute use for "bob" once?   Or does the final set of
{attribute uses} contain 2 duplicate attribute uses for "bob" and result in
an error according to constraint 2, section 3.6.6?</p>
<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0003.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0003.html</a></p></item>
<item name="discussion"></item>
<item name="resolution"><p>The WG decided (at the 12/20/2001 telecon) that the example is in error.  An erratum will be created to clarify what it means to do the union operation to obtain the final 
{attribute uses}.</p></item>
</issue>

<issue>
<item name="pfi">pficircularSubstGrp</item>
<item name="num">R-74</item>
<item name="cluster">! Type deriv. rules and groups</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Henry S. Thompson</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Missing constraint for circular substitution groups?</item>
<item name="longDescription"><p>There doesn't appear to be a constraint prohibiting circular substitution groups.</p> 
<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0018.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0018.html</a></p></item>
<item name="discussion"></item>
<item name="resolution"><p>An erratum will be created to include a constraint prohibiting circular substitution groups.</p>
<p>Proposed text: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0175.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0175.html</a> reviewed at Oct. 11 telecon.   Approved with suggested ammendments (see meeting minutes for details). </p>
<p>Erratum E1-23 added</p>
</item>

</issue>

<issue>
<item name="pfi">pfimaxExclusive</item>
<item name="num">R-75</item>
<item name="cluster">Misc. simple types</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed </item>
<item name="classification">Error</item>
<item name="originator">Eric van der Vlist</item>
<item name="responsible">Paul V. Biron</item>
<item name="shortDescription">Potential problem with the rules for maxExclusive</item>
<item name="longDescription"><p>The following example is invalid according to the definition of maxExclusive, which states that "The value of maxExclusive 
must be in the value space of the base type":</p> 
<pre>
 &lt;xs:simpleType name="foo"&gt;
   &lt;xs:restriction base="xs:float"&gt;>
    &lt;xs:maxExclusive value="5"/&gt;
   &lt;/xs:restriction&gt;
 &lt;/xs:simpleType&gt;
 
 
 &lt;xs:simpleType name="bar"&gt;
   &lt;xs:restriction base="foo"&gt;
    &lt;xs:maxExclusive value="5"/&gt;
   &lt;/xs:restriction&gt;
 &lt;/xs:simpleType&gt;
</pre>
<p>Should the example be valid if "fixed" is specified for maxExclusive in the base?</p>

<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0041.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0041.html</a></p></item>
<item name="discussion"></item>
<item name="resolution"><p>At the 12/20/2001 telecon, the WG decided to treat R-75 as an error and to instruct the
editor to change the text to specify that the value of maxExclusive
must be in the value space of the base type, or else the same value as
the effective maxExclusive facet of the base type (if any).
</p>
<p>April 5:  proposed erratum approved by WG.</p>
<p>Erratum E2-39 has been added to the errata doc.</p>
</item>
</issue>

<issue>
<item name="pfi">pficontentTypeEmpty</item>
<item name="num">R-76</item>
<item name="cluster">Unclustered (Closed)</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Clarification</item>
<item name="originator">Lisa Martin</item>
<item name="responsible">Lisa Martin</item>
<item name="shortDescription">Question about content type EMPTY</item>
<item name="longDescription"><p>The {content type} of the following type is EMPTY, according to the rules for 
determining {content type} for complex types:</p> 
<pre>
   &lt;complexType name="foo"&gt;
     &lt;sequence&gt;
     &lt;/sequence&gt;
   &lt;/complexType&gt;
</pre>
<p>However, it doesn't appear that the {content type} of either of the following 
examples is EMPTY according to these rules.   Have I understood the rules correctly, and was this intended?</p> 
<pre>
   &lt;complexType name="bar"&gt;
     &lt;sequence&gt;
       &lt;sequence&gt;
       &lt;/sequence&gt;
     &lt;/sequence&gt;
   &lt;/complexType&gt;

   &lt;complexType name="bob"&gt;
     &lt;sequence&gt;
        &lt;element name="a" minOccurs="0" maxOccurs="0"/&gt;
     &lt;/sequence&gt;
   &lt;/complexType&gt;
</pre>
<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0044.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0044.html</a></p></item>
<item name="discussion"></item>
<item name="resolution"><p>The WG decided (at the 01/03/2002 telecon) that the commentator interpreted the rules correctly and they were in fact intended.  Also, it should be noted, that there are different validation semantics for elements of type "foo" and "bar".
</p></item>
</issue>

<issue>
<item name="pfi">pfiIdConstInclude</item>
<item name="num">R-77</item>
<item name="cluster">Identity Constraints</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Clarification w/erratum, Future Requirement</item>
<item name="originator">Jeni Tennison</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Issue to do with identity constraints and chameleon include</item>
<item name="longDescription"><p>An XPath expression that selects elements or attributes in a particular namespace 
must use prefixes associated with that namespace. 
If you want to use identity constraints in a chameleon schema, then, the XPath expression 
must be modified to use prefixes which are associated with the target namespace of 
the including schema.</p>
<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0047.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0047.html</a></p></item>
<item name="discussion"></item>
<item name="resolution"><p>The WG decided (at the 01/03/2002 telecon) that R-77 should be included in the list of problems to consider for
1.1, with a view toward improving things.  Also, the editor will create an erratum to 
highlight this in the Structures spec.</p></item>
</issue>

<issue>
<item name="pfi">pfiSubstGrpUPA</item>
<item name="num">R-78</item>
<item name="cluster">! UPA and content models</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Sandy Gao</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Issue to do with definition of substitution groups, block, and UPA</item>
<item name="longDescription"><p>Consider the following example: </p>
<pre>
&lt;element name="e1" block="substitution"/&gt;
&lt;element name="e2" substitutionGroup="s:e1"/&gt;

&lt;complexType name="t"&gt;
&lt;choice>
  &lt;element ref="s:e1"/&gt;
  &lt;element ref="s:e2"/&gt;
&lt;/choice&gt;
&lt;/complexType&gt;
</pre>
<p>The choice violates the constraints for UPA, because "e2" is in "e1"'s substitution 
group.   However, "e2" can never substitute "e1".  </p>
<p>Should the definition of substitution group (Schema Component Constraint: Substitution Group) be modified? </p>
<p>See bullet 1 from: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0049.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0049.html</a></p></item>
<item name="discussion"><p>See the discussion from the 01/03/2002 telecon: 
<a href=
"http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jan/0006.html">
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jan/0006.html</a></p>
<p>Further discussion at the 01/24/2002 telecon: 
<a href=
"http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jan/0082.html">
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jan/0082.html</a></p></item>
<item name="resolution"><p>The WG resolved to classify R-78 as an error, and instruct the editor to draft an
erratum, defining substitution group not recursively as now but using
a formulation similar to that of 3.3.6 Substitution Group OK
(Transitive), while not changing other constraints (such as the
requirement that the data types of the two elements stand in a
particular derivation relation).  See: 
<a href=
"http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jan/0101.html">
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jan/0101.html</a></p>
<p>Proposed text: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0175.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0175.html</a> reviewed at Oct. 11 telecon.   Approved with suggested ammendments (see meeting minutes for details). </p>
<p>Erratum E1-23 added</p>
</item>

</issue>


<issue>
<item name="pfi">pfiValidTypeDer</item>
<item name="num">R-79</item>
<item name="cluster">. Type deriv. rules and groups</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Error</item>
<item name="originator">Sandy Gao</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Ambiguity in statements about valid type derivation</item>
<item name="longDescription"><p>In various places in the Structures spec, statements like the following appear: </p>
<p>
"type definition A must be validly derived from type definition B given its
{prohibited substitutions}, as defined in Type Derivation OK (Complex)
(213.4.6) (if it is a complex type definition), or given the empty set, as
defined in Type Derivation OK (Simple) (213.14.6) (if it is a simple type
definition)."
</p>
<p>Questions: </p>
<ol>
<li>Which type does each reference of "it" refer to in the paragraph above?</li>
<li>There is no constraint for the case where A is a simple
type and B is a complex type; how do we check whether the type
"string" is a valid derivation from "anyType"?</li>
</ol>
<p>See bullet 2 from: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0049.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0049.html</a></p></item>
<item name="discussion"></item>
<item name="resolution">
<p>The WG resolved to classify R-79 as an error, at the March 14 telecon</p>
</item>
</issue>

<issue>
<item name="pfi">pfiother</item>
<item name="num">R-80</item>
<item name="cluster">. Wildcards</item>
<item name="shortPart">0,1</item>
<item name="verbosePart">0,1 (Primer, Structures)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Amy Moulton</item>
<item name="responsible">Priscilla Walmsley, Henry S. Thompson</item>
<item name="shortDescription">Meaning of ##other</item>
<item name="longDescription"><p>
There is contradictory definition of the meaning of ##other in
the Rec Draft of XML Schema. One section indicates that any
attribute/element from any namespace other than the target namespace is
valid, including absent namespace. Another section specifies that a valid
attribute/element must be namespace qualified. So is the absent namespace valid
or not?</p>
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0052.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0052.html</a></p></item>
<item name="discussion"><p>Henry confirmed that absent is not included.   Note that a related issue was raised in 
R-65.</p></item>
<item name="resolution"><p>Henry to draft erratum correcting the text in section 3.10.1.</p>
<p>Proposed text approved at the June 28 concall.</p>
<p>Primer erratum E0-10 added.   Structures erratum E1-11 added.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiPrimerIDConst</item>
<item name="num">R-81</item>
<item name="cluster">! Identity Constraints</item>
<item name="shortPart">0</item>
<item name="verbosePart">0 (Primer)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Priscilla Walmsley</item>
<item name="responsible">Priscilla Walmsley</item>
<item name="shortDescription">Error in Primer example of identity constraints</item>
<item name="longDescription"><p>There is an error in the example of section 5.1 of the Primer (entitled "A 
Unique Composed Value"):</p>
<pre>
&lt;unique name="dummy1"&gt;
  &lt;selector xpath="r:regions/r:zip"/&gt;
  &lt;field    xpath="@code"/&gt;
  &lt;field    xpath="r:part/@number"/&gt;
 &lt;/unique&gt;
</pre>
<p>
The rules of identity constraints say that the field xpath should only
return one node for each node selected by the selector [1]. In this case, an
r:zip can contain many r:parts, each with their own number attribute.  This
violates the rule.
</p>
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0055.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0055.html</a></p></item>
<item name="discussion"></item>
<item name="resolution"><p>The WG agreed that the commentator was correct.</p>   
<p>Priscilla proposed the following erratum to the WG: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-wg/2002Jan/0050.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-wg/2002Jan/0050.html</a></p>
<p>New proposed erratum available at: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Aug/0010.html">
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Aug/0010.html</a></p>
<p>Text approved at Sept. 13 concall.</p>
<p>Erratum <a href="http://www.w3.org/2001/05/xmlschema-errata#e0-26">E0-26</a> added.</p>
</item>

</issue>

<issue>
<item name="pfi">pfiPrimerEdErrors</item>
<item name="num">R-82</item>
<item name="cluster">. Primer</item>
<item name="shortPart">0</item>
<item name="verbosePart">0 (Primer)</item>
<item name="status">Closed</item>
<item name="classification">Unclassified</item>
<item name="originator">Priscilla Walmsley</item>
<item name="responsible">Priscilla Walmsley</item>
<item name="shortDescription">Three editorial errors in the Primer</item>
<item name="longDescription"><p>The commentator points out editorial errors in sections 2.3.1, 5.1 and 5.2. </p>
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0059.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0059.html</a></p></item>
<item name="discussion"></item>
<item name="resolution">
<p>Errata E0-7,8,9 added.</p></item>
</issue>

<issue>
<item name="pfi">pfitoken</item>
<item name="num">R-83</item>
<item name="cluster">Misc. simple types</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed </item>
<item name="classification">Error</item>
<item name="originator">Henry S. Thompson</item>
<item name="responsible">Paul V. Biron/Ashok Malhotra</item>
<item name="shortDescription">Token should exclude #xD from lexical and value spaces</item>
<item name="longDescription"><p>The "token" datatype should exclude #xD (in addition to #xA) in the lexical and value space.</p> 
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0064.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0064.html</a></p></item>
<item name="discussion"></item>
<item name="resolution"><p>Discussed at the Feb. 7 concall: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Feb/0017.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Feb/0017.html</a></p>
<p>The WG resolved that the commentator is correct;  Datatypes editors to draft an erratum.</p>
<p>March 28:  erratum approved and to be added to errata doc.</p>
<p>Erratum E2-17 added to errata doc.</p>
</item>
</issue>

<issue>
<item name="pfi">pfitoken</item>
<item name="num">R-84</item>
<item name="cluster">. Final and block</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Clarification w/erratum</item>
<item name="originator">Priscilla Walmsley</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Can final="extension" for simpleType?</item>
<item name="longDescription"><p>The Datatypes rec and the Schema for Datatypes do not allow the value
"extension" for the final attribute of a simpleType.</p>
<p>
However, section 3.4.6 of the Structures rec (under Derivation Valid
(Extension)) says:</p>
<p>
2 If the {base type definition} is a simple type definition, then all of the
following must be true:
</p>
<ul>
<li>  2.1 The {content type} must be the same simple type definition.</li>
<li>  2.2 The {final} of the {base type definition} must not contain extension.</li>
</ul>
<p>
It seems that 2.2 will always be true.  Is this an oversight? </p>
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0067.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0067.html</a></p></item>
<item name="discussion"><p>See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0068.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0068.html</a></p>
<p>and
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0069.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0069.html</a></p></item>
<item name="resolution">
Resolved at the March 8 telecon to class R-84 as clarification with erratum and
change the Structures spec to agree with Datatypes as regards
final='extension' on simple types.
</item>
</issue>

<issue>
<item name="pfi">pfiQName</item>
<item name="num">R-85</item>
<item name="cluster">QNames</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Clarification w/erratum</item>
<item name="originator">Eric Van der VList</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Request for clarification of QName type</item>
<item name="longDescription"><p>The Datatypes spec is not clear about the interpretation of QNames without 
prefixes.   There is simply a reference to the XML Namespaces spec. </p>
<p>
See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0071.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0071.html</a></p></item>
<item name="discussion"><p>Henry's response:</p> 
<p>This should be clarified in the REC -- the intention is that
unprefixed names are qualified iff there is a default namespace
declaration in scope, i.e. as per element names, not attribute names,
in XML 1.0 plus Namespaces.</p>
<p>
The definition should also make clear that the value space includes
pairs of "no known namespace", local name, which
correspond to unprefixed QNames when no default declaration is in
scope.</p></item>
<item name="resolution"><p>Henry Thompson to draft erratum text reflecting discussion above.</p></item>
</issue>

<issue>
<item name="pfi">pfiUPA</item>
<item name="num">R-86</item>
<item name="cluster">UPA and content models</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Clarification w/erratum</item>
<item name="originator">Sandy Gao</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Request for clarification of UPA</item>
<item name="longDescription"><p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0075.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0075.html</a></p></item>
<item name="discussion"></item>
<item name="resolution"><p>This is a duplicate of rec issue R-101, and will be closed when R-101 is closed.   See R-101 for more details.</p></item>
<p>Erratum E1-29 added.</p>
</issue>

<issue>
<item name="pfi">pfiStruct3.4.2</item>
<item name="num">R-87</item>
<item name="cluster">! Misc. Structures</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Stanley Guan</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Error in section 3.4.2 of Structures</item>
<item name="longDescription"><p>Should the following description in XML Representation Summary: complexType
 Element Information Item be changed from:</p>
<p>
"2.1.2 otherwise a wildcard whose {process
contents} and {annotation} are those of the
complete wildcard, and whose {namespace
constraint} is the intensional union of the
{namespace constraint} of the effective
wildcard and of the base wildcard, as
defined in Attribute Wildcard Union
(213.10.6)."
</p>
<p> to:</p> 
<p>
"2.1.2 otherwise a wildcard whose {process
contents} and {annotation} are those of the
complete wildcard, and whose {namespace
constraint} is the intensional union of the
{namespace constraint} of the complete
wildcard and of the base wildcard, as
defined in Attribute Wildcard Union
(213.10.6)."
</p>

<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0083.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0083.html</a></p></item>
<item name="discussion"><p>Henry's response:  Yes.</p>
<p>Discussed at the Apr. 26 telecon:
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Apr/0084.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Apr/0084.html</a>.</p> 
</item>
<item name="resolution">
<p>The WG resolved to classify R-87 as an error and instruct HST to draft erratum for R-87 substituting "complete wildcard"
for "effective wildcard" in XML Representation Summary: complexType
Element Information Item.</p>
<p>Erratum E1-30 added.</p>
</item>

</issue>

<issue>
<item name="pfi">pfiNOTATION</item>
<item name="num">R-88</item>
<item name="cluster">! Misc. simple types</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed </item>
<item name="classification">Clarification w/erratum</item>
<item name="originator">Eric van der Vlist</item>
<item name="responsible">Ashok Malhotra, Paul V. Biron</item>
<item name="shortDescription">Suggested changes to clarify NOTATION</item>
<item name="longDescription"><p>The commentator suggests: </p>
<ul>
<li>Adding a note to the description of NOTATION stating that for compatability, 
qualified QNames should not be used in the lexical space</li>
<li>Changing the definition of the lexical space of NOTATION from:   
<p>
"The
 lexical space of
 NOTATION is the set of
 all names of notations
 declared in the current
 schema."
</p>
<p>to:</p>
<p>
"The lexical
 space of NOTATION is
 the set of all QNames of
 notations declared in
 the current schema."
</p></li>
</ul>
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0095.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0095.html</a></p></item>
<item name="discussion"><p>Discussed at the Feb. 7 concall: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Feb/0017.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Feb/0017.html</a></p>
<p>Discussed at the Feb. 21 concall:
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Feb/0146.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Feb/0146.html</a></p></item>
<item name="resolution"><p>Errata will be created to:</p>
<ol>
<li>change the definition of the lexical space to use "QNames" instead of "names" as suggested</li>
<li>add a compatability note as suggested</li>
</ol>
<p>April 5: The WG reviewed the proposed erratum text and decided it needed to be revised to describe a smaller
value space, and modify the compatibility note.
</p>
<p>Proposed text: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0317.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0317.html</a></p>
<p>Reviewed at Nov. 1 telecon.  Approved with ammendements. </p>
<p>Erratum <a href="http://www.w3.org/2001/05/xmlschema-errata#e2-34">E2-34</a> added.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiinteger</item>
<item name="num">R-89</item>
<item name="cluster">! Misc. simple types</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed </item>
<item name="classification">Error</item>
<item name="originator">Henry Zongaro</item>
<item name="responsible">Paul V. Biron, Ashok Malhotra</item>
<item name="shortDescription">Is a trailing decimal point permitted for integer?</item>
<item name="longDescription"><p>
According to section 3.13.1, "integer is derived from decimal by fixing 
the value of fractionDigits to be 0."  But a decimal with fractionDigits 
of 0 can still have a trailing decimal point (see section 3.2.3.1).  
However, the Lexical representation of integer described in section 
3.3.13.1 doesn't mention that a trailing decimal point is permitted.</p>
<p>Does 3.3.13.1 implicitly describe an additional pattern facet that is 
also applied to the decimal datatype in deriving the integer datatype, or 
is 3.3.13 intended to be a complete description, while 3.3.13.1 is 
intended to be expository in nature?</p>
<p>According to section 3.3, "the complete definitions of the built-in 
derived datatypes are provided in Appendix A."  But the definition for 
integer that appears in the Schema for Datatype Definitions in Appendix A 
does not prohibit a trailing decimal point from appearing on an 
integer value through an additional pattern facet.  Given this, is 3.3.13.1 in error? 
</p>
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0099.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0099.html</a></p></item>
<item name="discussion"><p>Discussed at the Feb. 14 concall: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Feb/0087.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Feb/0087.html</a></p></item>
<item name="resolution"><p>The WG resolved that a trailing decimal point is not permitted, and the 
editors will draft an erratum changing the schema for schemas, adding a 
pattern facet to the derivation of integer.</p>
<p>April 5:  the WG reviewed proposed erratum text and decided that it needed to be revised to add a
replacement for the first sentence of section 3.3.13.
</p>
<p>See proposed text at: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Sep/0121.html">
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Sep/0121.html</a></p>
<p>Sept. 26 concall: RESOLVED: approve the correction for R-89 as drafted.</p>
<p>Erratum <a href="http://www.w3.org/2001/05/xmlschema-errata#e2-43">E2-43</a> added.</p>

</item>
</issue>

<issue>
<item name="pfi">pfidateTime</item>
<item name="num">R-90</item>
<item name="cluster">! Date/Time</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Error</item>
<item name="originator">Henry Zongaro</item>
<item name="responsible">Ashok Malhotra/Paul V. Biron</item>
<item name="shortDescription">Questions about the lexical and canonical rep'ns of dateTime</item>
<item name="longDescription"><p>
Sections 3.2.7.1 and 3.2.7.2 of the Datatypes Recommendation define 
the lexical and canonical representations of the dateTime datatype, 
respectively.  Section 3.2.7.1 states, in part that:</p>
<p>
"Additional digits can be used to increase the precision of fractional 
seconds if desired i.e the format ss.ss... with any number of digits after 
the decimal point is supported. To accommodate year values greater than 
9999 additional digits can be added to the left of this representation."</p>
<p>Questions: </p>
<ul>
<li>
Unlike the definition of decimal (3.2.3), this definition doesn't
specify the minimum number of additional year digits nor the minimum
number of additional digits in the fractional portion of the seconds
that needs to be supported by a processor.  Does a processor really
need to be prepared to handle an arbitrary number of digits?
Obviously this can have a significant effect on an implementation.</li>
<li>
ISO 8601 specifies that 24:00:00 of one day is the same as 00:00:00
of the following day.  Which is the permitted form in the canonical
representations of the various types?</li>
</ul>
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0124.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0124.html</a></p></item>
<item name="discussion"><p>Ashok's response: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0125.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0125.html</a></p></item>
<item name="resolution"><ol>
<li>The WG agreed that the minimum number of digits needs to be specified.</li>  
<li>The WG agreed that a canonical form needs to be chosen for "24:00:00" for the various types.</li>
</ol>
<p>Proposed errata text for the 2 issues: </p>
<p>
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-wg/2002Jan/0038.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-wg/2002Jan/0038.html</a></p>
<p>
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-wg/2002Jan/0039.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-wg/2002Jan/0039.html</a></p>
<p>Text discussed at the Feb. 7 concall: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Feb/0017.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Feb/0017.html</a></p>
<p>Further discussion of the decisions to be made for the text launched on 
the ig list:
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Feb/0046.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Feb/0046.html</a></p>
<p>Further discussion at the Apr. 11  telecon: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Apr/0025.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Apr/0025.html</a></p>
<p>The only remaining issue to be resolved is item 5 from list of questions.</p>
<p>Status 06/28:  Discussed at length at the June 14, 20 and 28 concalls.   No consensus was reached.   Latest discussion and summary of open issues can be found at: 

<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jul/0004.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jul/0004.html</a></p>
<p>Discussed and resolved at the July f2f
<a href="http://www.w3.org/XML/Group/2002/07/xml-schema-ftf-minutes.html#ab3b3b3b5">
http://www.w3.org/XML/Group/2002/07/xml-schema-ftf-minutes.html#ab3b3b3b5</a>
</p>
<p>Paul Biron to produce errata text.</p>
<p>Discussed again at the Oct. 25 telecon.  WG resolved that the minimum number of digits to be supported is 3.</p>
<p>Ashok drafted some text - see: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-wg/2003May/0028.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-wg/2003May/0028.html</a>
</p>
<p>Part of the proposed text, i.e. the conformance note, was approved at the May 23,2003 telecon.   Additional text, describing behaviour when a processor receives more digits than it supports is still pending approval. </p>

</item>
</issue>

<issue>
<item name="pfi">pfigrpRedefExt</item>
<item name="num">R-91</item>
<item name="cluster">Named Groups</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Henry S. Thompson</item>
<item name="responsible">Unassigned</item>
<item name="shortDescription">Optional self-reference in group redefinition</item>
<item name="longDescription"><p>
The extension variant of group redefinition: </p>
<ul>
<li>allows pre-extension</li> 
<li>doesn't actually require extension since the self-reference can appear in a choice or optional sequence</li>
</ul>
<p>The commentator suggests that the semantics be modified to match those of type extension.</p>    
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0168.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0168.html</a></p></item>
<item name="discussion"></item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfigrpRedefine</item>
<item name="num">R-92</item>
<item name="cluster">Named Groups</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Henry S. Thompson</item>
<item name="responsible">Unassigned</item>
<item name="shortDescription">Clarification required for group redefinition</item>
<item name="longDescription"><p>A model group definition which contains within it an anonymous complex 
type definition which itself references that very group is allowed: </p>
<pre>
&lt;xs:group name="list"&gt;
 &lt;xs:sequence&gt;
  &lt;xs:element name="item"&gt;
   &lt;xs:complexType&gt;
    &lt;xs:sequence&gt;
     &lt;xs:element name="value"/&gt;
     &lt;xs:group ref="list" minOccurs="0"/&gt;
    &lt;/xs:sequence&gt;
   &lt;/xs:complexType&gt;
  &lt;/xs:element&gt;
 &lt;/xs:sequence&gt;
&lt;/xs:group&gt;
</pre>
<p>
Attempting to redefine such a group by extension is impossible,
because of clause 6.1 of Schema Representation Constraint: Redefinition
Constraints and Semantics. </p>
<p>
A clarification stating that the references checked are those within the
content model as such, not within types embedded therein, should be made.</p>
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0169.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0169.html</a></p></item>
<item name="discussion"></item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfianyAttrRestrict</item>
<item name="num">R-93</item>
<item name="cluster">Wildcards</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Error w/erratum</item>
<item name="originator">Kohsuke Kawaguchi</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Problem with derivation by restriction and anyAttribute</item>
<item name="longDescription"><p>The following derivation is valid: </p>
<pre>
&lt;xs:complexType name="D"&gt;
   &lt;xs:complexContent&gt;
     &lt;xs:restriction base="B"&gt;
       &lt;xs:anyAttribute namespace="urn:foo" processContents="skip"/&gt;
     &lt;/xs:restriction&gt;
   &lt;/xs:complexContent&gt;
&lt;/xs:complexType&gt;
</pre>
<p>but D is not a subset of B. </p>
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0178.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0178.html</a></p></item>
<item name="discussion"><p>Henry's response: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0180.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0180.html</a></p></item>
<item name="resolution">
</item>
<p>Proposed text 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Nov/0006.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Nov/0006.html</a> approved at Nov. 7 telecon.</p>
<p>Erratum E1-21 added</p>
</issue>

<issue>
<item name="pfi">pfiIdConsRestrict</item>
<item name="num">R-94</item>
<item name="cluster">Identity Constraints</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Clarification w/erratum, Future requirement</item>
<item name="originator">Khaled Noaman/Henry S. Thompson</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Issues with identity constraints and derivation by restriction</item>
<item name="longDescription"><p>In the section titled 'Schema Component Constraint: Particle
Restriction OK (Elt:Elt -- NameAndTypeOK)', the following is
mentioned:</p>
<p>
"For an element declaration particle to be a valid restriction of
another element declaration particle all of the following must be
true:</p>
<p>
 5 R's declaration's {identity-constraint definitions} is a subset of
B's declaration's {identity-constraint definitions}, if any."
</p>
<p>The issues are: </p> 
<ol>
<li>the spec should be clarified to state what "subset" means</li>  
<li>the subset requirement 
runs the wrong way -- the derived element's IC's should be a
_super_set of the base's.</li>
<li>an  element decl in a restriction
can't have the same ICs as its corresponding decl in the base,
because that would violate the named-components-are-unique constraint</li>
</ol>
<p>The original questions were posted to the schema-dev list.    Henry summarized the issues in the following mail on schema-comments:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0187.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0187.html</a></p>
<p>and:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0188.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0188.html</a></p></item>
<item name="discussion"><p>See:  
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jan/0072.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jan/0072.html</a></p></item>
<item name="resolution"><p>Henry Thompson will create an erratum that highlights the current limitations (see bullet 3 above).  The WG may revisit this issue in a future specification.</p></item>
</issue>

<issue>
<item name="pfi">pfiPrimerPDF</item>
<item name="num">R-95</item>
<item name="cluster">Unclustered (Closed)</item>
<item name="shortPart">0</item>
<item name="verbosePart">0 (Primer)</item>
<item name="status">Closed</item>
<item name="classification">Doc Suggestion</item>
<item name="originator">Kenneth Geisshert</item>
<item name="responsible">Unassigned</item>
<item name="shortDescription">Request for PDF version of the Primer</item>
<item name="longDescription"><p>This is a request that the WG produce the Primer as a PS or PDF file.</p> 
<p>See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0203.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0203.html</a></p></item>
<item name="discussion"></item>
<item name="resolution"><p>This will be added to the list of requirements for a future revision of the 
specification.</p></item>
</issue>

<issue>
<item name="pfi">pfiAttrScope</item>
<item name="num">R-96</item>
<item name="cluster">Misc. Structures</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Error</item>
<item name="originator">Henry S. Thompson</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Problem with scope property of attributes</item>
<item name="longDescription"><p>An attribute declaration may be local to an attribute group
definition, in which case its scope is specified as *absent*.</p>
<p>
But when the group is referenced in a complex type definition, the spec 
doesn't specify that it's scope is set to that of the complex type. </p>
<p>There may be a similar problem for elements/element groups as well.</p>
<p>See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0209.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0209.html</a></p></item>
<item name="discussion"></item>
<item name="resolution">
<p>Resolved at May f2f as an error.  Editor is instructed to draft erratum that repairs the limitations imposed by the spec, and to do so for elements and elementGroups as well.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiCanonFloat</item>
<item name="num">R-97</item>
<item name="cluster">! Misc. simple types</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Ashok Malhotra</item>
<item name="responsible">Paul V. Biron, Ashok Malhotra</item>
<item name="shortDescription">Problem with canonical rep'n of float/double</item>
<item name="longDescription"><p>The existing text for the canonical representation for float/double reads:</p>
<blockquote>
Specifically, the exponent must be indicated by "E". Leading zeroes and
the preceding optional "+" sign are prohibited in the exponent. For the
mantissa, the preceding optional "+" sign is prohibited and the decimal
point is required. For the exponent, the preceding optional "+" sign is
prohibited. Leading and trailing zeroes are prohibited subject to the
following: number representations must be normalized such that there is
a single digit to the left of the decimal point and at least a single
digit to the right of the decimal point.
</blockquote>
<p>The problem is that the single digit to the left of the decimal point is
allowed to be zero.  This allows 1.0E1, 0.1E02 and 0.01E3 etc. as legal
canonical representations for the same number.</p>
<p>See the following for a suggested resolution:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0214.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0214.html</a></p></item>
<item name="discussion"></item>
<item name="resolution"><p>Discussed at the Feb. 14 concall: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Feb/0087.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Feb/0087.html</a></p>
<p>The WG agreed that this is an error.   Datatypes editors to draft erratum 
similiar to what was proposed in the email. </p>
<p>Status 04/24:  Erratum text has been proposed as part of the text for issue R-22</p>
</item>
</issue>

<issue>
<item name="pfi">pfiCanonQName</item>
<item name="num">R-98</item>
<item name="cluster">. Qnames</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">In progress</item>
<item name="classification">Error</item>
<item name="originator">Sandy Gao</item>
<item name="responsible">Paul V. Biron/Ashok Malhotra</item>
<item name="shortDescription">Question about the canonical rep'n of QName</item>
<item name="longDescription"><p>The lexical representation of a QName has the form "prefix:localpart" (or
"localpart"), and the value of a QName is a tuple {namespace, localpart}.
How is a QName value converted to its canonical representation?</p> 
<p>
This problem occurs when a default/fixed attribute/element value is of type QName.  In this case, how is it applied to the instance?  For example:</p>
<pre>
&lt;attribute name="att" type="QName" xmlns:p1="my_uri" default="p1:local"/&gt;
</pre>
<p>
If the above attribute doesn't appear in an instance, we should add a new
attribute. But what would be the (string) value of the added attribute? (Note
that the prefix "p1" might not be declared in the instance, or it's
possible to be bound to a different namespace uri.)</p>
<p>See question 1 from: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0222.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0222.html</a></p></item>
<item name="discussion"><p>See:
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jan/0080.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jan/0080.html</a></p>
<p>The WG agreed that this is an error, will attempt to come up with a fix for 1.0, and will definitely add it to the list of issues to consider for 1.1.   In addition, the datatypes editors will work on text which augments "Validation Rule: Datatype Valid" in section
4.1.4, indicating that the lexical form must map to a value.</p></item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfilengthFacet</item>
<item name="num">R-99</item>
<item name="cluster">! Misc. simple types</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Sandy Gao</item>
<item name="responsible">Paul.V.Biron</item>
<item name="shortDescription">Issue re: the length facet for NMTOKENS, IDREFS, ENTITIES</item>
<item name="longDescription"><p>According to the Schema for Schemas, the above types are defined as
a restriction of another list type, by specifying a "minLength" facet. Then
the following simple type:</p>
<pre>
&lt;simpleType name="mylist"&gt;
  &lt;restriction base="NMTOKENS"&gt;
    &lt;length value="3"/&gt;
  &lt;/restriction&gt;
&lt;/simpleType&gt;
</pre>
<p>
is invalid according to the constraint "Schema Component
Constraint: length and minLength or maxLength". Is this what was intended? If
so, it'd be very inconvenient: the user has to specify both minLength and
maxLength to the same value to achieve the result.</p>
<p>
To solve this problem </p>
<ol>
<li>Don't include a "minLength" facet in the above 3 types. But this means
empty lists are allowed by these types (which might not be proper); or</li>
<li>Allow "length" to be specified even if "min/maxLength" are specified on
the base type, as long as
  base.minLength &lt;= length &lt;= base.maxLength.</li>
</ol>
<p>See question 2 from: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0222.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0222.html</a></p></item>
<item name="discussion">
</item>
<item name="resolution">
<p>At the March 8 telecon, the WG decided to classify this as an error.</p>
<p>April 5:  The WG decided that the proposed erratum text needed to be revised 
to
add the required constraints for the cases where length and one or
more of minLength and maxLength are specified in the same derivation
chain.
</p>
<p>Revised text: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0357.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0357.html</a> reviewed/approved at Nov. 1 telecon.</p>
<p>Erratum <a href="http://www.w3.org/2001/05/xmlschema-errata#e2-35">E2-35</a> added.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiAppendixH</item>
<item name="num">R-100</item>
<item name="cluster">! UPA and content models</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Sandy Gao</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Issue re: description of overlapping for UPA, Appendix H</item>
<item name="longDescription"><p>The definition of overlapping in appendix H states:</p>
<blockquote>
"They are both element declaration particles one of which is in the other's
substitution group."
</blockquote>
<p>Shouldn't it state: </p>
<blockquote>
"They are both element declaration particles one of which has the same name
and target namespace as an element declaration in the other's substitution
group."
</blockquote>
<p>Consider the following declarations:</p>
<pre>
&lt;element name="e1"/&gt;
&lt;element name="e2" substitutionGroup="e1"/&gt;

&lt;choice&gt;
  &lt;element ref="e1"/&gt;
  &lt;element name="e2" form="qualified"/&gt;
&lt;/choice&gt;
</pre>
<p>
"e2" in the choice is not in the substitution group of "e1" (because "e2" is
locally declared). But the example above still violates UPA, because for an element
"e2", we don't know which particle to use for validation.</p>
<p>See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0126.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0126.html</a></p></item>
<item name="discussion"><p>Henry's response:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0128.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0128.html</a></p></item>
<item name="resolution"><p>Discussed at the Feb. 7 concall: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Feb/0017.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Feb/0017.html</a></p>
<p>The WG agrees with the commentator's proposed changes.  Henry to draft erratum.</p>
<p>Draft errata posted at: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0201.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0201.html</a></p>
<p>Discussed and approved with an ammendment, at Oct. f2f.  See: 
<a href="http://www.w3.org/XML/2002/10/xml-schema-ftf-minutes">http://www.w3.org/XML/2002/10/xml-schema-ftf-minutes</a></p>
<p>Erratum E1-31 added</p>
</item>
</issue>

<issue>
<item name="pfi">pfiUPAGrp</item>
<item name="num">R-101</item>
<item name="cluster">! UPA and content models</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Clarification w/erratum</item>
<item name="originator">Sandy Gao</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Issue re: UPA and groups</item>
<item name="longDescription"><p>Does the following choice violate UPA?</p>
<pre>
   &lt;group name="grp"&gt;
     &lt;sequence&gt;
       &lt;element name="e"/&gt;
     &lt;/sequence&gt;
   &lt;/group&gt;
 
   &lt;choice&gt;
     &lt;group ref="grp"/&gt;
     &lt;group ref="grp" maxOccurs="3"/&gt;
   &lt;/choice&gt;
</pre>
<p>"Schema Component Constraint: Unique Particle Attribution" states:</p>
<blockquote>
A content model must be formed such that during validation of an element
information item sequence, the particle contained directly, indirectly or
implicitly therein with which to attempt to validate each item in the
sequence in turn can be uniquely determined without examining the content
or attributes of that item, and without any information about the items in
the remainder of the sequence.
</blockquote>
<p>In the constraint above, what does "particle ... can be uniquely determined" mean? </p>   
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0072.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0072.html</a></p></item>
<item name="discussion"><p>
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0073.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0073.html</a></p>
<p>
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0074.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0074.html</a></p>
<p>
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0075.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0075.html</a></p>
<p>
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0076.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0076.html</a></p>
<p>
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0077.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0077.html</a></p></item>
<item name="resolution"><p>Discussed at the Feb. 7 concall: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Feb/0017.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Feb/0017.html</a></p>
<p>The WG resolved that the example given does violate UPA, and the text quoted merits clarification.  Henry to propose erratum.  </p>
<p>Proposed erratum: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/att-0313/01-R-101etc.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/att-0313/01-R-101etc.html</a></p>
<p>Erratum reviewed/approved at the Nov. 1 telecon.</p></item>
<p>Erratum E1-29 added.</p>
</issue>

<issue>
<item name="pfi">pfisimpleTypeRestrict</item>
<item name="num">R-102</item>
<item name="cluster">! Type deriv. rules and groups</item>
<item name="shortPart">1,2</item>
<item name="verbosePart">1,2 (Structures,Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Henry S. Thompson</item>
<item name="responsible">Henry S. Thompson, Paul V. Biron/Ashok Malhotra</item>
<item name="shortDescription">Errata in restriction constraints wrt simple type defns?</item>
<item name="longDescription"><p>There doesn't appear to be anything in the REC which blocks a simple type
definition of {variety} 'list' whose {item type definition} is not derived
from its {base type definition}'s {item type definition}.  The same is true for
{variety} 'union' and {member type definitions}.</p>
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0137.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0137.html</a></p></item>
<item name="discussion"></item>
<item name="resolution">
<p>
Resolved at the March 14 telecon to classify R-102 as an error with erratum and to instruct
HST, PVB, AM to prepare erratum text (the text will apply to
Structures, but the Datatypes editors have a strong interest here).
</p>
<p>Proposed text at: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/att-0221/00-R-67etc.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/att-0221/00-R-67etc.html</a></p>
<p>Discussed and approved at Oct. 24 telecon 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0248.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0248.html</a></p>
<p>Erratum E1-24 added</p>
</item>

</issue>

<issue>
<item name="pfi">pfiPSVIDefn</item>
<item name="num">R-103</item>
<item name="cluster">! Editorial</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Editorial</item>
<item name="originator">Ross Thompson</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">The term PSVI needs to be defined</item>
<item name="longDescription"><p>The acronym PSVI isn't expanded anywhere in the Structures spec. 
</p>
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0030.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0030.html</a></p></item>
<item name="discussion"></item>
<item name="resolution">
<p>Proposed text 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0313.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0313.html</a> discussed and approved at Nov. 1 telecon. </p>
<p>Erratum E1-32 added</p>
</item>
</issue>

<issue>
<item name="pfi">pfiIntegerFacets</item>
<item name="num">R-104</item>
<item name="cluster">! Primer</item>
<item name="shortPart">0</item>
<item name="verbosePart">0 (Primer)</item>
<item name="status">Closed</item>
<item name="classification">Clarification w/erratum</item>
<item name="originator">Rieks van der Straaten</item>
<item name="responsible">Priscilla Walmsley</item>
<item name="shortDescription">Primer question re: integer and the fractionDigits facet</item>
<item name="longDescription"><p>The commentator asks whether Primer table B is correct in listing fractionDigits as a facet for integer.  
</p>
<p>David Fallside's response: 
For integers, fractionDigits = 0, 
hence the integer listing in Table B1.b would be clearer if integer is
not listed as having a fractionDigits facet. </p>
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0089.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0089.html</a></p>
</item>
<item name="discussion">
<p>Discussed at the Apr. 26 telecon (no resolution):
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Apr/0084.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Apr/0084.html</a>.</p> 
</item>

<item name="resolution">
<p>Resolved at the May f2f to instruct the editor to change the text in the cell.</p>
<p>Erratum E0-23 added.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiSchemaComponent</item>
<item name="num">R-105</item>
<item name="cluster">. Identity Constraints</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Future Requirement</item>
<item name="originator">Henry S. Thompson</item>
<item name="responsible">Unassigned</item>
<item name="shortDescription">Comment re: identity constraints property in Schema component</item>
<item name="longDescription"><p>The commentator points out that, although they're not declared at the top level, Identity Constraints
are all in a single namespace and they should have a {identity
constraints} property in the Schema component just like all the other
globally named things. </p>  
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0208.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0208.html</a></p></item>
<item name="discussion"></item>
<item name="resolution">
<p>Resolved at the May 29, 2003 telecon to classify R-105 as 1.1 candidate requirement.</p>
<p>As a result of a discussion of requirement
<a href="http://www.w3.org/XML/Group/2002/07/xmlschema-1.1-current-reqs-list.html#id-components"
>RQ-16</a>,
reclassified as error with erratum on the telcon of 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2003Jul/0010.html">26
June 2003</a>.  
This decision was reconfirmed, and the link to requirement
<a href="http://www.w3.org/XML/Group/2002/07/xmlschema-1.1-current-reqs-list.html#scd-accessible-constraints"
>RQ-133</a> was reasserted, at
the face to face meeting of 
<a href="http://www.w3.org/XML/Group/2003/07/xml-schema-ftf-minutes.html#d0e780">July 2003</a>.
Henry Thompson to draft erratum.</p>
</item>

<!--* 
ACTION (2004-04-02): 'RQ list editor' to update RQ-16 and RQ-135 to link 
to decision of 26 July 2003 / July 2003 F2F to deal with these (identical) requirements 
as 1.0 erratum, namely R-105.

ACTION (2004-04-02): 'Issues list editor' update R-105 to show 
reclassification as error with erratum, drafting assigned to HT.
*-->
</issue>

<issue>
<item name="pfi">pfiQNameFacets</item>
<item name="num">R-106</item>
<item name="cluster">! QNames</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Clarification w/Erratum</item>
<item name="originator">Anli Shundi</item>
<item name="responsible">Paul V. Biron, Ashok Malhotra</item>
<item name="shortDescription">Clarification requested re: facets for QName type</item>
<item name="longDescription"><p>QName allows the following facets:
length, minLength, maxLength, pattern, enumeration, whiteSpace.</p> 
<p>
The validation rules for length, minLength, and maxLength facets in
4.3.1.3, 4.3.2.3, 4.3.3.3 --when it comes to atomic variety--
are defined only for Strings and hex/base64Binary.  </p>
<p>
Questions:</p>
<ol>
<li>
Do those three facets apply to the lexical or value space?
If the latter, then how?  The same question applies to NOTATION and
anyURI (considering encoding) types.</li>
<li>
The other three facets (pattern, enumeration, whiteSpace)
seem to apply to the lexical space.  Is this correct?</li>
</ol>
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0218.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0218.html</a></p></item>
<item name="discussion">
<p>Discussed at the Apr. 26 telecon:
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Apr/0084.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Apr/0084.html</a>.</p> 
<p>Re: question 1, the WG resolved:</p>
<ul>
<li>
to classify R-106a (length of QNames) as
clarification w/ erratum, to specify in the erratum that tests on
these facets for this type always succceed, and to deprecate the use
of these facets for this type.</li>
<li>
to classify R-106b (length of NOTATION) as
clarification w/ erratum, to specify in the erratum that tests on
these facets for this type always succceed, and to deprecate the use
of these facets for this type.</li>
<li>
to classify R-106c (length of anyURI) as
clarification w/ erratum and to specify in the erratum that length is
measured as the number of characters in the value (which as it happens
is the same as the number of characters in the lexical form).
</li>
</ul>
<p>No resolution on question 2 was reached.</p>
<p>May 2:  Question 2 was discussed at the May 2 call and the WG resolved to classify it as a clarification without erratum.</p>
</item>

<item name="resolution">
<p>Draft text available at: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0231.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0231.html</a></p>
<p>Text reviewed/approved with ammendments, at Oct. 24 telecon.</p>
<p>Erratum <a href="http://www.w3.org/2001/05/xmlschema-errata#e2-36">E2-36</a> added.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiIncludeNote</item>
<item name="num">R-107</item>
<item name="cluster">! Misc. Structures</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Henry S. Thompson</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Change required re: note in section 4.2.1 of Structures</item>
<item name="longDescription"><p>The following, from the end of 4.2.1, should be normative, not a NOTE:</p>
<p>
  NOTE: As discussed in Missing Sub-components (5.3), QNames in XML
  representations may fail to resolve, rendering components incomplete
  and unusable because of missing subcomponents. During schema
  construction, implementations are likely to retain QName values for
  such references, in case subsequent processing provides a
  referent. Absent target namespace names of such as-yet unresolved
  reference QNames in included components should also be converted
  if clause 3.2 is satisfied.
</p>
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0240.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0240.html</a></p></item>
<item name="discussion">
<p>Discussed at the May 2 concall: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002May/0020.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002May/0020.html</a>.</p> 
</item>

<item name="resolution">
<p>The WG resolved to classify R-107 as an error with erratum and
to instruct HST to prepare an erratum changing 'should' to 'must' and
making it a paragraph, not a note.</p>
<p>Draft errata posted at: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0201.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0201.html</a></p>
<p>Discussed and approved with ammendments,  at Oct. f2f.  See: 
<a href="http://www.w3.org/XML/2002/10/xml-schema-ftf-minutes">http://www.w3.org/XML/2002/10/xml-schema-ftf-minutes</a></p>
<p>Erratum E1-33 added.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiFloatRounding</item>
<item name="num">R-108</item>
<item name="cluster">Numeric Types</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">In progress</item>
<item name="classification">Unclassified</item>
<item name="originator">Michael Sperberg-McQueen</item>
<item name="responsible">Unassigned</item>
<item name="shortDescription">Clarification requested re: rounding of floats</item>
<item name="longDescription"><p>The XML Schema spec should 
specify clearly the range of numbers representable by the float type,
and make explicit when numbers round to the largest finite value and
when they round to infinity.</p>
<p>See the following for more information, and a summary of Dave Peterson's answer to the first question:</p>
<p>
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0245.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0245.html</a></p></item>
<item name="discussion"><p>See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0257.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0257.html</a></p></item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfiFacetConstraints</item>
<item name="num">R-109</item>
<item name="cluster">! Cross-part</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Martin Gudgin</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Mismatch between Parts 1 and 2 in the area of facet constraints</item>
<item name="longDescription"><p>Section 3.14.3 of Part 1 has a section called Schema Representation
Constraint: Simple Type Restriction (Facets) which purports to define the
interaction between the facets of a derived type and the facets of its base
type. I think this section should be removed as it conflicts with the actual
sections in Part 2 that define such interactions: 
4.3.1.4,
4.3.2.4,
4.3.3.4,
4.3.4.4,
4.3.5.4,
4.3.6.4,
4.3.7.4,
4.3.8.4,
4.3.9.4,
4.3.10.4,
4.3.11.4,
4.3.12.4.</p>
<p>See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0255.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0255.html</a></p></item>
<item name="discussion">
<p>Further clarification from commentator:

<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002May/0023.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002May/0023.html</a>.</p> 
</item>
<item name="resolution">
<p>The WG resolved at the May f2f to remove non-normative from 3.14.3 and add clarifying sentence indicating that details of facet constraints are in part 2. </p>
<p>Proposed text at: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/att-0221/00-R-67etc.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/att-0221/00-R-67etc.html</a></p>
<p>Discussed and approved with ammendments, at Oct. 24 telecon 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0248.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0248.html</a></p>
<p>Erratum E1-25 added</p>
</item>
</issue>

<issue>
<item name="pfi">pfiTotalDigits</item>
<item name="num">R-110</item>
<item name="cluster">! Numeric Types</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Sandy Gao</item>
<item name="responsible">Paul V. Biron, Ashok Malhotra</item>
<item name="shortDescription">Error in example in section 4.3.11 of Datatypes?</item>
<item name="longDescription"><p>In the Datatypes spec, section 4.3.11, there is an example for totalDigits. It
indicates that the example is for numbers less than 1,000,000 with 2 fraction digits.</p>
<pre>
  &lt;restriction base='decimal'&gt;
    &lt;totalDigits value='8'/&gt;
    &lt;fractionDigits value='2' fixed='true'/&gt;
  &lt;/restriction&gt;
</pre>
<p>
But "fixed" means that "fractionDigits" can't be assigned another value in 
types derived from this type;  it doesn't affect the lexical or value spaces. 
So
10,000,000 is allowed by the type above.</p> 
<p>Is this an erratum?</p>
<p>See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0282.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0282.html</a></p></item>
<item name="discussion"></item>
<p>While discussing this issue, a separate issue re: whether the fractionDigits facet applies to the lexical or value space arose.   This issue was also raised on schema-comments by Henry Zongaro.  It is being tracked as issue R-110b.</p>
<item name="resolution">
<p>
Resolved at the March 22 telecon to classify R-110 as an error with erratum. 
</p>
<p>Status 04/24:  
Erratum text proposed:  
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Apr/0053.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Apr/0053.html</a></p>
<p>Discussed at the June 6 telecon.   The WG decided that the example is best removed.   Final revised text: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jun/0037.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jun/0037.html</a></p>
<p>Erratum E2-21 added.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiappInfoAttr</item>
<item name="num">R-111</item>
<item name="cluster">Wildcards</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Eric van der Vlist</item>
<item name="responsible">Unassigned</item>
<item name="shortDescription">Why are foreign attributes not permitted for appinfo and documentation?</item>
<item name="longDescription"><p>Why can't foreign attributes be included on xs:appinfo and xs:documentation?</p> 
<p>This could be useful, and seems harmless, but this is forbidden by the Schema for Schemas.</p>
<p>See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0440.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0440.html</a></p></item>
<item name="discussion"><p>See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0455.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0455.html</a></p></item>
<item name="resolution">
</item>
</issue>

<issue>
<item name="pfi">pfiQNameResolution</item>
<item name="num">R-112</item>
<item name="cluster">. Misc. Structures</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">In progress</item>
<item name="classification">Error w/erratum</item>
<item name="originator">Sandy Gao</item>
<item name="responsible">Unassigned</item>
<item name="shortDescription">A question about QName Resolution (Schema Document)</item>
<item name="longDescription"><p>Constraint "QName resolution (Schema Document)", bullet 4 states:</p>
<blockquote>
"4 its namespace name is either the target namespace of the schema
document containing the QName or that schema document contains an
&lt;import&gt; element information item the actual value of whose namespace
[attribute] is identical to that namespace name."
</blockquote>
<p>
Does this mean that</p>
<pre>
&lt;schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="myNS"&gt;
  &lt;element name="e" type="string"/&gt;
&lt;/schema&gt;
</pre>
<p>
is invalid? (Because the schema namespace is neither the target namespace,
nor imported by this document.)</p>
<p>
The spec does mention:</p>
<blockquote>
"Simple type definitions for all the built-in primitive datatypes, namely
string, boolean, float, double, number, dateTime, duration, time, date,
gMonth, gMonthDay, gDay, gYear, gYearMonth, hexBinary, base64Binary, anyURI
(see the Primitive Datatypes section of [XML Schemas: Datatypes]), as well
as for the simple and complex ur-type definitions (as previously
described), are present by definition in every schema. All are in the XML
Schema {target namespace} (namespace name http://www.w3.org/2001/XMLSchema
), have an atomic {variety} with an empty {facets} and the simple ur-type
definition as their base type definition and themselves as {primitive
type definition}.
</blockquote>
<p>
Similarly, simple type definitions for all the built-in derived datatypes
(see the Derived Datatypes section of [XML Schemas: Datatypes]) are present
by definition in every schema, with properties as specified in [XML
Schemas: Datatypes] and as represented in XML in Schema for Schemas
(normative)."</p>
<p>
But I don't think "are present" directly leads to "can be accessed".
Shouldn't bullet 4 of "QName resolution (Schema Document)" be changed to
something like:</p>
<blockquote>
"4 one of the following must be true:
<ul>
<li>4.1 all of the following must be true:
<ul>
<li>4.1.1 its namespace name is identical to http://www.w3.org/2001/XMLSchema
.</li>
<li>4.1.2 the kind specified is simple or complex type definition.</li>
<li>4.1.3 its local name is identical to the name of one of the built-in
types.</li>
</ul></li>
<li>4.2 either the target namespace of the schema document containing the
QName or that schema document contains an &lt;import&gt; element information
item the actual value of whose namespace [attribute] is identical to that
namespace name."</li>
</ul>
</blockquote>
<p>See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0459.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0459.html</a></p></item>
<item name="discussion"></item>
<item name="resolution">
<p>Discussed at the May 29, 2003 telecon.  Agreed to classify as an error w/erratum.  Some discussion occurred re: what new text should be added, but no consensus reached on what was required to fix the problem.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiall</item>
<item name="num">R-113</item>
<item name="cluster">! UPA and content models</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Clarification w/erratum</item>
<item name="originator">Lisa Martin</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">A question about all content models</item>
<item name="longDescription"><p>"Schema Component Constraint:  All Group Limited" states:</p>
<pre>
   When a model group has {compositor} "all" all of the following must
   be true:
     1 one of the following must be true:
       1.1 It appears as the model group of a model group definition.
       1.2 It appears in a particle with {min occurs}={max occurs}=1,
           and that particle must be part of a pair which constitutes
           the {content type} of a complex type definition.
     2 The {max occurs} of all the particles in the {particles} of the
       group must be 0 or 1.
</pre>
<p>
Consider the following named model group and complex type definitions:</p>
<pre>
&lt;xsd:group name="allGrp"&gt;
  &lt;xsd:all&gt;
    &lt;xsd:element name="a"/&gt;
    &lt;xsd:element name="b"/&gt;
  &lt;/xsd:all&gt;
&lt;/xsd:group&gt;

&lt;xsd:complexType name="t1"&gt;
  &lt;xsd:sequence&gt;
    &lt;xsd:element name="c"/&gt;
    &lt;xsd:group ref="allGrp"/&gt;
  &lt;/xsd:sequence&gt;
&lt;/xsd:complexType&gt;

&lt;xsd:complexType name="t2"&gt;
  &lt;xsd:sequence&gt;
    &lt;xsd:group ref="allGrp"/&gt;
  &lt;/xsd:sequence&gt;
&lt;/xsd:complexType&gt;
</pre>
<p>
I believe it was intended that "t1" be considered invalid, but it contains
a model group which I *think* satisfies constraint 1.1 above (although it
violates constraint 1.2).    Is "t1" invalid?    If so, are there other
constraints in Structures which support this?   Do we need a clarification
for the "All Group Limited" constraint?    Is the same true for "t2"?
</p>
<p>See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0462.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0462.html</a></p></item>
<item name="discussion"></item>
<item name="resolution"><p>Discussed at the Feb. 7 concall: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Feb/0017.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Feb/0017.html</a></p>
<p>The WG resolved that both examples are in error, and that the text for
"All Group Limited" should be modified to make this clear.   See concall 
minutes for possible rewording.</p>
<p>Proposed text at: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/att-0221/00-R-67etc.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/att-0221/00-R-67etc.html</a></p>
<p>Discussed and approved with ammendments, at Oct. 24 telecon 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0248.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0248.html</a></p>
<p>Erratum E1-26 added</p>
</item>
</issue>

<issue>
<item name="pfi">pfiInfoset</item>
<item name="num">R-114</item>
<item name="cluster">QNames</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">In progress</item>
<item name="classification">Unclassified</item>
<item name="originator">Jonathan Marsh</item>
<item name="responsible">Unassigned</item>
<item name="shortDescription">Schema infoset fix-ups</item>
<item name="longDescription"><p>If a schema declares a default attribute with a qualfied name
(a:b="some value"), it appears that the PSVI does not fixup the
[in-scope namespaces] and [namespace attributes] properties. It is
therefore possible for these attributes to get out of sync. </p>
<p>See 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-wg/2002Jan/0090.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-wg/2002Jan/0090.html</a></p></item>
<item name="discussion"><p>The WG discussed this at the 01/25 telecon: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jan/0084.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jan/0084.html</a></p>
<p>Related issues are:</p>  
<ul>
<li>
CR-41: Should Structures specify how / where to generate a prefix and a namespace declaration for the namespace of an attribute with a 
qualified name for which the schema processor must supply a default?</li> 
<li>
The Infoset that results from schema 
assessment may contain Attribute Information Items that do not have a 
[normalized value] property and as such, the Infoset that results 
from schema assessment cannot generally be the subject of schema 
assessment itself.  See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0280.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0280.html</a></li>
</ul>
<p>The WG decided that these issues should be considered Future Requirements, and be reopened for 1.1 </p></item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfiAttrQName</item>
<item name="num">R-115</item>
<item name="cluster">. QNames</item>
<item name="shortPart">1,2</item>
<item name="verbosePart">1,2 (Structures, Datatypes)</item>
<item name="status">In progress</item>
<item name="classification">Unclassified</item>
<item name="originator">Ashok Malhotra</item>
<item name="responsible">Unassigned</item>
<item name="shortDescription">Validating attributes with default value of type QName</item>
<item name="longDescription"><p>If a schema declares an attribute with a default value of
type QName (a="b:c"), there is no validation of the fact that the
prefix "a:" is bound in the instance document at the point where the
default value is applied.</p>
<p>See Ashok's mail on behalf of XSL at: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jan/0067.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jan/0067.html</a></p></item>
<item name="discussion"><p>Discussion at the 01/25 telecon: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jan/0084.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jan/0084.html</a></p></item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfipatternType</item>
<item name="num">R-116</item>
<item name="cluster">. Cross-part</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Error w/erratum</item>
<item name="originator">Ross Thompson</item>
<item name="responsible">Paul V. Biron</item>
<item name="shortDescription">Question about the type of a pattern value</item>
<item name="longDescription"><p>The type of the 'value' attribute of pattern is 'anySimpleType.' [1]
   Should it not be 'string'?</p>
<p>[1] 
<a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#element-pattern">http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#element-pattern</a></p>
<p>See the first issue from:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0421.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0421.html</a></p></item>
<item name="discussion"></item>
<item name="resolution">
<p>Proposed text: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/att-0316/01-errataR-116.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/att-0316/01-errataR-116.html</a></p>
<p>Reviewed and approved at Nov. 1 telecon.</p>
<p>Erratum <a href="http://www.w3.org/2001/05/xmlschema-errata#e2-37">E2-37</a> added.</p>
</item>
</issue>

<issue>
<item name="pfi">pfianyTypeLax</item>
<item name="num">R-117</item>
<item name="cluster">! Misc. Structures</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Error w/erratum</item>
<item name="originator">Henry S. Thompson</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Problem with processContents for the ur-type</item>
<item name="longDescription"><p>The REC does not specify what {process contents} is for the ur-type.  It
should be specified as lax.
</p>
<p>See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0519.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0519.html</a></p></item>
<item name="discussion">
<p>Discussed at the May f2f. The WG discussed the possibility of making processContents "skip".  Henry Thompson to work on a proposal.</p>
</item>
<item name="resolution">
<p>Erratum is covered by that of R-54. Erratum E1-22 added.</p>
</item>
</issue>

<issue>
<item name="pfi">pfidateTimeValue</item>
<item name="num">R-118</item>
<item name="cluster">. Date/Time</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Error w/erratum</item>
<item name="originator">Michael Kay</item>
<item name="responsible">Unassigned</item>
<item name="shortDescription">Questions about the value space for dateTime</item>
<item name="longDescription"><ol>
<li>The Datatypes spec states that "The value space of dateTime is the space of
Combinations of date and time of day values as defined in  5.4 of [ISO
8601]." The implication of this is that 2002-02-02T12:00:00Z is a distinct
value in the value space from 2002-02-02T07:00:00-05:00. But if this is so,
then the canonical lexical representation (which is always in UTC with
timezone designator Z) cannot represent all values in the value space.</li>
<li>The description of the value space could also be read
as indicating that 12:00:00Z and 12:00:00+00:00 are distinct values, and
that the year 02002 is distinct from the year 2002.</li>
</ol>
<p>See issues 3 and 4 from:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0476.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0476.html</a></p></item>
<item name="discussion"><p>Ashok's response:</p> 
<ol>
<li>The language may not be as clear as possible but the value space represents instances of dateTime regardless of the timezone used.  Thus, in your example above, where you meant to indicate two lexical representations of the same instant of time, both would map to the same value in the value space.</li>  
<li>The language could be improved.</li> 
</ol>
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0615.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0615.html</a></p></item>
<item name="resolution">
Erratum E2-41 addresses this issue.   Discussed/resolved at the June 12, 2003 telecon.
</item>
</issue>

<issue>
<item name="pfi">pfidateValue</item>
<item name="num">R-119</item>
<item name="cluster">! Date/Time</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Clarification w/erratum</item>
<item name="originator">Michael Kay</item>
<item name="responsible">Paul V. Biron, Ashok Malhotra</item>
<item name="shortDescription">Question about the value space for date</item>
<item name="longDescription"><p>The Datatypes spec states that the value space of date is the set of Gregorian
calendar dates as defined in  5.2.1 of [ISO 8601]." It then says: "Since
the lexical representation allows an optional time zone indicator...".
However, there is nothing in  5.2.1 of ISO 8601 (at least not the 2000
edition) which suggests that a date can have an optional time zone
indicator, or that suggests how it would be written if it were allowed. If
this deviation from ISO 8601 is deliberate, which it seems to be, it should
surely be flagged in Appendix D3. In fact, this seems to be the only case
where Part 2 specifies a format that is definitely not allowed by ISO
8601; the other deviations are either restrictions, or things that ISO 8601
permits provided the parties agree.</p>
<p>See issue 6 from:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0476.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0476.html</a></p></item>
<item name="discussion"><p>Ashok's response:  </p>
<p>"This is a deliberate extension to ISO 8601.  Yes, it should have been included in Appendix D3."</p>
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0615.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0615.html</a></p></item>
<item name="resolution">
<p>The WG resolved at the May f2f to instruct the editors to draft erratum to D3 noting the variance with ISO 8601.</p>
<p>Proposed text: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002May/0049.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002May/0049.html</a></p>
<p>Erratum text approved at the June 6 telecon.</p>
<p>Erratum E2-22 added.</p>

</item>

</issue>

<issue>
<item name="pfi">pfidateCanonical</item>
<item name="num">R-120</item>
<item name="cluster">! Date/Time</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Michael Kay</item>
<item name="responsible">Paul V. Biron, Ashok Malhotra</item>
<item name="shortDescription">Question about the canonical representation of date</item>
<item name="longDescription"><p>Why does the Datatypes spec define no canonical representation of date (unlike
dateTime and time)? </p>
<p>See issue 7 from:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0476.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0476.html</a></p></item>
<item name="discussion"><p>Ashok's response:  </p>
<p>"We should fix that.  It appears to be an oversight."</p>
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0615.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0615.html</a></p></item>
<item name="resolution">
<p>Resolved at the May f2f to instruct the editors to draft an erratum consistent with the algorithm discussed at the meeting.  See meeting minute details.</p>
<p>Proposed text: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0363.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0363.html</a></p>
<p>Reviewed/approved with ammendments, at Nov. 1 telecon.</p>
<p>Erratum <a href="http://www.w3.org/2001/05/xmlschema-errata#e2-41">E2-41</a> added.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiPrimerExmp5.4</item>
<item name="num">R-121</item>
<item name="cluster">! Primer</item>
<item name="shortPart">0</item>
<item name="verbosePart">0 (Primer)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Jeffrey Stephenson/Henry S. Thompson</item>
<item name="responsible">Priscilla Walmsley</item>
<item name="shortDescription">Import example in section 5.4 of Primer incorrect</item>
<item name="longDescription"><p>The instance example of &lt;analyst&gt; in
section 5.4 of the primer [1] is broken.</p>
<p>[1] 
<a href="http://www.w3.org/TR/xmlschema-0/#import">http://www.w3.org/TR/xmlschema-0/#import</a></p>

<p>See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0511.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0511.html</a></p></item>
<item name="discussion"></item>
<item name="resolution">
<p>Resolved at the May f2f to classify this a an error, and instruct the editor to fix the example.</p>
<p>Proposed erratum available at: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Aug/0010.html">
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Aug/0010.html</a></p>
<p>Erratum reviewed at Sept. 13 concall, but needs to be double-checked.  LM agreed to check it.</p>
<p>Erratum <a href="http://www.w3.org/2001/05/xmlschema-errata#e0-25">E0-25</a> added.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiSubGrpRestrict</item>
<item name="num">R-122</item>
<item name="cluster">. Type deriv. rules and groups</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Error</item>
<item name="originator">Eric van der Vlist</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">Issue re: restricting substitution groups</item>
<item name="longDescription"><p>
Can substitution groups be restricted?  If for instance I have:</p> 
<pre>
 &lt;xs:element name="head"/&gt;
 &lt;xs:element name="a" substitutionGroup="head"/&gt;
 &lt;xs:element name="b" substitutionGroup="head"/&gt;
 &lt;xs:element name="c" substitutionGroup="head"/&gt;

 and:

 &lt;xs:complexType name="base"&gt;
   &lt;xs:sequence&gt;
     &lt;xs:element ref="head"/&gt;
   &lt;xs:sequence&gt;
 &lt;xs:complexType&gt;

 is

 &lt;xs:complexType name="derived"&gt;
   &lt;xs:complexContent&gt;
    &lt;xs:restriction base="base"&gt;
     &lt;xs:sequence&gt;
       &lt;xs:choice&gt;
         &lt;xs:element ref="a"/&gt;
         &lt;xs:element ref="b"/&gt;
       &lt;xs:choice&gt;
     &lt;xs:sequence&gt;
    &lt;xs:restriction&gt;
   &lt;xs:complexContent&gt;
 &lt;xs:complexType&gt;

 a valid restriction?
</pre>
<p>Since substitution groups are treated as choices for particle restriction checking, the case that applies here is RecurseLax.   However, the rules for 
RecurseLax state:</p> 
<blockquote>
<p>"For a choice group particle to be a valid restriction of another 
choice group particle all of the following must be true:</p>
<p>
1 R's occurrence range is a valid restriction of B's occurrence range as 
defined by Occurrence Range OK (3.9.6);</p>
<p>
2 There is a complete order-preserving functional mapping from the 
particles in the {particles} of R to the particles in the {particles} of 
B such that each particle in the {particles} of R is a valid 
restriction of the particle in the {particles} of B it maps to as 
defined by Particle Valid (Restriction) (3.9.6).</p>
<p>
NOTE: Although the validation semantics of a choice group does not 
depend on the order of its particles, derived choice groups are required 
to match the order of their base in order to simplify checking that the 
derivation is OK."</p></blockquote>
<p>The question should then probably be which is the order of the elements 
of a substitution group when they are mapped to a xs:choice?</p>
<p>See: 
<a href="http://lists.w3.org/Archives/Public/xmlschema-dev/2001Dec/0080.html">http://lists.w3.org/Archives/Public/xmlschema-dev/2001Dec/0080.html</a></p></item>
<item name="discussion"><p>Martin Gudgin:
<a href="http://lists.w3.org/Archives/Public/xmlschema-dev/2002Feb/0037.html">http://lists.w3.org/Archives/Public/xmlschema-dev/2002Feb/0037.html</a></p>

<p>Henry Thompson:</p>
<p>Yes. 
The REC is underspecified in the area of the order of the implicit
choice represented by a substitution group head.  I think an erratum
is in order, as Martin Gudgin suggested, clarifying that in this case
the order constraint doesn't apply.</p>
<p>See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0512.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0512.html</a></p></item>
<item name="resolution">
<p>Resolved at the May f2f.   Editor is instructed to draft a minimalist erratum that fixes the problem.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiRedefRedef</item>
<item name="num">R-123</item>
<item name="cluster">. Misc. Structures</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Clarification without erratum</item>
<item name="originator">Mark Feblowitz</item>
<item name="responsible">Unassigned</item>
<item name="shortDescription">A question about redefining redefines</item>
<item name="longDescription"><p>
There are situations in which the redefinition of a type, and the subsequent
redefinition of the redefined type, are desirable. One such case is where a
schema user would like to extend a type, not just from the original source
but based on the extension of another schema user's extension (Company C
extends type T from Company B, who picked it up from Company A and redefined
it).</p> 
<p>It appears that this is discouraged in the Rec.  From 4.2.2:</p>
<blockquote>
<p>
"In all cases there must be a top-level definition item of the appropriate
name and kind in the redefined schema
document. 
</p>
<p>
NOTE: The above is carefully worded so that multiple
equivalent redefining of the same
schema document will not constitute a violation of clause 2
of Schema Properties Correct (3.15.6)
, but applications are allowed, indeed
encouraged, to avoid redefining the
same schema document in the same way more than once to forestall the
necessity of establishing identity component by component (although this
will have to be done for the individual redefinitions themselves)."
</p>
</blockquote>
<p>Some validators require that the redefined schema contain a type definition
for a type that is to be redefined - that a redefinition is not sufficient.
So it is not possible to redefine a redefined type.
So the question is, is this something that is likely to change, or will
validators vary on whether or not they support cascading redefines?</p></item>
<item name="discussion"><p>Henry's response: </p>
<p>
Unfortunately the term 'top-level' is not formally defined in the
REC.  There are a number of places where things such as "all the
top-level (i.e. named) components. . ." appear, so it's clear that
what's meant is (XML representations of) named components which appear
in one of the sets of definitions/declarations of the schema component
itself.  On that basis, redefs of redefs are OK, and were certainly
intended to be.  An erratum is in order, in my opinion.</p>
<p>See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0513.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0513.html</a></p></item>
<item name="resolution">
Discussed and resolved at the June 12, 2003 telecon: 
<br/>
RESOLVED: to classify R-123 as clarification without erratum.
<br/>

ACTION: Sandy Gao to send Mark Feblowitz a copy of SG's note
explaining the logic of our decision.
</item>
</issue>

<issue>
<item name="pfi">pfiPSVIProp</item>
<item name="num">R-124</item>
<item name="cluster">PSVI</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Editorial/Future Requirement</item>
<item name="originator">Lisa Martin</item>
<item name="responsible">Henry S. Thompson</item>
<item name="shortDescription">A question about PSVI properties</item>
<item name="longDescription"><p>
There are various statements in the spec of the form: 
"If some condition, x, is true, then, in the post-schema-validation infoset it has the properties  a,b,c ..."</p>
<p>
For example:  </p>
<blockquote>
<p>
"If an element is valid with respect to a type definition, as per Element Locally Valid (Type), in the post-schema-validation infoset the item has a property ... 
</p>
<p>
Furthermore, the item has one of the following alternative sets of properties: 
</p><p>
[type definition]
</p><p>
...
</p>
"
</blockquote>
<p>
Is it true that if condition x does *not hold*, then the processor is *not permitted* to include properties a,b,c in the PSVI, even if such information is available?     I'm assuming this is what was intended, based on the clarifications drafted for the Query WG on the topic of PSVI.   
</p>
<p>
If this is the case, should the Structures spec clarify this?     ...perhaps with wording similiar to:
"The properties a, b, c are in the PSVI if and only if ..."  
</p>
<p>
As an aside, wouldn't it be useful to get at type information for an element that was not valid, if the processor had that information?
</p></item>
<item name="discussion"></item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfiStruct4.3.2</item>
<item name="num">R-125</item>
<item name="cluster">! Editorial</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Editorial</item>
<item name="originator">Wojtek Murawski</item>
<item name="responsible">Henry S. Thompson </item>
<item name="shortDescription">Editorial error in section 4.3.2 of Structures</item>
<item name="longDescription">
<p>Paragraph 4.3.2, point 3, first sentence reads:</p>
<blockquote>
    &lt;...&gt; and warrants that some or all of the document is conforms to that schema, &lt;...&gt;
</blockquote>
<p>
and I take it the intention was: </p>
<blockquote>
    &lt;...&gt; and warrants that some or all of the document conforms to that schema, &lt;...&gt;
</blockquote>
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0623.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0623.html</a></p></item>
<item name="discussion"></item>
<item name="resolution"><p>Erratum E1-34 added</p></item>
</issue>

<issue>
<item name="pfi">pfiPrimerSubGroup</item>
<item name="num">R-126</item>
<item name="cluster">Primer</item>
<item name="shortPart">0</item>
<item name="verbosePart">0 (Primer)</item>
<item name="status">Closed</item>
<item name="classification">Unclassified</item>
<item name="originator">Simon Cox</item>
<item name="responsible">Priscilla Walmsley </item>
<item name="shortDescription">Suggested change for the Primer re: substitution group members</item>
<item name="longDescription">
<p>The primer should be modified to make it clear that 
substitution
group members must be top-level elements.
</p>
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0625.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0625.html</a></p></item>
<item name="discussion"></item>
<item name="resolution">
<p>Proposed erratum available at: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Aug/0010.html">
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Aug/0010.html</a></p>
<p>Erratum approved at Sept. 13 concall.</p>
<p>Erratum <a href="http://www.w3.org/2001/05/xmlschema-errata#e0-24">E0-24</a> added.</p>
</item>

</issue>

<issue>
<item name="pfi">pfiTimeMidnight</item>
<item name="num">R-127</item>
<item name="cluster">. Date/Time</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Clarification w/erratum</item>
<item name="originator">Henry Zongaro</item>
<item name="responsible">Ashok Malhotra </item>
<item name="shortDescription">Distinction between 00:00:00 and 24:00:00 for time datatype?
</item>
<item name="longDescription">
<p>According to section 3.2.8 of &quot;XML Schema:  Datatypes&quot; [1]:</p>
<p>
&quot;The order relation on time values is the Order relation on dateTime (3.2.7.3) using an arbitrary date.&quot;</p>
<p>
     Thus, if one considers the ordering of the values 00:00:00 and 
24:00:00, using the arbitrary date 2002-03-06, the ordering is the same as 
that for 2002-03-06T00:00:00 and 2002-03-06T24:00:00.  The latter value is 
the same as 2002-03-07T00:00:00.  So, according to the definition of the 
order relation cited above, 00:00:00 &lt; 24:00:00.</p>
<p>
     However, according to the definition of the canonical representation 
of time in section 3.2.8.2 [2]</p>
<p>
&quot;the canonical representation for midnight is 00:00:00&quot;</p>
<p>
The definition of the canonical representation would seem to imply that 
00:00:00 and 24:00:00 are considered to be the same time value.</p>
<p>
     It appears that one of these 2 sections is incorrect.
</p>
<p>
[1] <A HREF="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#time">http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#time</A>
</p>
<p>
[2] <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#time-canonical-repr">http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#time-canonical-repr</a></p>
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0870.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0870.html</a></p>
</item>
<item name="discussion"></item>
<item name="resolution">
<p>Resolved at the 2003-07-31 telecon to classify R-127 as a clarification with erratum, and to suggest to the editors that they add a couple of examples. </p>
</item>
</issue>

<issue>
<item name="pfi">pfiFractionDigitsSpace</item>
<item name="num">R-110b</item>
<item name="cluster">!Numeric Types</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Henry Zongaro</item>
<item name="responsible">Paul V. Biron </item>
<item name="shortDescription">Does the fractionDigits facet apply to the value space or lexical space? </item>
<item name="longDescription">
<p>
If you look at the definition of the lexical representation of decimal in 
3.2.3.1 [1], it states, in part, that "if fractionDigits is specified, the 
number of digits following the decimal point must be less than or equal to 
the fractionDigits."   
</p>
<p>
     However, the description of the fractionDigits facet in 4.3.12 [2] 
doesn't mention that it constrains the lexical space in this way, i.e., by 
prohibiting excess trailing digits, including zeroes.  
</p>

<p>
[1] <A HREF="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#decimal-lexical-representation">http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#decimal-lexical-representation</A></p>
<p>
[2] <A HREF="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#rf-fractionDigits">http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#rf-fractionDigits</A></p>
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0871.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0871.html</a></p></item>
<item name="discussion">
<p>Also see related question 1 from the following mail: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0031.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0031.html</a></p>
<p>Discussed at the May 2 concall: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002May/0020.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002May/0020.html</a>.</p> 
<p>The WG decided that the facets ought to apply to the value space and instructed the editors to draft erratum.</p>
<p>Erratum proposed:
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002May/0004.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002May/0004.html</a>.</p> 
<p>Further discussion of draft erratum:

<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002May/0005.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002May/0005.html</a>.</p> 
</item>

<item name="resolution">
<p>Draft errata text reviewed at May f2f.   Changes agreed upon include:   striking the misleading sentences in the description of lexical form, and changing text for 4.3.11, 4.3.12 and 3.2.3.1</p>
<p>New errata text proposed: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002May/0051.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002May/0051.html</a></p>
<p>Discussed at the June 6 telecon and additional changes made.   Revised text based on discussion posted:
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jun/0036.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jun/0036.html</a></p>
<p>Revised text discussed at the June 14 telecon.  Ammendments suggested. </p>
<p>Final text reviewed and approved at the July f2f.  See
<a href="http://www.w3.org/XML/Group/2002/07/xml-schema-ftf-minutes.html#ab3b3b3b5">
http://www.w3.org/XML/Group/2002/07/xml-schema-ftf-minutes.html#ab3b3b3b5</a></p>
<p>Erratum <a href="http://www.w3.org/2001/05/xmlschema-errata#e2-44">E2-44</a> added.</p>

</item>

</issue>

<issue>
<item name="pfi">pfigYearLeadingZero</item>
<item name="num">R-128</item>
<item name="cluster">Misc. simple types</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Clarification w/erratum</item>
<item name="originator">C.M. Sperberg-McQueen</item>
<item name="responsible">Dave Peterson </item>
<item name="shortDescription">Question re: leading zeros for gYearMonth and gMonth</item>
<item name="longDescription">
<p>
It is not precisely clear from the XML Schema
             Datatypes specification whether leading zeros are permitted
             in instances of gYearMonth and gYear when (the absolute value
             of) the year in question is outside the range of 0001 to
             9999. However, in the otherwise analogous passage of the
             specification of dateTime, such ambiguity is not present
             (such leading zeros are prohibited), and a reasonable
             interpretation in these other two cases is to
             straightforwardly follow that precedent.
</p>
<p>See bullet (vii) from : 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0873.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0873.html</a></p></item>
<item name="discussion">
<p>Discussed at 2003-11-20 telecon.   Resolved to classify as clarfication w/erratum - DaveP to draft text. </p>
</item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfiS4SId</item>
<item name="num">R-129</item>
<item name="cluster">! Misc. Structures</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Henry S. Thompson</item>
<item name="responsible">Henry S. Thompson </item>
<item name="shortDescription">type of id attr on schema elt

</item>
<item name="longDescription">
<p>
The type of the id attribute on the schema element is too constraining - the schema for schemas is invalid.</p>
<p>See :
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/1010.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/1010.html</a></p></item>
<item name="discussion"></item>
<item name="resolution">
<p>Resolved at the May f2f to classify as an error and instruct the editor to change the version attribute.</p>
<p>Erratum added to doc as E1-9</p>
</item>
</issue>

<issue>
<item name="pfi">pfiLangPattern</item>
<item name="num">R-130</item>
<item name="cluster">! Misc. simple types</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Lin Yeng Husband</item>
<item name="responsible">Paul V. Biron, Ashok Malhotra </item>
<item name="shortDescription">Pattern of language type in XMLSchema.xsd

</item>
<item name="longDescription">
<p>
Since RFC 1766 is now obsoleted
by RFC 3066, we would like to submit that the XMLSchema spec. needs to
</p>
<ol>
<li>
Correct its language to parallel that of XML 1.0 (in the latter's
reference to RFC 1766 "or its successor on the IETF Standards Track") thus
dragging in RFC 3066. </li>
<li>
Correct its language pattern according to the syntax defined
therein, namely
 value="([a-zA-Z]{1,8})(-[a-zA-Z0-9]{1,8})*" </li>
</ol>
<p>See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/1069.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/1069.html</a></p>
<p>and
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/1092.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/1092.html</a></p>
</item>
<item name="discussion"></item>
<item name="resolution">
<p>The WG resolved this at the May f2f, deciding to instruct the editors to draft erratum that substitutes 3066 for 1766, formulate an appropriate pattern and references the pattern instead of XML 1.0 2nd edition.</p>
<p>Proposed text:
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jun/0019.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jun/0019.html</a></p>
<p>Text approved at June 14 telecon: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jul/0009.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jul/0009.html</a></p>
<p>Erratum E2-25 added.</p>

</item>
</issue>

<issue>
<item name="pfi">pfiDurationTypo</item>
<item name="num">R-131</item>
<item name="cluster">! Editorial </item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Editorial</item>
<item name="originator">Richard Emberson</item>
<item name="responsible">Paul V. Biron </item>
<item name="shortDescription">Typo in description of duration in datatypes

</item>
<item name="longDescription">
<p>
In XML Schema Part 2: Datatypes
W3C Recommendation 02 May 2001
change:</p>
<p>
 (2000-03-30 + P1D) + P1M = 2000-03-31 + P1M = 2001-04-30 </p>
<p>
to:</p>
<p>
 (2000-03-30 + P1D) + P1M = 2000-03-31 + P1M = 2000-04-30 </p>
 
<p> (2001 should be 2000) </p>

<p>See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/1099.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/1099.html</a></p>
</item>
<item name="discussion"></item>
<item name="resolution">
<p>Errata text proposed:
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Apr/0052.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Apr/0052.html</a></p>
<p>Errata approved at the May 2 concall (with the condition that the ins/del text be made more specific)</p>
<p>Erratum E2-20 added.</p>
</item>

</issue>

<issue>
<item name="pfi">pfiCanonicalURIs</item>
<item name="num">R-132</item>
<item name="cluster">. Misc. simple types </item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Error w/erratum</item>
<item name="originator">Paul V. Biron</item>
<item name="responsible">Ashok Malhotra </item>
<item name="shortDescription">Equiv comparisons on anyURI

</item>
<item name="longDescription">
<p>
We fail to
say how equiv comparisons are performed on anyURI (e.g., for checking a
literal against an enumeration).  I'd also note that we don't say anything
of this kind about a lot of types (string, etc.).  We rely on phrases like
"if the {value} is in the value space...".
</p>
<p>See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/1100.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/1100.html</a></p>
</item>
<item name="discussion"></item>
<item name="resolution">
<p>Resolved at the 2003-07-11 telecon to classify R-132 as an error. </p>
</item>
</issue>

<issue>
<item name="pfi">pfiS4SXPath</item>
<item name="num">R-133</item>
<item name="cluster">. Misc. Structures </item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Error w/erratum</item>
<item name="originator">Daniel Veillard</item>
<item name="responsible">Henry S. Thompson </item>
<item name="shortDescription">Regex for XPath in S4S invalid 

</item>
<item name="longDescription">
<p>
The regular expressions given for matching XPath
strings are incorrect in the Schema for Schemas.
</p>
<p>See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0004.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0004.html</a></p>
</item>
<item name="discussion"></item>
<item name="resolution">
<p>Resolvled at the July 2003 f2f to classify as an error w/ erratum.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiRegexPosCharRange</item>
<item name="num">R-134</item>
<item name="cluster">. Misc. simple types </item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">In progress</item>
<item name="classification">Error w/erratum</item>
<item name="originator">James Clark</item>
<item name="responsible">Paul V. Biron </item>
<item name="shortDescription">Treatment of ^ in regexes
</item>
<item name="longDescription">
<p>
Appendix F says: 
</p>
<p>
&quot;All XML characters are valid character ranges, except as
follows:...</p>
<p>
The ^ character is only valid at the beginning of a positive character
group if it is part of a negative character group; ...&quot;.
</p>
<p>However, the
EBNF doesn't seem consistent with this. Consider
</p>
<p>
  [^X]
</p>
<p>
This is ambiguous wrt the EBNF, since "^" is an XmlCharIncDash and thus a
charRange: according to the EBNF it could be a powCharGroup containing "^"
and "X" or a negCharGroup containing "X".  Consider also
</p>
<p>
  [^]
</p>
<p>
According to the EBNF, this is unambiguously a posCharGroup containing "^",
but this is inconsistent with the prose.
</p>
<p>See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0007.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0007.html</a></p>
</item>
<item name="discussion">
<p>Note: R-134 was reopened at the Feb. 21 2003 telecon.</p>
</item>
<item name="resolution">
</item>
</issue>

<issue>
<item name="pfi">pfiHighSurrogates</item>
<item name="num">R-135</item>
<item name="cluster">! Misc. simple types </item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">James Clark</item>
<item name="responsible">Paul V. Biron, Ashok Malhotra </item>
<item name="shortDescription">Question about surrogate characters in F.1.1
</item>
<item name="longDescription">
<p>
F.1.1 rightly disallows \p{Cs} on the basis that surrogate characters "do
not occur at the level of the "character abstraction" that XML instance
documents operate on." On the same basis, shouldn't IsHighSurrogates,
IsHighPrivateUseSurrogates and IsLowSurrogates also be disallowed
within \p{} and \P{}?
</p>
<p>See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0008.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0008.html</a></p>
</item>
<item name="discussion"></item>
<item name="resolution">
<p>Resolved at the May f2f to classify this as an error, instructing the editors to draft erratum reflecting changes suggested by commentator.</p>
<p>Proposed text: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0232.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0232.html</a></p>
<p>Reviewed and approved, with ammendments, at Oct. 24 telecon.</p>
<p>Erratum <a href="http://www.w3.org/2001/05/xmlschema-errata#e2-38">E2-38</a> added.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiXPathSelector</item>
<item name="num">R-136</item>
<item name="cluster">! Unclustered </item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed </item>
<item name="classification">Error</item>
<item name="originator">Rahul Srivastava</item>
<item name="responsible">Henry S. Thompson </item>
<item name="shortDescription">Question about selector XPath expressions
</item>
<item name="longDescription">
<p>Is the following invalid? </p>
<pre>

&lt;xsd:element name="root"&gt;
  &lt;xsd:complexType&gt;
    &lt;xsd:sequence&gt;
      &lt;xsd:element name="Book" maxOccurs="unbounded"&gt;
        &lt;xsd:complexType&gt;
          &lt;xsd:sequence&gt;
            &lt;xsd:element name="isbn" type="xsd:string"/&gt;
          &lt;xsd:sequence&gt;
          &lt;xsd:attribute name="name" type="xsd:string" use="required"/&gt;
        &lt;xsd:complexType&gt;
        
        &lt;xsd:key name="BookKey"&gt;
          &lt;xsd:selector xpath="."/&gt;
          &lt;xsd:field xpath="isbn"/&gt;
        &lt;xsd:key>
        
      &lt;xsd:element&gt;
    &lt;xsd:sequence&gt;
  &lt;xsd:complexType&gt;
&lt;xsd:element&gt;
</pre>
<p>
The point to note here is that the selector XPath contains the expr '.' </p>
<p>
The XMLSchema Rec says:</p><p>
[[
{selector} specifies a restricted XPath ([XPath]) expression relative to instances of the 
element being declared. This must identify a node set of subordinate elements (i.e. contained 
within the declared element) to which the constraint applies.</p><p>
]]
</p>
<p>
Further,
3.11.4 The Identity-constraint Definition Validation Rules, 
states:</p><p>
[[
Validation Rule: Identity-constraint Satisfied </p><p>

For an element information item to be locally valid with respect to an identity-constraint all 
of the following must be true:</p><p>

1 The {selector}, with the element information item as the context node, evaluates to a node-set 
(as defined in [XPath]). [Definition:]  Call this the target node set. </p><p>

2 Each node in the target node set is an element node among the descendants of the context 
node.</p><p> 

3 ....</p><p>
]]
</p>
<p>
Looking at point 2 above, it reflects that, '.' cannot be used as the XPath expr for a 
selector. Does *descendants of the context node* include the context node?
</p>
<p>
On the other hand the production rule for the XPath expr for the selector allows '.' as a 
valid XPath expr.
</p>
<p>A clarification is requested.</p>
<p>See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0014.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0014.html</a></p>

</item>
<item name="discussion">
<p>Henry's response:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0024.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0024.html</a></p>
</item>

<item name="resolution">
<p>Discussed at the May 23 telecon: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002May/0091.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002May/0091.html</a></p>
<p>Resolved to classify R-136 as an error and instruct editor to draft erratum.</p>
<p>Proposed text: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/att-0225/01-R-161etc.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/att-0225/01-R-161etc.html</a></p>
<p>Reviewed and approved at the Oct. 24 telecon.  See: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0248.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0248.html</a></p>

<p>Erratum E1-35 added.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiSubstGrpLocals</item>
<item name="num">R-137</item>
<item name="cluster">! Unclustered </item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Jerome Simeon</item>
<item name="responsible">Henry S. Thompson </item>
<item name="shortDescription">Can substitution groups contain local elements? 
</item>
<item name="longDescription">
<p>
Can subsitution groups contain local elements? </p>
</item>
<item name="discussion">
<p>Henry Thompson:  </p>
<p>The Schema for Schemas rules this out.  
But, this only applies to the XML representation layer.</p>
<p>
It's a bug that there's no clause in "Schema Component Constraint:
Element Declaration Properties Correct" ruling this out for components 
as well.</p>
<p>See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0029.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0029.html</a></p>
</item>
<item name="resolution">
<p>Discussed at the May 23 telecon: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002May/0091.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002May/0091.html</a></p>
<p>Resolved to classify R-137 as an error and instruct editor to draft erratum ading a suitable component constraint.</p>
<p>Draft errata posted at: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0201.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0201.html</a></p>
<p>Discussed and approved at Oct. f2f.  See: 
<a href="http://www.w3.org/XML/2002/10/xml-schema-ftf-minutes">http://www.w3.org/XML/2002/10/xml-schema-ftf-minutes</a></p>
<p>Erratum E1-36 added.</p>

</item>
</issue>

<issue>
<item name="pfi">pfiS4SanySimpleType</item>
<item name="num">R-138</item>
<item name="cluster">! Unclustered </item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Datatypes,Structures)</item>
<item name="status">Closed</item>
<item name="classification">Clarification w/erratum</item>
<item name="originator">Aung Aung</item>
<item name="responsible">Henry S. Thompson </item>
<item name="shortDescription">The S4S contains derivations with anySimpleType as the base
</item>
<item name="longDescription">
<ol>
<li>Structures specifies that the simple ur-type defintion must not be used as a base type definition for any user-defined simple types.  But, the schema for schemas includes type derivations for the built-in primitive types with base types of anySimpleType.</li>
<li>XMLSchema.xsd includes a trailing space in the version.</li>
</ol>
<p>
See bullets 1 and 4 in the following email.   Henry Thompson's remarks are included:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0033.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0033.html</a></p>
</item>
<item name="discussion">
<p>In addition, Jeni Tennison asks where there is a normative constraint for this rule about anySimpleType:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0034.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0034.html</a></p>
<p>Henry's response:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0035.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0035.html</a></p>
<p>A related mail on "renaming" anySimpleType and "anyType":
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0052.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0052.html</a></p>
</item>
<item name="resolution">
<p>Discussed at the May 23 telecon: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002May/0091.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002May/0091.html</a></p>
<p>Henry Thompson to draft erratum: </p>
<ul>
<li>Clarifying that the schema for schemas can derive primitives from anySimpleType, although users cannot.</li>
<li>Making the constraint normative, as per Jeni Tennison's point.</li>
</ul>

<p>Erratum incorporated within that of R-54.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiAppDMidnight</item>
<item name="num">R-139</item>
<item name="cluster">! Unclustered </item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">James Clark</item>
<item name="responsible">Paul V. Biron, Ashok Malhotra </item>
<item name="shortDescription">Appendix D of datatypes does not permit 24:00 for date/time types
</item>
<item name="longDescription">
<p>
ISO 8601 section 5.3.2 allows 24:00:00 as a representation of midnight. 
Appendix D of XML Schema Part 2 says that the hh field runs between 0
and 
23, but there is no mention of 24:00:00's not being allowed as a
difference 
between XML Schema and ISO 8601.</p>
<p>
See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0039.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0039.html</a></p>
</item>
<item name="discussion">
<p>Discussed at the May 23 telecon:
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002May/0091.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002May/0091.html</a></p>
</item>
<item name="resolution">
<p>Editors to draft erratum correcting appendix D, and making 24:00 a legal form. </p>
<p>Proposed text may be found at: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Sep/0120.html">
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Sep/0120.html</a></p>
<p>Text 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Sep/att-0228/01-ErrataR-139.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Sep/att-0228/01-ErrataR-139.html</a> approved at Oct. 4 telecon.</p>
<p>Erratum <a href="http://www.w3.org/2001/05/xmlschema-errata#e2-45">E2-45</a> added.</p>

</item>
</issue>

<issue>
<item name="pfi">pfiLeapSeconds</item>
<item name="num">R-140</item>
<item name="cluster">. Unclustered </item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">In progress</item>
<item name="classification">Error w/erratum</item>
<item name="originator">James Clark</item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">dateTime order relation and leap seconds
</item>
<item name="longDescription">
<p>
Consider the dateTime of the last leap second:</p>
<p>

1998-12-31T23:59:60Z          (P)</p>
<p>

This instant in time can also have the lexical representation of, for
example,</p>
<p>

1998-12-31T22:59:60-01:00     (Q)</p>
<p>

Section 3.2.7.3 defines the algoritm for comparing two dateTimes as follows:</p>
<p>

"A.Normalize P and Q. That is, if there is a timezone present, but it is not
Z, convert it to Z using the addition operation defined in Adding durations
to dateTimes (E)"</p>
<p>

Now in our example P has a Z timezone, but Q doesn't, so we need to
normalize Q to Z using Appendix E.  But E.1 says:</p>
<p>

"Leap seconds are handled by the computation by treating them as overflows.
Essentially, a value of 60 seconds in S is treated as if it were a duration
of 60 seconds added to S (with a zero seconds field). All calculations
thereafter use 60 seconds per minute."</p>
<p>

This implies that Q is first mapped into:</p>
<p>

1998-12-31T23:00:00-01:00</p>
<p>

Then following the rest of algorithm in Appendix E, this will map into:
</p>
<p>
1999-01-01T00:00:00Z
</p>
<p>
Now comparing:
</p>
<p>
1998-12-31T23:59:60Z
</p>
<p>
and
</p>
<p>
1999-01-01T00:00:00Z
</p>
<p>
we find that
</p>
<p>
P &lt; Q
</p>
<p>
But P and Q represent the same value.  So we have a contradiction: two
lexical representations represent the same value, but the value represented
by one lexical representation is less than the value represented by the
other lexical representation.</p>
<p>
See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0043.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0043.html</a></p>
</item>
<item name="discussion">
<p>See 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003AprJun/0020.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003AprJun/0020.html</a></p>
<p>Discussed at the May 2003 f2f.  Decided to classify as error w/erratum and come back later for detailed consideration. </p>
</item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfiAppBdateTimeOrder</item>
<item name="num">R-141</item>
<item name="cluster">. Unclustered </item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">In progress</item>
<item name="classification">Error w/erratum</item>
<item name="originator">James Clark</item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">Changes suggested re: dateTime order relation
</item>
<item name="longDescription">
<p>
In section 3.2.7.3 on the order relation of dateTime, at B.1, it says:</p>
<blockquote>
  1.. If P[i] and Q[i] are both not specified, continue to the next i
  2.. If P[i] is not specified and Q[i] is, or vice versa, stop and return P
&lt;&gt; Q
</blockquote>
<p>
This doesn't make any sense to me.  When could P[i] or Q[i] be "not
specified"? In dateTime all fields are specified.</p>
<p>

When things like gYearMonth appeal to the dateTime order, they do so by
saying eg "the order relation on gYearMonth values is the order relation on
their starting instants", so in this case also all fields are totally
specified.</p>
<p>

I think the above two sentences should be deleted.</p>
<p>See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0044.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0044.html</a></p>
</item>
<item name="discussion">
<p>See 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003AprJun/0020.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003AprJun/0020.html</a></p>
<p>Discussed at the May 2003 f2f.  Decided to classify as error w/erratum and come back later for detailed consideration. </p>
</item>

<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfigMonthDayOrder</item>
<item name="num">R-142</item>
<item name="cluster">! Unclustered </item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Error w/erratum</item>
<item name="originator">James Clark</item>
<item name="responsible">Ashok Malhotra, Paul V. Biron </item>
<item name="shortDescription">Order relation for gMonthDay, gMonth, gDay
</item>
<item name="longDescription">
<p>
The order relation on date is specified as:</p>
<blockquote>

"If date values are considered as periods of time, the order relation on
date values is the order relation on their starting instants."</blockquote>
<p>

This makes sense to me.</p>
<p>

The order relation on time is specified as:</p>
<blockquote>

"The order relation on time values is the Order relation on dateTime
(3.2.7.3) using an arbitrary date."</blockquote>
<p>

This also makes sense to me.</p>
<p>

Now consider the order relation on eg gMonthDay:</p>
<blockquote>

"If gMonthDay values are considered as periods of time, the order relation
on gMonthDay values is the order relation on their starting instants."</blockquote>
<p>

I don't think this is quite right.  A gMonthDay is not a single period of
time but a recurring period.  The dateTime ordering relation compares two
specific instants of time. Thus in order to turn a gMonthDay into a specific
instant of time, you need to use an arbitrary year (just as with time you
need to use an arbitrary date).  However, I'm guessing --02-29 is allowed as
a gMonthDay; if so, the year is not an arbitrary year but an arbitrary leap
year.</p>
<p>

So the spec should say something like:</p>
<blockquote>

"If gMonthDay values are considered as periods of time using an arbitrary
leap year, ..."</blockquote>
<p>

Similarly, for gMonth and gDay.</p>
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0045.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0045.html</a></p>
</item>
<item name="discussion">
<p>Discussed at May 31 telcon.   Resolved to classify as error w/erratum.</p>
</item>
<item name="resolution">
<p>Proposed text:
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jun/0011.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jun/0011.html</a></p>
<p>Text approved at June 14 telecon: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jul/0009.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jul/0009.html</a></p>

<p>Erratum E2-26 added.</p>
</item>
</issue>


<issue>
<item name="pfi">pfiS4SanyAttr</item>
<item name="num">R-143</item>
<item name="cluster">! Unclustered </item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Henry S. Thompson</item>
<item name="responsible">Henry S. Thompson </item>
<item name="shortDescription">Subtle bug in schema doc. for schemas      
</item>
<item name="longDescription">
<p>
Derivation by restriction does not copy attribute wildcards from the 
base to the derived type def.</p>
<p>
Accordingly, the following type definitions have lost the</p>
<blockquote>

 &lt;anyAttribute namespace="##other" processContents="lax"/&gt; 
</blockquote>
<p>
they were meant to have:</p>
<pre>
  topLevelAttribute
  topLevelComplexType
  localComplexType
  complexRestrictionType
  simpleRestrictionType
  simpleExtensionType
  topLevelElement
  localElement
  realGroup
  namedGroup (and an anonymous type within it)
  groupRef
  explicitGroup
  simpleExplicitGroup
  an anonymous type with the group 'allModel'
  all
  namedAttributeGroup
  attributeGroupRef
</pre>
<p>

I propose an erratum to add the above wildcard to all of these.</p>
<p>See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0084.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0084.html</a></p>
</item>
<item name="discussion">
<p>See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0087.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0087.html</a></p>
</item>
<item name="resolution">
<p>Resolved at the May 31 telecon to classify R-143 as an error with erratum, and
instruct the editor (HST) to draft an erratum along the lines
suggested.</p>
<p>Erratum added:  E1-8.</p>

</item>

</issue>

<issue>
<item name="pfi">pfiDurationDateTime</item>
<item name="num">R-144</item>
<item name="cluster">. Unclustered </item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Error w/erratum</item>
<item name="originator">James Clark</item>
<item name="responsible">Ashok Malhotra </item>
<item name="shortDescription">Adding durations to dateTime               
</item>
<item name="longDescription">
<p>
Section E.1 contains the sentence:</p>
<blockquote>

"If a field in S is not specified, it is treated in the calculation as if it
were the minimum allowed value in that field, however, after the calculation
is concluded, the corresponding field in E is removed (set to unspecified)."
</blockquote>
<p>

I think this sentence is in error and should be deleted.
</p>
<p>

The ordering relation for eg gYear specifies: "the order relation on gYear
values is the order relation on their starting instants".  In this case as
in others, we only need to compare fully-specified dateTime instants.
</p>
<p>

The value space of gYear must be considered as containing both the year
number and the time zone (if any).  To compare two values in the gYear value
space, you convert them to values in the dateTime value space (by using
their starting instants).  Then you compare those two dateTime values using
the algorithm in 3.2.7.3.
</p>
<p>
That sentence in section E.1 only makes sense if you take the view that the
value space of the partially specified dateTimes (like gYear, gMonth) does
*not* include time zones; in this case, you would need to normalize out the
time-zone before converting to a time-instant for comparison, and so would
be applying addition to a partially-specified date time.  But this leads to
nonsense results, as Kawaguchi-san pointed out:</p>
<p>
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JanMar/0065.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JanMar/0065.html</a></p>
<p>See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0046.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0046.html</a></p>
</item>
<item name="discussion">
</item>
<item name="resolution">
<p>Resolved at the July 2003 f2f to classify as an error w/erratum.</p>
</item>
</issue>

<issue>
<item name="pfi">pfileapSecValid</item>
<item name="num">R-145</item>
<item name="cluster">. Unclustered </item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Error w/erratum</item>
<item name="originator">James Clark</item>
<item name="responsible">Ashok Malhotra </item>
<item name="shortDescription">Leap second validation                     
</item>
<item name="longDescription">
<p>
Appendix D says:</p>
<blockquote>

"A value of 60 or more is allowed only in the case of leap seconds.
</blockquote>

<blockquote>
Strictly speaking, a value of 60 or more is not sensible unless the month
and day could represent March 31, June 30, September 30, or December 31 in
UTC. Because the leap second is added or subtracted as the last second of
the day in UTC time, the long (or short) minute could occur at other times
in local time. In cases where the leap second is used with an inappropriate
month and day it, and any fractional seconds, should considered as added or
subtracted from the following minute."
</blockquote>
<p>

Consider a dateTime like this:</p>
<blockquote>

 1970-01-01T09:30:60Z
</blockquote>
<p>
This is completely bogus for a number of reasons (leap seconds only on last
day of March, June, September; leap second only on last second of day; no
leap second before 1972).  The last sentence above would seem to suggest
that this should be silently accepted and converted to 1970-01-01T09-31-01Z.
This surely cannot be right. That date is as bogus as a date that specifies
the 29th day of February in a year that is not a leap year.  It is very easy
to imagine an off-by-1 software bug that generates 60 instead of 59 in the
second field.  It cannot be right for a validator to accept and mangle it
into a different (but valid) date.
</p>
<p>

I think we can distinguish the following questions:</p>

<ol>
<li>
Assuming that an XML Schema processor encounters a leap second and
classifies it as (a) definitely valid (b) unsure or (c) definitely invalid,
what should it do in each case?  I would argue in case (c) it should give an
error and in case (a) or (b) it should allow it.
</li>
<li>
What algorithm is the XML Schema processor supposed to use for
classifying a leap second as (a), (b) or (c)?  Each of the following is a
piece of knowledge that an XML Schema processor could apply:
<p>
(a) No leap seconds occurred before 1971-12-31</p>
<p>(b) All leap seconds that have occurred so far have occurred on 31st
December or 30th June.</p>
<p>
(c) Leap seconds only occur on 31st March, 30th June, 30th September, or
31st December (in GMT)</p>
<p>
(d) Leap seconds only occur on the last second of the day.</p>
<p>
(e) The leap seconds that occurred so far are: 1971-12-31,...,1998-12-31</p>
<p>
(f) There will be no leap second on 2002-06-30.</p>
<p>
(g) The next potential leap second is 2002-12-31 (or maybe 2002-09-30).</p>
<p>
Which of the above is an XML Schema processor expected to apply in
validating a leap second?</p>
</li>
<li>
How should future leap seconds be handled?  For example, what if a
processor running today encounters the date 2010-12-31T23:59:60Z?  Now it's
possible that at some future point this will be declared to be a leap
second.  But at the moment, we know for certain that it has not been decided
whether it should be a leap second.  Given this, should a user get an error
if today they feed 2010-12-31T23:59:60Z to an XML Schema processor?
</li>
<li>
How should leap seconds in a time value with a time zone be handled?  I
guess it should be rejected if it does not correspond to 23:59:60Z. But what
recurring instant of time would this denote? Every leap second?
</li>
<li>
How should leap seconds in a time value without a time zone be handled?
Because of time zones, I guess anything is OK.
</li>
<li>
How should leap seconds in a dateTime value without a time zone be
handled? By analogy with 3.2.7.3, one approach might be to say that a
dateTime P without a time zone is valid if and only if there is a time zone
T where -14:00 &lt;= T &gt;= 14:00 such that PT is valid.
</li>
</ol>
<p>
See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0047.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0047.html</a></p>
</item>
<item name="discussion">
</item>
<item name="resolution">
<p>Resolved to classify as error w/erratum.  At the 2003-09-04 telecon, DaveP made a proposal for how to address the issues, which was accepted.   Editors to draft erratum accordingly.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiDbleLeapSec</item>
<item name="num">R-146</item>
<item name="cluster">. Unclustered </item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Clarification</item>
<item name="originator">James Clark</item>
<item name="responsible">Ashok Malhotra </item>
<item name="shortDescription">Double leap seconds                     
</item>
<item name="longDescription">
<p>
Section D.1 says "A value of 60 or more is allowed only in the case of leap
seconds". Is the "or more" just intended to cover a fractional second or is
it intended to allow values >= 61?  The specs for Java and ISO C allow a
value of 61, but as far as I can see the official spec for UTC
only allows a single leap second.</p>
<p>
See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0048.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0048.html</a></p>
</item>
<item name="discussion">
<p>
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0066.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0066.html</a></p>
</item>
<item name="resolution">
</item>
<p>Resolved at the July 2003 f2f to classify as a clarification without erratum. </p>
</issue>

<issue>
<item name="pfi">pfiLexicalDuration</item>
<item name="num">R-147</item>
<item name="cluster">! Unclustered </item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">James Clark</item>
<item name="responsible">Ashok Malhotra, Paul V. Biron </item>
<item name="shortDescription">Lexical form of duration components     
</item>
<item name="longDescription">
<p>
3.2.6.1 says "The values of the Year, Month, Day, Hour and Minutes
components are not restricted but allow an arbitrary integer. Similarly, the
value of the Seconds component allows an arbitrary decimal."</p>
<p>

What exactly is the lexical form of arbitrary integer and arbitrary decimal?
Does it mean the lexical form of the "decimal" and "integer" datatypes as
defined in section 3.2.3 and 3.3.13?  Apparently not since it says "P-1347M"
is not allowed even though "-1347" is a perfectly good integer.  If not,
what does it mean?</p>
<p>

Specifically, which of the following are allowed?</p>
<pre>

(a) P+1Y
(b) P-1Y
(c) P-0Y
(d) P.1S
(e) P1.S
</pre>
<p>
ISO 8601 allows only a sequence of digits, but since ISO 8601 is not
cited normatively a reader cannot rely on that. The provision of fractional
sections goes beyond what ISO 8601:1988 allows. However, according to my
(draft and thus perhaps no longer correct) copy, ISO 8601:2000 does not
allow any of (d) or (e) (even though they are valid instances of the XML
Schema decimal data type).
</p>
<p>
See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0049.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0049.html</a></p>
</item>
<item name="discussion">
<p>
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0077.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0077.html</a></p>
</item>
<item name="resolution">
<p>Discussed at the May 31 telecon.  The WG resolved to to classify R-147 as an error with erratum, and
instruct the editors to draft an erratum along the lines specified.
</p>

<p>Proposed text:
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jun/0013.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jun/0013.html</a></p>
<p>Text approved at June 14 telecon: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jul/0009.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jul/0009.html</a></p>
<p>Erratum E2-23 added.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiDateTimeSeconds</item>
<item name="num">R-148</item>
<item name="cluster">. Unclustered </item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">In progress</item>
<item name="classification">Unclassified</item>
<item name="originator">James Clark</item>
<item name="responsible">Asir Vedamuthu </item>
<item name="shortDescription">Trailing decimal point in seconds field of dateTime and time                     
</item>
<item name="longDescription">
<p>
Is a trailing decimal point allowed in the seconds field of dateTime and
time? For example, is "12:45:00." allowed? 3.2.7.1 says "any number of
digits after the decimal point is supported", but I believe ISO 8601:2000
requires that any fractional part have at least one digit.</p>

<p>
See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0050.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0050.html</a></p>
</item>
<item name="discussion">
</item>
<item name="resolution">
<p>Discussed at the July 2003 f2f.   WG decided that the 2E text already takes care of this problem.  Asir to write to James to confirm. </p>
</item>
</issue>

<issue>
<item name="pfi">pfinonPositiveInt</item>
<item name="num">R-149</item>
<item name="cluster">! Unclustered </item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Clarification w/erratum</item>
<item name="originator">James Clark</item>
<item name="responsible">Ashok Malhotra, Paul V. Biron </item>
<item name="shortDescription">Is +0 allowed as a nonPositiveInteger in lexical form?     
</item>
<item name="longDescription">
<p>
Is +0 allowed as a nonPositiveInteger?  At the moment there's a
contradiction. 3.3.14.1 says "nonPositiveInteger has a lexical
representation consisting of a negative sign ("-") followed by a
finite-length sequence of decimal digits (#x30-#x39). If the sequence of
digits consists of all zeros then the sign is optional."  This doesn't allow
+0.  On the other hand 0 is in the value space of nonPositiveInteger and +0
is a legal representation of ) in the lexical space of integer.
</p>
<p>
Either</p>
<p>

(a) the prose in 3.3.14.1 needs fixing, or</p>
<p>

(b) the schema for schema needs to add a pattern facet to the definition of
nonPositiveInteger that excludes +0</p>
<p>

If you do (b), then you will probably want to fix nonNegativeInteger to
disallow "-0". However, at the moment there's no contradiction since the
prose for nonNegativeInteger allows "an optional sign" not just an optional
positive sign.</p>
<p>
See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0051.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0051.html</a></p>
</item>
<item name="discussion">
<p>
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0053.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0053.html</a></p>
<p>
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0053.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0053.html</a></p>
</item>
<item name="resolution">
<p>Discussed at the May 31 telecon.   WG resolved to to classify R-149 as a clarification with
erratum, and instruct the editors to draft an erratum fixing the
prose.</p>

<p>Proposed text:
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jun/0010.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jun/0010.html</a></p>
<p>Final approved text may be found at: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0086.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0086.html</a></p>
<p>Erratum E2-27 added.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiIntlDigitChars</item>
<item name="num">R-150</item>
<item name="cluster">! Unclustered </item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Clarification w/erratum</item>
<item name="originator">Sandy Gao</item>
<item name="responsible">Ashok Malhotra </item>
<item name="shortDescription">Are international digit characters allowed for date/time types?
</item>
<item name="longDescription">
<p>
For decimal types, it's explicitly mentioned in the spec that the decimal
digits have to be in the range #x30-#x39. But for date/time types, the Rec only
refers to ISO 8601.  Are digits outside of the range 
#x30-#x39 allowed?
</p>
<p>
See item 2 from:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0031.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0031.html</a></p>
</item>
<item name="discussion">
</item>
<item name="resolution">
<p>Proposed text: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jul/0062.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jul/0062.html</a></p>

<p>Errata text approved with ammendments at the June 28 telecon.  See minutes for details: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jul/0004.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jul/0004.html</a></p>
<p>Final modified text: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jul/0003.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jul/0003.html</a></p>

<p>Erratum E2-28 added.</p>


</item>
</issue>

<issue>
<item name="pfi">pfiequalFacet</item>
<item name="num">R-151</item>
<item name="cluster">! Unclustered </item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Clarification w/erratum</item>
<item name="originator">Sandy Gao</item>
<item name="responsible">Ashok Malhotra </item>
<item name="shortDescription">Questions about equal fundamental facet
</item>
<item name="longDescription">
<p>
Questions include:</p>
<ol>
<li>
Is it defined on "value spaces", or "types"?
<p>
In 4.2.1 of the datatype spec: "Every value space supports the notion of
equality, ...". So it seems that "equal" is defined on "value spaces". Does
this imply that two (unconnected) types (with the same value space) can
have equal values? For example, hexBinary and base64Binary have the same
value space ("the set of finite-length sequences of binary octets").
hexBinary value "00" and base64Binary value "AA==" both represent one byte
of value "0". Then are the two values equal? </p>
<p>
But 3.11.1 of the Structures spec says "Values of differing type can only be
equal if one type is derived from the other, and the value is in the value
space of both". Here it seems to indicate something different. Is this a
contradiction?
</p>
</li>
<li>
Do the types have to be related by restriction or union?
<p>
If type A restricts "integer" by setting "minInclusive=0", and B restricts
"integer" by setting "maxInclusive=10". Now A and B are not related by
restriction or union. But I still expect value "5" from both types (values
spaces) to be equal.</p>
<p>
(If they have to be related by restriction or union, doesn't 3.11.1 of
the structure spec need to be modified to be more strict, instead of simply
saying "derived from"?)</p>
</li>
</ol>
<p>The commentator's views on these issues:</p>
<ol>
<li>
"equal" should be defined on value spaces, because equal values are
equal, no matter how they were lexically represented.</li>
<li>
Types used to generate equal (actual) values don't need to be related.
As long as there exist a (primitive) value space to which both values
belong, and the two values are equal in that value space, then they are
equal. This means hexBinary and base64Binary can generate equal values, so
can QName and NOTATION. Further on this, maybe the value space of "float"
should (or already is) be a subset of that of "double", so that these types
can generate equal values.
</li>
</ol>
<p>
See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0059.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0059.html</a></p>
</item>
<item name="discussion">
<p>
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0060.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0060.html</a></p>
</item>
<item name="resolution">
<p>Discussed at the May 31 telecon.   The WG 
divided the question into: </p>
<ul>
<li>
   R-151a: can types derived from the same primitive type, but not
   derived from each other, can have equal values?
</li>
<li>
   R-151b(i): should we make an explicit statement that the primitive
   value spaces are disjoint?
</li>
<li>
   R-151b(ii): should we add a note to the descriptions of base64Binary
   and hexBinary saying explicitly that their value spaces are
   disjoint?
</li>
</ul>
<p>
RESOLVED unanimously: to classify R-151a (on whether types derived
from the same primitive type, but not derived from each other, can
have equal values) as a clarification with erratum, and instruct the
editors to draft an erratum saying yes they can.</p>
<p>
RESOLVED: to classify R-151b(i) as a clarification with erratum and
instruct the editors to draft an erratum saying explicitly that the
primitive value spaces are disjoint.  </p>
<p>
On R-151b(ii) we considered a proposal to class it a clarification
with erratum and to instruct the editors to draft an appropriate
clarification.  The proposal failed.  </p>

<p>Proposed text may be found at: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jun/0061.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jun/0061.html</a></p>
<p>Brief discussion of the text began at the June 20 telecon, but no detailed review of the text was done. </p>
<p>Final revised text 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Sep/0057.html">
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Sep/0057.html</a> 
approved at Sept. 13 concall.</p>
<p>Erratum <a href="http://www.w3.org/2001/05/xmlschema-errata#e2-46">E2-46</a> added.</p>

</item>
</issue>

<issue>
<item name="pfi">pfiTDesignator</item>
<item name="num">R-152</item>
<item name="cluster">! Unclustered </item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">James Clark</item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">When is T designator required with duration?
</item>
<item name="longDescription">
<p>
3.2.6.1 says:</p>
<blockquote>

 "The designator 'T' shall be absent if all of the time items are absent"
</blockquote>
<p>

Shouldn't this be "if and only if" rather than "if"?  I don't think 
something like P24H can be allowed since there would be an ambiguity 
whether M meant months or minutes.  (The use of "shall" here feels rather 
ISO-ish; tt would be more stylistically consistent to use "must".)
</p>
<p>See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0082.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0082.html</a></p>
</item>
<item name="discussion">
<p>
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0086.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0086.html</a></p>
</item>
<item name="resolution">
<p>Discussed at the May 31 telecon.   Errata text proposed at: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002May/0151.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002May/0151.html</a> 
was approved.</p>
<p>Erratum E2-24 was added.</p>

</item>
</issue>

<issue>
<item name="pfi">pfipublicAttr</item>
<item name="num">R-153</item>
<item name="cluster">!Unclustered </item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Walter Waterfeld</item>
<item name="responsible">Henry S. Thompson </item>
<item name="shortDescription">Is the public attribute of notation optional?
</item>
<item name="longDescription">
<p>
Is the public attribute of notation optional or required?   The Schema for 
Schemas and the XML representation of Notation Declaration schema components 
indicates it is required.   However, section 3.12.1 states that it is optional.
</p>
<p>See the following for more info, links to the spec, etc.:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0097.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0097.html</a></p>
</item>
<item name="discussion">
<p>Discussed at Sept. 13 telecon.  The WG agreed that the S4S is likely in 
error, but HT to verify w/ Richard Tobin, and then draft erratum.</p>
</item>
<item name="resolution">
<p>Final text available at: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/att-0312/01-R-161etc.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/att-0312/01-R-161etc.html</a></p>
<p>Text reviewed and approved at Nov 1 telecon. </p>
<p>Erratum E1-16 added</p>
</item>
</issue>

<issue>
<item name="pfi">pfiTypo5.1</item>
<item name="num">R-154</item>
<item name="cluster">.Unclustered </item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Editorial</item>
<item name="originator">Andrew Watt</item>
<item name="responsible">Henry S. Thompson </item>
<item name="shortDescription">Typo in section 5.1 of Structures? 
</item>
<item name="longDescription">
<p>
In the final part of line 6 of paragraph 1 of Chapter 5.1 the text "with an 
other information" should, I think, read "with any other information".
</p>
<p>See the following for more info:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0107.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0107.html</a></p>
</item>
<item name="discussion">
</item>
<item name="resolution">
<p>Resolved at the July 2003 f2f to classify as editorial.</p>
</item>
</issue>

<issue>
<item name="pfi">pfi4PrimerTypos</item>
<item name="num">R-155</item>
<item name="cluster">.Unclustered </item>
<item name="shortPart">0</item>
<item name="verbosePart">0 (Primer)</item>
<item name="status">Closed</item>
<item name="classification">Editorial</item>
<item name="originator">Priscilla Walmsley</item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">4 Typos in the Primer               
</item>
<item name="longDescription">
<p>
Found a few typos in the Primer that I don't think have been reported
yet:
</p>
<ol>
<li>
In the paragraph just before section 2.5, "it has an anonymous simple
type derived from integer..."  This should be positiveInteger, not
integer. </li>
<li>
Table 2 - note (5) at the bottom - "calender" should be "calendar".
</li>
<li>
Section 4.2, first paragraph  "...technique we used in in Section
2.5.1..." The word "in" is repeated.
</li>
<li>
Table D1 - "Espan&#xF1;ola" should say "Espa&#xF1;ola" (with no "n").
</li>
</ol>
<p>See the following for more info:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0118.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0118.html</a></p>
</item>
<item name="discussion">
</item>
<item name="resolution">
<p>Errata E0-3,4,5,6 added.</p></item>
</issue>

<issue>
<item name="pfi">pfiMixedSimple</item>
<item name="num">R-156</item>
<item name="cluster">!Unclustered </item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Clarification w/Erratum</item>
<item name="originator">Asir Vedamuthu</item>
<item name="responsible">Henry S. Thompson </item>
<item name="shortDescription">Question about mixed="true" and simpleContent
</item>
<item name="longDescription">
<p>
Consider:</p>
<pre>
&lt;complexType name="something" mixed="true"&gt;
	&lt;simpleContent&gt;
		&lt;restriction base="string"&gt;
		&lt;/restriction&gt;
	&lt;/simpleContent&gt;
&lt;/complexType&gt;
</pre>
<p>
This is a unique combination, a complex type with simple content and mixed
content type. I believe that this combination is valid per XML Schema 1.0
REC.</p>
<p>
Personally, I believe that this combination is invalid and hope this will be
ruled out explicitly.</p>
<p>See the following for more info:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0127.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0127.html</a></p>
</item>
<item name="discussion">
<p>Response from Henry: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0141.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0141.html</a></p>
</item>
<item name="resolution">
<p>The WG discussed this issue at the Sept. 13 telecon, and agreed to add a "warning" about this now (2nd edition), with the intent that constraints will be added to 1.1.  HT to draft erratum. </p>
<p>Proposed text: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/att-0225/01-R-161etc.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/att-0225/01-R-161etc.html</a></p>
<p>Reviewed/approved at the Oct. 25 telecon.</p></item>
<p>Erratum E1-37 added.</p>
</issue>

<issue>
<item name="pfi">pfiNondeterministic</item>
<item name="num">R-157</item>
<item name="cluster">!Unclustered </item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Clarification without erratum</item>
<item name="originator">Ashok Malhotra</item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">Question about non-deterministic content models
</item>
<item name="longDescription">
<p>
Despite the fact that multiple non-normative portions of the spec make
it clear that ambiguous content-models were not intended to be allowed,
the language used in the normative parts of xml-schema (structures)
allows for ambiguous/non-deterministic content-models. </p>
<p>

The 'Unique Particle Attribution' constraint combined with section 3.8.4
_would_ require non-ambiguous content-models, were it not for the
interaction of minOccurs/maxOccurs with these rules.  
</p>
<p>

There are 2 relatively simple fixes that I can think of:</p>
<ol>
<li>
make it clear that minOccurs/maxOccurs are just syntactic sugar, and
that the 'Unique Particle Attribution' constraint should not be impacted
by this sugar.</li>
<li>
change section 3.8.4 to indicate that the partitioning of the content
must be possible based only on the current position in the content-model
and the name of the next element.  (I.e. make it explicit that ambiguity
is not allowed.)
</li>
</ol>
<p>Here is an example:</p>
<pre>
--- t.xsd
&lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" &gt;
  &lt;xs:element name="root"&gt;
    &lt;xs:complexType&gt;
      &lt;xs:sequence minOccurs="2" maxOccurs="2"&gt;
        &lt;xs:element name="a" minOccurs="2" maxOccurs = "unbounded"/&gt;
        &lt;xs:element name="b" minOccurs="0"/&gt;
      &lt;/xs:sequence&gt;
    &lt;/xs:complexType&gt;
  &lt;/xs:element&gt;
&lt;/xs:schema&gt;

---- t.xml
&lt;?xml version="1.0"?&gt;
&lt;root&gt;&lt;a/&gt;&lt;a/&gt;&lt;a/&gt;&lt;a/&gt;&lt;root&gt;


---- t2.xml
&lt;?xml version="1.0"?&gt;
&lt;root&gt;&lt;a/&gt;&lt;a/&gt;&lt;a/&gt;&lt;b/&gt;&lt;a/&gt;&lt;root&gt;
</pre>
<p>

Both t.xml and t2.xml are valid according to the content-model, and in
both cases there is unique particle attribution, but upon having parsed
the 2nd <a/> and encountering the 3rd <a/>, it is impossible to know
whether to start a new sub-sequence or to continue the current.  For
1.xml, it is necessary to start a new sub-sequence at that point, and
for t2.xml it is necessary to hold off.
</p>
<p>See the following for more info:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0129.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0129.html</a></p>
</item>
<item name="discussion">
<p>Response from Henry: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0139.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0139.html</a></p>
</item>
<item name="resolution">
<p>Discussed at the Sept. 20 concall. </p>
<p>RESOLVED: to classify R-157 as clarification without erratum.</p>

</item>
</issue>


<issue>
<item name="pfi">pfitopLevelAttr</item>
<item name="num">R-158</item>
<item name="cluster">.Unclustered </item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Future Requirement</item>
<item name="originator">Asir Vedamuthu</item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">topLevelAttribute and use=(optional|prohibited|required)
</item>
<item name="longDescription">
<p>
This is a fragment from the Schema for Schemas</p>
<pre>
&lt;xs:complexType name="topLevelAttribute"&gt;
  &lt;xs:complexContent&gt;
   &lt;xs:restriction base="xs:attribute"&gt;
    &lt;xs:sequence&gt;
     &lt;xs:element ref="xs:annotation" minOccurs="0"/&gt;
     &lt;xs:element name="simpleType" minOccurs="0" type="xs:localSimpleType"/&gt;
    &lt;/xs:sequence&gt;
    &lt;xs:attribute name="ref" use="prohibited"/&gt;
    &lt;xs:attribute name="form" use="prohibited"/&gt;
    &lt;xs:attribute name="use" use="prohibited"/&gt;
    &lt;xs:attribute name="name" use="required" type="xs:NCName"/&gt;
   &lt;/xs:restriction&gt;
  &lt;/xs:complexContent&gt;
&lt;/xs:complexType&gt;
</pre>
<p>
attribute 'use' is ruled out,</p>
<pre>

&lt;xs:attribute name="use" use="prohibited"/&gt;
</pre>
<p>
However, the prose in section 3.2.3 (constraints on XML Representation) doesn't
say anything about the 'use' attribute.</p>
<p>
I believe that the schema for schemas is correct and hope, the prose will rule this
out explicitly.
</p>
<p>See the following for more info:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0128.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0128.html</a></p>
</item>
<item name="discussion">
<p>Response from Henry: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0138.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0138.html</a></p>
</item>
<item name="resolution">
<p>Resolved at the July 2003 f2f to defer to 1.1, adding it as a requirement.</p>
</item>
</issue>


<issue>
<item name="pfi">pfiAttrDefaults</item>
<item name="num">R-159</item>
<item name="cluster">!Unclustered </item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">Henry S. Thompson</item>
<item name="responsible">Henry S. Thompson </item>
<item name="shortDescription">Bug in the spec wrt attribute defaults 
</item>
<item name="longDescription">
<p>
The REC distinguishes between attribute decls and attribute uses in
order to allow refs to global decls to have their own defaulted and/or
fixed values.  We correctly fall back from the use to the decl in
checking fixed values, but we don't actually specify the fallback in
building the default.  This actually requires a one-word fix (insert
'effective' before {value constraint} in Schema Information Set
Contribution: Attribute Default Value in section 3.4.5) with a link to
the definition of effective value constraint.</p>
<p>

This is a 'must fix', in my view.</p>

<p>See the following for more info:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0137.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0137.html</a></p>
</item>
<item name="discussion">
</item>
<item name="resolution">
<p>Discussed at the Sept. 13 telecon.  The WG agreed with HT on the proposal and is instructed to draft erratum text.</p>
<p>Draft errata posted at: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0201.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0201.html</a></p>
<p>Discussed and approved at Oct. f2f.  See: 
<a href="http://www.w3.org/XML/2002/10/xml-schema-ftf-minutes">http://www.w3.org/XML/2002/10/xml-schema-ftf-minutes</a></p>
<p>Erratm E1-38 added.</p>
</item>
</issue>

<issue>
<item name="pfi">pfitypeOverride</item>
<item name="num">R-160</item>
<item name="cluster">!Unclustered </item>
<item name="shortPart">1</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Clarification without erratum</item>
<item name="originator">Dave Hollander</item>
<item name="responsible">Paul V. Biron </item>
<item name="shortDescription">Question re: validity of type override with union type
</item>
<item name="longDescription">
<p>
I am unable to determine the intent and meaning of section
3.14.6 Constraints on Simple Type Definition Schema Components.
</p>
<p>
My recall is that the intent of instance type overides is
ONLY to apply stricter constraints on the data to be validated.
Yet, when working an example, the use in extensibility deriving
alternative types became apparent.
</p>
<p>
Read one way:</p>
<ul>
<li>
unitedColor is validly derived by union from rgbColor and the
instance is valid.
If So, the text in parenthesis is not normative and confusing.
</li>
</ul>
<p>Or another way</p>
<ul>
<li>
unitedColor is NOT validly derived from rgbColor because
it is not derived by restriction and therefore
the instance is not valid.
If so, why is union in the list?
</li>
</ul>
<p>
Analysis: </p>
<p>

My guess: the first two test-colors are valid, the last three are not.
xsi:type can be a built-in type or a globally defined type in
the schema but must be a type that is derived from the original
type of the element or attribute.
</p>
<p>

I think the ruling clause is:</p>
<blockquote>
    2.2.4 does not apply because B (rgbColor) is not an union.
</blockquote>
<blockquote>
    2.2.2 D's base type definition is not the simple ur-type definition
	and is validly derived from B given the subset, as defined by
	this constraint.
</blockquote>
<p>

where in this case, B (rgbColor) is restriction of unsignedByte
</p>
<p>

when D = unitedColor - The fact that a union exists should have no
impact, the union is in D's variety and the text in the first para says
"of which only restriction is actually relevant"
</p>
<p>

Yet, the only reason to believe that it is not validly derived
is the clause 2.2.2. This logic becomes circular.
</p>
<p>See the following for more info and examples:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0152.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0152.html</a></p>
</item>
<item name="discussion">
</item>
<item name="resolution">
<p>Discussed at the Sept. 19 conference call.  </p>
<p>RESOLVED: to class R-160 as clarification without erratum (i.e. no change is required).
PVB to draft reply to commentator on R-160.</p>

</item>
</issue>

<issue>
<item name="pfi">pfiQnameRes</item>
<item name="num">R-161</item>
<item name="cluster">!Unclustered </item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Error</item>
<item name="originator">James Clark</item>
<item name="responsible">Henry S. Thompson </item>
<item name="shortDescription">QName resolution to components with no target namespace 
</item>
<item name="longDescription">
<p>
The description of QName resolution in Part 1, section 3.15.3, specifically 
item 4 doesn't seem to handle the case of referring to a component with no 
target namespace (where xs:import has no namespace attribute).

</p>
<p>See the following for more info:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0162.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0162.html</a></p>
</item>
<item name="discussion">
<p>See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0163.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0163.html</a></p>
</item>
<item name="resolution">
<p>Discussed at the Sept. 13 telecon.  The WG agreed the commentator has pointed out a bug, and HT is directed to draft an erratum fixing the problem.</p>
<p>Proposed text: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/att-0312/01-R-161etc.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/att-0312/01-R-161etc.html</a></p>
<p>Discussed at the Nov. 1 telecon.</p>
<p>Erratum E1-39 added.</p>
</item>

</issue>

<issue>
<item name="pfi">pfiStruct3.14.6</item>
<item name="num">R-162</item>
<item name="cluster">!Unclustered </item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Error w/erratum</item>
<item name="originator">John Verhaeg</item>
<item name="responsible">Henry S. Thompson </item>
<item name="shortDescription">Errors in section 3.14.6 of Structures
</item>
<item name="longDescription">
<p>
In the Structures spec, under Section 3.14.6 -> Schema Component Constraint:
Derivation Valid (Restriction, Simple)</p>
<ul>
<li>
2.2 is missing the whitespace facet.</li>
<li>
3.1 should be removed since other unions are allowed.</li>
</ul>
<p>See the first paragraph of the following for more info:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0135.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0135.html</a></p>
</item>
<item name="discussion">
</item>
<item name="resolution">
<p>Discussed at the Sept. 19 concall. 
</p>
<p>Resolved to classify R-162 item 2.2 as error with erratum, and 3.1 as

clarification without erratum.</p>
<p>Erratum E1-22 added</p>
 
</item>

</issue>

<issue>
<item name="pfi">pfiS4SAnnotation</item>
<item name="num">R-163</item>
<item name="cluster">.Unclustered </item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Clarification w/erratum;  Future Requirement</item>
<item name="originator">David Stephenson</item>
<item name="responsible">Henry S. Thompson </item>
<item name="shortDescription">Inconsistency between S4S and schema component information re: annotations
</item>
<item name="longDescription">
<p>
The Schema for Schemas and the Rec should be consistent wrt where annotations 
are allowed.   The Schema for Schemas permits an annotation on any element/attribute element, but the Rec is missing annotation information for some schema component definitions.   
</p>
<p>See the following: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0170.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0170.html</a></p>
<p>as well as an earlier posting with an example: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0020.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0020.html</a>
</p>
</item>
<item name="discussion">
</item>
<item name="resolution">
<p>Resolved at the July 2000 f2f to: </p>
<ol>
<li>add a clarification to the errata doc indicating that annotations get lost in this situation</li>
<li>integrate this case of lost annotations into RQ-130</li>
</ol>
</item>
</issue>

<issue>
<item name="pfi">pfiPrimerPOXmp</item>
<item name="num">R-164</item>
<item name="cluster">.Unclustered </item>
<item name="shortPart">0</item>
<item name="verbosePart">0 (Primer)</item>
<item name="status">Closed</item>
<item name="classification">Doc Suggestion</item>
<item name="originator">Ben Clemens</item>
<item name="responsible">Priscilla Walmsley </item>
<item name="shortDescription">Suggestion for change to Primer PO Example
</item>
<item name="longDescription">
<p>
The commentator suggests that the type of zip code in the purchase order 
schema be changed from decimal.
</p>
<p>See the following: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0172.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0172.html</a></p>
</item>
<item name="discussion">
</item>
<item name="resolution">
<p>Resolved at the 2003-07-31 telecon to defer to 1.1, and to suggest to the editor that she use postal codes to illustrate patterns. </p>
</item>
</issue>

<issue>
<item name="pfi">pfiAppHClarif</item>
<item name="num">R-165</item>
<item name="cluster">.Unclustered </item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Clarification w/erratum</item>
<item name="originator">James Clark</item>
<item name="responsible">Henry S. Thompson </item>
<item name="shortDescription">Clarification requested for statement in Appendix H of Structures
</item>
<item name="longDescription">
<p>
Appendix H of Part 1 includes the sentence:</p>
<blockquote>

  "Determinize this automaton, treating wildcard transitions as opaque."
</blockquote>
<p>What is the meaning of 
"treating wildcard transitions as opaque"?
</p>
<p>See the following: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0175.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0175.html</a></p>
<p>Henry's response: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0000.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0000.html</a></p>
</item>
<item name="discussion">
</item>
<item name="resolution">
<p>Resolved at the 2003-09-11 concall to classify R-165 as a clarification with erratum, and to instruct the editors to produce requisite prose. </p>
</item>
</issue>

<issue>
<item name="pfi">pfiAppHClarif</item>
<item name="num">R-166</item>
<item name="cluster">.Unclustered </item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Error w/eratum</item>
<item name="originator">Richard Tobin</item>
<item name="responsible">Henry S. Thompson </item>
<item name="shortDescription">Question re: xsi:type and skip
</item>
<item name="longDescription">
<p>
If an element matches &lt;any&gt; with processContents=skip, but has an
xsi:type attribute, may/must it be assessed?</p>
<p>

Schema-Validity Assessment (Element) disallows finding an element
declaration or laxly validating using the ur-type when the
context-determined declaration is skip, but does not mention skip in
section 1.2 which includes the xsi:type case.</p>
<p>

It seems most reasonable to me that an element matching skip should be
completely untouched by the validator, just like an element outside
the validation-root.

</p>
<p>See the following: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0002.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0002.html</a></p>
<p>Ashok's response: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0004.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0004.html</a></p>
</item>
<item name="discussion">
<p>2003-09-11:  This is a duplicate of issue R-193 and is being closed.   </p>
</item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfiAttrAssessment</item>
<item name="num">R-167</item>
<item name="cluster">!Unclustered </item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Clarification without erratum/Future Requirement</item>
<item name="originator">Richard Tobin</item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">Question about assessment outcome for attributes
</item>
<item name="longDescription">
<p>
Assessment Outcome (Attribute) only applies to attributes that have
been assessed.  Since there is no difference between assessment and
strict assessment for an attribute, an attribute that has not been
strictly assessed will never have a [validation attempted] property,
so it is impossible for the [validation attempted] property to be
none.  Similarly the [validity] property can never be notKnown.
</p>
<p>

This seems odd.  An attribute with no type declaration cannot be
assessed (Schema-Validity Assessment (Attribute)), so it will never
have any PSVI properties, whereas it would be natural for it to have
[validation attempted] = none and [validity] = notKnown.
</p>
<p>See the following: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0003.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0003.html</a></p>
</item>
<item name="discussion">
</item>
<item name="resolution">
<p>Discussed at the Sept. 20 concall. </p>
<p>RESOLVED: to classify R-167 as clarification without erratum,
and to bring the issue up again in the context of 1.1.</p>

</item>
</issue>

<issue>
<item name="pfi">pfiErrorCodeMustfind</item>
<item name="num">R-168</item>
<item name="cluster">.Unclustered </item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Clarification</item>
<item name="originator">Richard Tobin</item>
<item name="responsible">Sandy Gao </item>
<item name="shortDescription">Question about error codes
</item>
<item name="longDescription">
<p>[schema error code] is only set when an element or attribute's local
validity has been assessed (Validation Failure (Element) or (Attribute)).
</p>
<p>
So no error code is set when no declaration or type can be found for
an element or attribute, because in this case local validity is not
assessed.  But it seems to me that this should produce some error code
if the context-determined declaration is mustFind.
</p>
<p>See the following: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0005.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0005.html</a></p>
</item>
<item name="discussion">
</item>
<item name="resolution">
</item>
<p>Resolved at the 2003-09-11 telecon that there is no problem, and the issue is classified as a clarification without erratum.  Sandy Gao to respond to commentator.</p>
</issue>

<issue>
<item name="pfi">pfiNotationPublic</item>
<item name="num">R-169</item>
<item name="cluster">!Unclustered </item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Error w/erratum</item>
<item name="originator">Paul V. Biron </item>
<item name="responsible">Henry S. Thompson </item>
<item name="shortDescription">Type of the public identifier of notations
</item>
<item name="longDescription">
<p>
Should the WG reconsider whether the public identifer of schema notations should be a string instead of anyURI?</p>
<p>See the following: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0007.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0007.html</a></p>
<p>See also related Rec Issue R-32.</p>
</item>
<item name="discussion">
</item>
<item name="resolution">
<p>Sept. 27: RESOLVED: to classify R-169 as an error with erratum, and to instruct
the editor to correct the XML Representation display and the schema
for schemas, and to make a private utility type to model XML 1.0 2e as
closely as possible.</p>
<p>Erratum covered by that of R-153. </p>


</item>
</issue>

<issue>
<item name="pfi">pfiNotationPublic</item>
<item name="num">R-170</item>
<item name="cluster">!Unclustered </item>
<item name="shortPart">1,2</item>
<item name="verbosePart">1,2 (Structures,Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Future Requirement</item>
<item name="originator">Berthold Daum</item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">Inconsistent use of the term "derived"    
</item>
<item name="longDescription">
<p>
XML Schema Part 1 (Structure) and XML Schema Part 2 (Datatypes) seem to 
have different notions of "derived" for simple types.
</p>
<p>

According to Part1, setion 3.14.6, Schema Component Constraint: Type 
Derivation OK (Simple), type unions and list extensions are NOT "derived" 
from their respective member types (but their member types are regarded as 
"derived" from the union type resp. list extension).
</p>
<p>

This is in contrast to Part 2, which defines union types and list 
extensions as "derived" from their respective member types (2.5.2.2 and 
2.4.2.3).
</p>
<p>

The inconsistent semantics of "derived" can lead to confusion among schema 
authors, in particular when working with substituion groups, instance type 
overriding, and redefinitions.
</p>
<p>

We suggest to drop the term "derived" for type unions and list extensions 
in XML Schema Part 2 and to replace it with the term "constructed". This 
would also affect the classification of the built-in types NMTOKENS, 
IDREFS, and ENTITIES, which are no longer "derived by list" but 
"constructed by list".
</p>
<p>
See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0014.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0014.html</a></p>
<p>Ashok's response:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0022.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0022.html</a></p>
</item>
<item name="discussion">
</item>
<item name="resolution">
<p>Discussed at the Sept. 27 concall.  RESOLVED: to defer R-170 to 1.1.
</p>
</item>
</issue>

<issue>
<item name="pfi">pfifixedValueConstraint</item>
<item name="num">R-171</item>
<item name="cluster">!Unclustered </item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Error w/erratum</item>
<item name="originator">Richard Tobin</item>
<item name="responsible">Henry S. Thompson </item>
<item name="shortDescription">Question about fixed value constraint on element
</item>
<item name="longDescription">
<p>
In Element Locally Valid (Element) 5.2.2.2.2, the actual value of a
simply-typed element must match the canonical lexical representation
of the value of the fixed value constraint.
</p>
<p>

In the analogous case for attributes, Attribute Locally Valid 4, the
actual value must match the value of the fixed value constraint (no
mention of canonical lexical representation).
</p>
<p>

Apart from the inconsistency, it doesn't make sense for an actual
value to match a representation rather than a value.
</p>
<p>

Presumably it is intended that the match is a value match in both
cases.
</p>
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0024.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0024.html</a></p>
</item>
<item name="discussion">
</item>
<item name="resolution">
<p>Discussed at the Sept. 27 concall. RESOLVED unanimously: to classify R-171 as error with erratum.</p>

</item>
</issue>

<issue>
<item name="pfi">pfiurTypeIdConstr</item>
<item name="num">R-172</item>
<item name="cluster">.Unclustered </item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Clarification w/erratum; Future Requirement</item>
<item name="originator">Neil Graham </item>
<item name="responsible">Henry S. Thompson </item>
<item name="shortDescription">Questions viz. when fields match element with the ur-type
</item>
<item name="longDescription">
<p>
Consider the schema:
</p>
<pre>
      &lt;xsd:schema
        xmlns="http://schematests.com"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        targetNamespace="http://tests.com"&gt;

        &lt;xsd:element name="root"&gt;
            &lt;xsd:complexType&gt;
                &lt;xsd:sequence&gt;
                    &lt;xsd:element name="name" maxOccurs="unbounded"/&gt;
                &lt;/xsd:sequence&gt;
            &lt;/xsd:complexType&gt;
            &lt;xsd:key name="nameKey"&gt;
                &lt;xsd:selector xpath="./name"/&gt;
                &lt;xsd:field xpath="."/&gt;
            &lt;/xsd:key&gt;

        &lt;/xsd:element&gt;

      &lt;/xsd:schema&gt;
</pre>

<p>
Since no type is declared for the local "name" element, by the properties
tableaus in [1], it must have the ur-type.
</p>
<p>
Consider the instance document
</p>
<pre>

      &lt;my:root
        xmlns:my="http://tests.com"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://tests.com idAnytype.xsd"&gt;
        &lt;name&gt;Jack Daniels&lt;name&gt;

        &lt;name&gt;Johnny Walker&lt;name&gt;

        &lt;name&gt;Sam Adams&lt;name&gt;
      &lt;my:root&gt;
</pre>
<p>

From the 3rd point of [2]:
</p>

<blockquote>
"3 For each node in the target node set all of the
{fields}, with that node as the context node, evaluate to either an empty
node-set or a node-set with exactly one member, which must have a simple
type. "
</blockquote>
<p>

[3] tells us that the ur-type can behave as a simpleType "according to
context":
</p>
<blockquote>


"[Definition:]  A distinguished ur-type definition is present in each
XML Schema, serving as the root of the type definition hierarchy for that
schema. The ur-type definition, whose name is anyType, has the unique
characteristic that it can function as a complex or a simple type
definition, according to context."

</blockquote>
<p>
This raises two questions:
</p>
<ol>
<li>
Is it valid for a &lt;field&gt; to match an element with the ur-type
definition under any circumstances?
</li>
<li>
If such a match may sometimes be valid (presumably when the element
only contains textual content):
<ol>
<li>
If the element contains text, in which value space should the
schema-normalized value of the field be considered to lie?  This will be
significant in the case of keyref matches, especially in light of the
recent discussions concerning the incomparability of values from disjoint
value spaces.
</li>
<li>
I presume that an error should be raised if the instance of the
ur-typed element actually contains element content?  Or should the &lt;field&gt;
match simply fail?
</li>
</ol>
</li>
</ol>

<p>[1]:  <a href="http://www.w3.org/TR/xmlschema-1/#declare-element">
http://www.w3.org/TR/xmlschema-1/#declare-element</a></p>

<p>
[2]:
<a href="http://www.w3.org/TR/xmlschema-1/#section-Identity-constraint-Definition-Validation-Rules">
http://www.w3.org/TR/xmlschema-1/#section-Identity-constraint-Definition-Validation-Rules</a></p>
<p>
[3]:
<a href="http://www.w3.org/TR/xmlschema-1/#key-urType">
http://www.w3.org/TR/xmlschema-1/#key-urType</a></p>
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0085.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0085.html</a></p>
<p>Henry's response: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0089.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0089.html</a></p>
</item>
<item name="discussion">
</item>
<item name="resolution">
<p>Discussed at the 2003-10-17 telecon.
RESOLVED: (a) to class R-172 as clarification with erratum, and
instruct the editor to draft an erratum which restricts fields to
matching types which have LV mappings (informally, 'concrete' simple
types), and (b) make a note to come back to this in 1.1, after solving
RQ-024 and RQ-141 (the issue about abstract simple types).
</p>
</item>
</issue>

<issue>
<item name="pfi">pfiDurationCanonical</item>
<item name="num">R-173</item>
<item name="cluster">!Unclustered </item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Clarification without erratum</item>
<item name="originator">John Mercado </item>
<item name="responsible">Ashok Malhotra </item>
<item name="shortDescription">Canonical form of duration
</item>
<item name="longDescription">
<p>
What is the canonical lexical representation of duration?, and how do I get 
there from any other lexical representation.  </p>
<p>See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0102.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0102.html</a></p>
</item>
<item name="discussion">
</item>
<item name="resolution">
<p>Discussed at the Sept. 27 concall.  
RESOLVED: to classify R-173 as clarification without erratum, AM to
write a response to the commentator.
</p>

</item>
</issue>

<issue>
<item name="pfi">pfiDocumentProperty</item>
<item name="num">R-174</item>
<item name="cluster">.Unclustered </item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Closed</item>
<item name="classification">Future Requirement</item>
<item name="originator">Elena Litani </item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">Question re: PSVI document property
</item>
<item name="longDescription">
<p>
The definition for {namespace schema information information items} [1]
includes 3 properties - {schema namespace}, {schema components}, {schema
documents}. The XML Schema Recommendation specifies that the {schema
components} property could be empty:</p>
<blockquote>
[[
The {schema components} property is provided for processors which wish
to provide a single access point to the components of the schema which
was used during assessment. Lightweight processors are free to leave it
empty.. 
]]
</blockquote>
<p>
On the other hand, the specification seems to require that the
{documents} property should be exposed by all (including lightweight)
processors. Since exposing schema documents is as expensive as exposing
schema components, this requirement seems unreasonable, and thus looks like a
bug in the spec.
</p>
<p>See:
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0106.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0106.html</a></p>
</item>
<item name="discussion">
<p>See: </p>
<p>
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0107.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0107.html</a></p>
<p>
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0108.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0108.html</a></p>
<p>
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0109.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0109.html</a></p>
<p>
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0110.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0110.html</a></p>

<p>Discussed without resolution at the 2003-10-17 telecon.</p>
</item>
<item name="resolution">
<p>Discussed/resolved at the 2003-10-23 telecon. </p>
<p>RESOLVED: class R-174 as issue for 1.1.</p>
<p>

ACTION: MSM to write Elena Litani explaining our decision on this
candidate erratum and noting that since every property in the infoset
is optional, the provision of a document information item can be
approximately as lightweight as the implementor cares to make it.  (In
particular, it can be just the [base URI] property, or in the extreme
case an 'information item' with no properties at all.)
</p>

</item>
</issue>

<issue>
<item name="pfi">pfinormalizedString</item>
<item name="num">R-175</item>
<item name="cluster">!Unclustered </item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Errata Approved</item>
<item name="classification">Error w/erratum</item>
<item name="originator">Michael Kay </item>
<item name="responsible">Ashok Malhotra </item>
<item name="shortDescription">Questions re: normalizedString 
</item>
<item name="longDescription">
<p>
The value space of normalizedString allows all characters except xD,
xA, and x9. The lexical space allows all characters except xD and x9. What
is the mapping from the lexical space to the value space: what happens to an
xA character in the lexical space (is it removed? replaced by an x20?). The
canonical lexical representation, presumably, is the same as the string in
the value space: I think we should be told.
</p>
<p>
Presumably the lexical space represents the value after the XML parser has
done its normalization. So in practice, a tab character is allowed in an
attribute of type normalizedString (because the XML parser will turn it to a
space), but a tab character is not allowed in an element of type
normalizedString (because the XML parser will leave it unchanged). Is this
interpretation correct?
</p>
<p>
I find it hard to understand why the lexical space doesn't allow any string,
with a mapping to the value space achieved by normalizing whitespace
characters. Alternatively, the lexical space should be identical to the
value space. The current definition seems nonsensical.
</p>
<p>See question 1 from the following: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0026.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0026.html</a></p>
<p>Henry's response: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0036.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0036.html</a></p>
</item>
<item name="discussion">
</item>
<item name="resolution">
<p>Discussed at the Sept. 27 concall.  Resolution:  The lexical and value spaces
should be described in the same way (the more restrictive way).  AM: fix
3.3.1.</p>
<p>
RESOLVED: to classify R-175 as error with erratum and to align the
correction with R-83, E2-17.
</p>
<p>Proposed text: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/att-0002/01-ErrataR-175.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/att-0002/01-ErrataR-175.html</a> was approved at the Oct. 4 telecon.</p>

</item>
</issue>

<issue>
<item name="pfi">pfiRedundantMixed</item>
<item name="num">R-176</item>
<item name="cluster">.Unclustered </item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">In progress</item>
<item name="classification">Unclassified</item>
<item name="originator">Masayasu Ishikawa </item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">Question about mixed in derivation by extension
</item>
<item name="longDescription">
<p>
Consider the following schema fragment: 
</p>
<pre>
   &lt;xs:complexType name="mixed" mixed="true"&gt;
     &lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;
       &lt;xs:element ref="test:a"/&gt;
       &lt;xs:element ref="test:b"/&gt;
     &lt;xs:choice&gt;
   &lt;xs:complexType&gt;
 
   &lt;xs:element name="root"&gt;
     &lt;xs:complexType&gt;
       &lt;xs:complexContent&gt;
         &lt;xs:extension base="test:mixed"&gt;
           &lt;xs:attribute name="id" type="xs:ID"/&gt;
         &lt;xs:extension&gt;
       &lt;xs:complexContent&gt;
     &lt;xs:complexType&gt;
   &lt;xs:element&gt;
</pre>
<p>Is the following instance valid? (i.e. is root allowed to have mixed content?)</p>
<pre>

 &lt;root xmlns="http://example.com/test"&gt;
   ccc&lt;a&gt;aaa&lt;b&gt;bbb&lt;b&gt;aaa&lt;a&gt;ccc&lt;b&gt;bbb&lt;a&gt;aaa&lt;a&gt;bbb&lt;b&gt;ccc
 &lt;root&gt;
</pre>
<p>
Henry's response:  
Yes.   Note, however, that this "redundancy" can only be avoided when the 
extending definition is empty -- if any substantive element content is
added, then the result is specified by the REC to take its 'mixed'
from the extending definition.  But the REC also rules out extending
mixed with element-only or vice-versa, so there's no point.
</p>
<p>
This isn't a big deal, but it should probably be fixed, by</p>
<ol>
<li>
specifiying that in complexContent extension, the mixed _always_
comes from the base;</li>
<li>
ruling out conflicting 'mixed' on &lt;complexType&gt; or
&lt;complexContent&gt; when deriving by extension.</li>
</ol>
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0087.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JulSep/0087.html</a></p>
</item>
<item name="discussion">
<p>Discussed at the 2003-11-14 telecon.  Sandy Gao to study the relevant sections and report back to the WG</p>
<p>Sandy's research: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2003Dec/0029.html">
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2003Dec/0029.html</a></p>
</item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfiIDList</item>
<item name="num">R-177</item>
<item name="cluster">.Unclustered </item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Errata Proposed</item>
<item name="classification">Clarification w/erratum</item>
<item name="originator">Ashok Malholtra</item>
<item name="responsible">Ashok Malhotra </item>
<item name="shortDescription">Should list of IDs be allowed?
</item>
<item name="longDescription">
<p>
Question:</p>
<p>
From 
<a href="http://www.w3.org/TR/2000/WD-xml-2e-20000814#NT-TokenizedType">
http://www.w3.org/TR/2000/WD-xml-2e-20000814#NT-TokenizedType</a> </p>
<blockquote>
Validity constraint: ID
<p>
Values of type ID must match the Name
<a href="http://www.w3.org/TR/2000/WD-xml-2e-20000814">
http://www.w3.org/TR/2000/WD-xml-2e-20000814</a> production. A name must
not appear more than once in an XML document as a value of this type;
i.e., ID values must uniquely identify the elements which bear them.
</p>
</blockquote>
<blockquote>
<p>
Validity constraint: One ID per Element Type
No element type may have more than one ID attribute specified.
</p>
</blockquote>
<p>
So, one element can not have multiple ID attributes. Should we allow
list of IDs?
</p>
<p>See: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jul/0091.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jul/0091.html</a></p>
</item>
<item name="discussion">
<p>Discussed at the 2003-11-14 telecon.  Ashok to propose a note with a clarification </p>
</item>
<item name="resolution">
<p>Proposed text: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2003Nov/0060.html">
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2003Nov/0060.html</a></p>
</item>

</issue>

<issue>
<item name="pfi">pfiAttrUseandFixed</item>
<item name="num">R-178</item>
<item name="cluster">Unclustered </item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Stanley Guan,Ashok Malholtra</item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">Question about use and fixed for attributes
</item>
<item name="longDescription">
<p>If use="prohibited" and fixed are both specified, should a schema validator 
</p>
<ol>
<li>
silently ignore fixed, or</li>
<li>
flag "attribute fixed and prohibited" as an error</li>
</ol>
<p>See: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jul/0122.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jul/0122.html</a></p>
</item>
<item name="discussion">
</item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfiEnumAnnotation</item>
<item name="num">R-179</item>
<item name="cluster">. Unclustered </item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Error w/erratum</item>
<item name="originator">Asir Vedamuthu</item>
<item name="responsible">Ashok Malhotra </item>
<item name="shortDescription">Defect in schema component model wrt enumeration and annotations
</item>
<item name="longDescription">
<p>
Consider the following example: 
</p>
<pre>
&lt;!-- other Address derivations for more countries --&gt;
&lt;simpleType name="USState"&gt;
 &lt;restriction base="string"&gt;
  &lt;enumeration value="AK"&gt;
   &lt;annotation&gt;lt;documentation&gt;Alaska&lt;documentation&gt;lt;annotation&gt;
  &lt;enumeration&gt;
  &lt;enumeration value="AL"&gt;
    &lt;annotation&gt;lt;documentation&gt;Alabama&lt;documentation&gt;lt;annotation&gt;
  &lt;enumeration&gt;
  &lt;enumeration value="AR"&gt;
    &lt;annotation&gt;lt;documentation&gt;Arkansas&lt;documentation&gt;lt;annotation&gt;
  &lt;enumeration&gt;
  &lt; and so on ... --&gt;
 &lt;restriction&gt;
&lt;simpleType&gt;
</pre>

<p>Per Part 2,  
<a href="http://www.w3.org/TR/xmlschema-2/#ct-enumeration">
http://www.w3.org/TR/xmlschema-2/#ct-enumeration</a>
</p>
<blockquote>
{value} A set of values from the value space of the {base type
definition}.
</blockquote>
<blockquote>
{annotation} Optional. An annotation.
</blockquote>
<p>and</p>
<p>
Mapping XML Rep to schema components,
</p>
<blockquote>
{annotation} The annotations corresponding to all the &lt;annotation&gt;
element information items in the  [children], if any.
</blockquote>
<p>
and
</p>
<p>
Schema Representation Constraint: Multiple enumerations
</p>
<blockquote>
If multiple &lt;enumeration&gt; element information items appear as  [children] of
a &lt;simpleType&gt; the {value} of the enumeration component should be the set of
all such  [value]s.
</blockquote>
<p>

This results in one enumeration component in the USState simple type
component's {facets} property. That is,
</p>

<p>
enumeration
</p>
 <p>{value} = {AK, AL, AR, .. }</p>
 <p>{annotation} = This is processor dependent.</p>
<p>

This defect applies to enumeration and pattern schema components. This is not
a critical issue and just a defect, I believe.

</p>
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002OctDec/0000.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002OctDec/0000.html</a></p>
</item>
<item name="discussion">
<p>Discussed and resolved at the 2003-11-14 telecon.</p>
</item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfiPSVIErrorCodes</item>
<item name="num">R-180</item>
<item name="cluster">Unclustered </item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Sandy Gao</item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">Question about the schema error code property in the PSVI 
</item>
<item name="longDescription">
<p>
The spec says "If the item is not valid, then a list."  So it seems to
imply that a processor needs to provide such a list if the validity is either
"invalid" or "unknown".   My question is: what should be provided when it is
"unknown"?
</p>
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002OctDec/0014.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002OctDec/0014.html</a></p>
</item>
<item name="discussion">
<p>Response from Henry: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002OctDec/0044.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002OctDec/0044.html</a></p>

</item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfiListEquality</item>
<item name="num">R-181</item>
<item name="cluster">. Unclustered </item>
<item name="shortPart">1,2</item>
<item name="verbosePart">1,2 (Structures,Datatypes)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Error w/erratum</item>
<item name="originator">Stefan Wachter</item>
<item name="responsible">Ashok Malhotra </item>
<item name="shortDescription">Question about equality of lists 
</item>
<item name="longDescription">
<p>
When a list valued element or attribute is used as a key then the equality
of the values is important. In the following example there are 3 lists with
item types "Name", "double", "nameOrDouble":</p>
<pre>

&lt;simpleType name="l1"&gt;
  &lt;list itemType="Name"/&gt;
&lt;simpleType&gt;

&lt;simpleType name="l2"&gt;
  &lt;list itemType="double"/&gt;
&lt;simpleType&gt;

&lt;simpleType name="l3"&gt;
  &lt;list itemType="tns:nameOrDouble"/&gt;
&lt;simpleType&gt;

&lt;simpleType name="nameOrDouble"&gt;
  &lt;union memberTypes="Name double"/&gt;
&lt;simpleType&gt;
</pre>
<p>
Are these lists equal?</p>
<ol>

<li>Items types of lists are different but item types of items are equal:
&lt;element xsi:type="l1"&gt;1.0 2.0&lt;element&gt; = &lt;element xsi:type="l3"&gt;1.0
2.0&lt;element&gt;</li>
<li>
Item types of lists are different but there are no items.
&lt;element xsi:type="l1"/&gt; = &lt;element xsi:type="l2"/&gt;</li>
</ol>
<p>
What are the exact rules for comparing lists?
</p>
<p>See: 
<a href="http://lists.w3.org/Archives/Public/xmlschema-dev/2002Nov/0065.html">http://lists.w3.org/Archives/Public/xmlschema-dev/2002Nov/0065.html</a></p>
</item>
<item name="discussion">
<p>Response from Henry: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002OctDec/0051.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002OctDec/0051.html</a></p>
<p>Discussed at the 2003-11-14 telecon.   Ashok to follow up with pros and cons of each side of the issue. </p>
<p>Proposal: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2003Nov/0054.html">
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2003Nov/0054.html</a></p>
<p>Discussed at the 2004-02-12 telecon.  Decided that we need new draft text based on current 2E.</p>

</item>
<item name="resolution">
</item>
</issue>

<issue>
<item name="pfi">pfiUnionEquality</item>
<item name="num">R-182</item>
<item name="cluster">. Unclustered </item>
<item name="shortPart">1,2</item>
<item name="verbosePart">1,2 (Structures,Datatypes)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Stefan Wachter</item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">Question about equality and union types
</item>
<item name="longDescription">
<p>
A similar question (to that of R-181) concerning equality arises with union types. Having the
two union types:
</p>
<pre>
&lt;simpleType name="u1"&gt;
  &lt;union memberTypes="string"/&gt;
&lt;simpleType&gt;

&lt;simpleType name="u2"&gt;
  &lt;union memberTypes="string"/&gt;
&lt;simpleType&gt;
</pre>
<p>

are these two elements equal?</p>


<pre>
&lt;element xsi:type="u1"&gt;abc&lt;element&gt; = &lt;element xsi:type="u2"&gt;abc&lt;element&gt;
</pre>

<p>See: 
<a href="http://lists.w3.org/Archives/Public/xmlschema-dev/2002Nov/0080.html">http://lists.w3.org/Archives/Public/xmlschema-dev/2002Nov/0080.html</a></p>
</item>
<item name="discussion">
<p>Response from Henry: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002OctDec/0052.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002OctDec/0052.html</a></p>

</item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfiDefValue</item>
<item name="num">R-183</item>
<item name="cluster">. Unclustered </item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Sandy Gao</item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">Question about default values
</item>
<item name="longDescription">
<p>
It's not clear from the spec what to do
in this case.   Bullet 5.2.2.2 of constraint [1] deals with default element
values.   5.2.2.2.1 talks about complex types with mixed content, and 5.2.2.2.2
talks about complex types with simple type content.  So there is no rule for
elements with simple types.</p>
<p>

Maybe 5.2.2.2.2 should be changed to say if the actual type is a simple
type or if it's a complex type with simple type content?
</p>

<p>[1] <a href="http://www.w3.org/TR/xmlschema-1/#cvc-elt">http://www.w3.org/TR/xmlschema-1/#cvc-elt</a></p>

<p>See the first issue raised in : 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Nov/0234.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Nov/0234.html</a></p>
</item>
<item name="discussion">
<p>Response from Henry: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002OctDec/0056.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002OctDec/0056.html</a></p>

</item>
<item name="resolution"></item>
</issue>


<issue>
<item name="pfi">pfiPatternFacet</item>
<item name="num">R-184</item>
<item name="cluster">. Unclustered </item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Henry S. Thompson</item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">Question about pattern and union types 
</item>
<item name="longDescription">
<p>
Is it clear what string the pattern facet of a union type applies to?
</p>
<p>
It seems to me it should be the lexical space value of the winning type
in the union, i.e. when processing an item with a union type, we go
directly to the member type definitions, and for each one in turn:
</p>
<ol>
<li>
normalize per the whiteSpace facet _of that member type defn_;</li>
<li>
check the pattern facet of the union type itself;</li>
<li>
check the pattern facet of the member type defn;</li>
<li>
convert to value and check other facets from the member type defn.</li>
</ol>
<p>
If any of (2), (3) or (4) fail, go on to the next member type defn.
</p>
<p>

I don't think the REC as it currently stands makes clear that this is
what happens, or that it doesn't.</p>
<p>See : 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002OctDec/0060.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002OctDec/0060.html</a></p>
</item>
<item name="discussion">
<p>Response from Ashok: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002OctDec/0063.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002OctDec/0063.html</a></p>

</item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pficalendarTypes</item>
<item name="num">R-185</item>
<item name="cluster">Unclustered </item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Error w/erratum</item>
<item name="originator">Jeremy Carroll</item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">Question about cardinality of calendar types
</item>
<item name="longDescription">
<p>
The datatypes for recurring calendar events (specifically gMonthDay, gDay 
and gMonth) are all recorded in appendix A with:
</p>
<blockquote>
         &lt;hfp:hasProperty name="cardinality"
                 value="countably infinite"/&gt;
</blockquote>
<p>
However it appears that there are at most 366 days in a year, and at most 
59? timezones or maybe 290000 if we take an extremist view of the possible 
timezones. (Alternatively, the lexical form is of finite length and comes 
from a finite vocabulary, hence there are finitely many different lexical 
forms).
</p>
<p>

Is this an oversight?

</p>
<p>See : 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002OctDec/0068.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002OctDec/0068.html</a></p>
</item>
<item name="discussion">
<p>Discussed at the 2003-11-20 telecon.  Agreed to classify as error w/erratum.  Agreed to change countably infinite to
finite.   Ashok to draft text. </p>


</item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfiMinMaxExclusive</item>
<item name="num">R-186</item>
<item name="cluster">. Unclustered </item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">In progress</item>
<item name="classification">Unclassified</item>
<item name="originator">Sandy Gao </item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">Constraints for min/maxIn/Exclusive facets

</item>
<item name="longDescription">
<p>
In the definitions of these facets, it says their values *must* be in the
value space of the base type. But there is no constraint to enforce this
rule.
</p>
<p>

For example,
</p>
<pre>

&lt;simpleType name="base"&gt;
  &lt;restriction base="integer"&gt;
    &lt;enumeration value="7"/&gt;
    &lt;enumeration value="8"/&gt;
    &lt;enumeration value="9"/&gt;
  &lt;restriction&gt;
&lt;simpleType&gt;

&lt;simpleType name="derived"&gt;
  &lt;restriction base="my:base"&gt;
    &lt;minInclusive value="6"/&gt;
  &lt;restriction&gt;
&lt;simpleType&gt;
</pre>

<p>
"6" in the derived type isn't from the value space of the base type, so
this should be an invalid derivation, according to the definition of the
minInclusive facet. But there is no constraint saying it's invalid. Section
4.3.10.4 only talks about how the minInclusive value compares with the
values in the base.
</p>

<p>
IMO, all "XXX valid restriction" constraints in 4.3.7/8/9/10.4 should be
replaced by a simple statement saying their values must be from the value
space of the base, with the exception of min/maxExclusive, where their
values could be the same as the value of the same facet in the base type.
</p>
<p>See : 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Nov/0233.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Nov/0233.html</a></p>
</item>
<item name="discussion">
<p>Discussed at the 2003-11-20 telecon.  Sandy Gao to study further, to see if there is already a Rec issue that covers this </p>
<p>Sandy's research: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2003Dec/0038.html">
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2003Dec/0038.html</a></p>

</item>
<item name="resolution"></item>
</issue>


<issue>
<item name="pfi">pfiMissingConstraints</item>
<item name="num">R-187</item>
<item name="cluster">. Unclustered </item>
<item name="shortPart">1,2</item>
<item name="verbosePart">1,2 (Structures,Datatypes)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Sandy Gao </item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">Missing constraints 

</item>
<item name="longDescription">
<p>
There appear to be some rules that are implied by the spec (from some
definitions, or descriptions), but there are no constraints to enforce them. Should there be?</p>
<ol>
<li>

Facet value from the value space of the base type.  See Rec Issue R-186.
</li>
<li>
<p>

&lt;schema targetNamespace=""&gt;
</p>

<p>
The spec says "Since the empty string is not a legal namespace name,
supplying an empty string for targetNamespace is incoherent, and is not the
same as not specifying it at all." Does this imply the above is invalid? Or
still valid? If it's valid, what would be the target namespace of
components defined in this schema?
</p>
</li>
<li>
<p>
Fixed facet value
</p>
<p>
In 4.3.x.1 sections, "If {fixed} is true, then types for which the current
type is the {base type definition} cannot specify a value for XXX other
than {value}." But there is no constraint for it.
</p>
</li>
<li>
<p>
Invalid pattern value
</p>
<p>

In the definition of the pattern facet, "The value of pattern  must be a
regular expression." Again, there is no corresponding constraint.
</p>
</li>
<li>
<p>
xsi:schemaLocation has odd number of URI's
</p>
<p>

"xsi:schemaLocation" is a list of anyURI. Each 2 of such anyURI's make a
pair: one indicates the namespace, the other is a location hint. What
happens if this attribute has an odd number of items? Is it an error? Or
should the processor silently ignore the last item in the list?
</p>
</li>
<li>

<p>
Target namespace doesn't match xsi:schemaLocation or
xsi:noNamespaceSchemaLocation
</p>
<p>

What happens if the schema location hint points to a schema document with a
target namespace different from what's expected? For example, what happens
if the instance has
</p>
<blockquote>
  xsi:schemaLocation="ns1 a.xsd"
  xsi:noNamespaceSchemaLocation="b.xsd"
</blockquote>
<p>
but a.xsd has a target namespace not identical to "ns1", or b.xsd has a
target namespace? I suppose these are error situations, but no constraints
are defined.
</p>
</li>
<li>
<p>
Undeclared entities
</p>

<p>
The definition of the "ENTITY" type says "... The value space of ENTITY
is ... and have been declared as an unparsed entity in a document type
definition. ..." But no constraint is defined to support this rule.
</p>
</li>
<li>
<p>
Undeclared namespace prefixes
</p>
<p>

The note under the definition of the "QName" type says "NOTE: The mapping
between literals in the lexical space and values in the value space of
QName requires a namespace declaration to be in scope for the context in
which QName is used." But the spec didn't say what happens if there isn't
such a namespace declaration.
</p>
</li>
</ol>


<p>See : 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Nov/0237.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Nov/0237.html</a></p>
</item>
<item name="discussion">
<p>Response from Henry: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002OctDec/0057.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002OctDec/0057.html</a></p>


</item>
<item name="resolution"></item>
</issue>


<issue>
<item name="pfi">pfiPrimerTable1AndUnion</item>
<item name="num">R-188</item>
<item name="cluster">Unclustered </item>
<item name="shortPart">0</item>
<item name="verbosePart">0 (Primer)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Arthur E. Salwin </item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">Potential errors in the Primer 

</item>
<item name="longDescription">
<ol>
<li>
Table 1:  next to last entry (i.e., row with (0,2) -, 37) says that
minOccurs is positive integer.  It may also be zero.
</li>
<li>
Section 2.3.2 Union Types:  Not clear what is meant by "singleton" in
"American states being singleton letter abbreviations".  The abbreviations
are 2 letters long.  To me, at least, singleton letter implies the
abbreviations are only 1 letter long.
</li>
</ol>
<p>See:                          
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002OctDec/0069.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002OctDec/0069.html</a></p>
</item>
<item name="discussion">
</item>
<item name="resolution"></item>
</issue>


<issue>
<item name="pfi">pfiRecursiveST</item>
<item name="num">R-189</item>
<item name="cluster">! Unclustered </item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Error</item>
<item name="originator">Herve Verjus </item>
<item name="responsible">Henry S. Thompson </item>
<item name="shortDescription">Recursive simple type definitions 

</item>
<item name="longDescription">
<p>Is the following recursive definition valid? </p>
<pre>
&lt;xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 		targetNamespace="http://foo.com"
 		xmlns="http://foo.com"
 		elementFormDefault="qualified"&gt;
 
 	&lt;xsd:simpleType name="abcOrBoolean"&gt;
 		&lt;xsd:union memberTypes="xsd:boolean abc"/&gt;
 	&lt;xsd:simpleType&gt;
 
 	&lt;xsd:simpleType name="abc"&gt;
 		&lt;xsd:restriction base="abcOrBoolean"&gt;
 			&lt;xsd:minLength value="5"/&gt;
 		&lt;xsd:restriction&gt;
 	&lt;xsd:simpleType&gt;
&lt;xsd:schema&gt;
</pre>
<p>Henry's response: </p>
<p>"Not allowed.  There is an erratum forthcoming which is intended to
clarify this, but, irritatingly, it doesn't catch the above case.  I
expect yet another erratum will do so."</p>
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002OctDec/0124.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002OctDec/0124.html</a></p>
</item>
<item name="discussion">
<p>Discussed at the Feb. 7 concall.  The WG agreed to classify R-189 as an error w/ erratum </p>
</item>
<item name="resolution"></item>
</issue>


<issue>
<item name="pfi">pfiTruncationDefn</item>
<item name="num">R-190</item>
<item name="cluster">Unclustered </item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Future Requirement</item>
<item name="originator"> Steven Taschuk</item>
<item name="responsible">Ashok Malhotra </item>
<item name="shortDescription">Truncation is not defined  

</item>
<item name="longDescription">
<p>
Part 2: Datatypes frequently defines the lexical representation
of one type as a "truncation" of that of another, without ever
defining what is meant by this term.  Sometimes it seems to have
the conventional meaning of omitting characters from one end of a
string, as in:
</p>
<blockquote>

	The lexical representation for gYear is the reduced (right
	truncated) lexical representation for dateTime: CCYY.
	                                        [section 3.2.11.1]
</blockquote>
<p>

Other times the omitted characters are replaced by other
characters, as in:
</p>
<blockquote>

	The lexical representation for gDay is the left truncated
	lexical representation for date: ---DD .
	                                        [section 3.2.13.1]
</blockquote>
<p>

It's not difficult to understand what is meant, but the document
overall aspires to (and for the most part handily achieves) a
higher standard of precision.  For consistency, I'd like to see
the term defined in 1.1.
</p>
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002OctDec/0128.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002OctDec/0128.html</a></p>
</item>
<item name="discussion">
<p>Discussed at the 2003-11-21 telecon.  Classified as a requirement for 1.1;  Ashok to add to requirements doc. </p>
</item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfiePropsCorrect2</item>
<item name="num">R-191</item>
<item name="cluster">! Unclustered </item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Error</item>
<item name="originator"> Sandy Gao</item>
<item name="responsible">Henry S. Thompson </item>
<item name="shortDescription">Question about e-props-correct.2  

</item>
<item name="longDescription">
<p>
Is the following element decl valid?
</p>
<pre>

&lt;xsd:element name="Element" fixed="1.0e-2"&gt;
  &lt;xsd:simpleType&gt;
      &lt;xsd:restriction base="xsd:float"&gt;
          &lt;xsd:pattern value="...E.."/&gt;
      &lt;xsd:restriction&gt;
  &lt;xsd:simpleType&gt;
&lt;xs:element&gt;
</pre>
<p>
Note that 1.0e-2 doesn't satisfy the pattern, so it's not valid wrt the
anonymous simple type. But "e-props-correct.2" only requires the canonical
rep (not the original lexical rep) to be valid wrt the type defi, and the
canonical rep of "1.0e-2" (as a float) is "1.0E-2", which does satisfy the
pattern.
</p>
<p>

"Element Declaration Properties Correct" states:
"2 If there is a {value constraint}, the canonical lexical representation
of its value must be valid with respect to the {type definition} as
defined in Element Default Valid (Immediate) (3.3.6)."
</p>
<p>

And to check the above constraint, we need to have the {value constraint}'s
value (an actual value). To get such actual value:
</p>
<p>

"{value constraint} If there is a default or a fixed [attribute], then a
pair consisting of the actual value (with respect to the {type
definition}, if it is a simple type definition, or the {type definition}'s
{content type}, if that is a simple type definition, or else with respect
to the built-in string simple type definition) of that [attribute] and
either default or fixed, as appropriate, otherwise absent."
</p>
<p>

So it seems that we need to use the type defi to convert the original
lexical rep to an actual value, then generate a canonical rep from the
actual value, and use the type defi again to validate such canonical rep.
Is this the intention? Is it an error if the original lexical rep is not
valid?
</p>
<p>See: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2003Jan/0043.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2003Jan/0043.html</a></p>
</item>

<item name="discussion">
<p>Henry's response: <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0020.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0020.html</a></p>
<p>Discussed at the Feb. 7 concall.   WG agreed to classify R-191 as an error w/erratum.</p>
</item>
<item name="resolution"></item>
</issue>


<issue>
<item name="pfi">pficanonicalDuration2</item>
<item name="num">R-192</item>
<item name="cluster">. Unclustered </item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Errata Proposed</item>
<item name="classification">Error w/erratum</item>
<item name="originator"> Steven Taschuk</item>
<item name="responsible">Ashok Malhotra </item>
<item name="shortDescription">Revisiting issue about canonical form for duration  

</item>
<item name="longDescription">
<p>
This mail is in response to the WG's decision on R-173.</p>
<p>John Mercado asked what the canonical lexical
representation of duration is; the WG decided that there is no
need to specify it, since there is only one lexical representation
per value.  This reply seems to contradict the recommendation:</p>
<blockquote>

	If the number of years, months, days, hours, minutes,
	or seconds in any expression equals zero, the number
	and its corresponding designator may be omitted.
	                                    [section 3.2.6.1]
</blockquote>
<p>
Thus, for example, "P1Y" and "P1Y0M" are alternative lexical
representations for the same value.  Furthermore, according to
erratum E2-23, leading zeroes are permitted in each field, making
"P01Y" a third alternative.
</p>
<p>
Mercado's question is pertinent.
</p>
<p>See: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002OctDec/0131.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002OctDec/0131.html</a></p>
</item>
<item name="discussion">
<p>Discussed and classified at the 2003-11-21 telecon.   Ashok to prepare text.</p>
</item>
<item name="resolution">
<p>Proposed text: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2003Nov/0053.html">
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2003Nov/0053.html</a></p>
<p>DaveP's comments: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2003Dec/0011.html">
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2003Dec/0011.html</a></p>
</item>
</issue>


<issue>
<item name="pfi">pfiprocessContentsSkip</item>
<item name="num">R-193</item>
<item name="cluster">! Unclustered </item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Error w/erratum</item>
<item name="originator"> Lisa Martin</item>
<item name="responsible">Henry S. Thompson  </item>
<item name="shortDescription">Question re: processContents=skip  

</item>
<item name="longDescription">
<p>
Consider the following example: 
</p>
<p>
instance doc fragment:
</p>
<pre>

     &lt;person&gt;
          &lt;salary xsi:type='xs:integer'&gt;Hello&lt;salary&gt;
     &lt;person&gt;

</pre>
<p>
schema fragment:
</p>
<pre>

    &lt;xs:element name="person"&gt;
     &lt;xs:complexType&gt;
      &lt;xs:sequence&gt;
          &lt;xs:any processContents="skip" maxOccurs='unbounded'/&gt;
      &lt;xs:sequence&gt;
     &lt;xs:complexType&gt;
    &lt;xs:element&gt;
</pre>

<p>
The element "salary" matches the wildcard with processContents of skip
within the content model of "person".    However, the element in the
instance has an xsi:type specified.   The question is:  should a processor
attempt to validate "salary" against the integer type?       Schema
Validity Assessment (Element) [1] would seem to indicate "yes" because
clause 1.2 appears to be satisfied (via 1.2.1.2).   Is this correct?   If
not, what did I miss?   If so, was this the intention?
</p>
<p>[1] <a href="http://www.w3.org/TR/xmlschema-1/#cvc-assess-elt">
http://www.w3.org/TR/xmlschema-1/#cvc-assess-elt</a></p>


<p>See: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Nov/0281.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Nov/0281.html</a></p>
</item>
<item name="discussion">
<p>Henry's response: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Nov/0290.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Nov/0290.html</a></p>
</item>
<item name="resolution">
<p>Discussed at the March 13, 2003 telecon.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiprocessContentsSkip2</item>
<item name="num">R-194</item>
<item name="cluster">! Unclustered </item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Clarification w/erratum</item>
<item name="originator"> Lisa Martin</item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">Question re: processContents=skip  

</item>
<item name="longDescription">
<p>
Suppose the instance contains:
</p>
<pre>

   &lt;person&gt;
      &lt;salary&gt;
         &lt;base xsi:type='xs:integer'>Hello&lt;base&gt;
         &lt;bonus&gt;Hello&lt;bonus&gt;
      &lt;salary&gt;
   &lt;person&gt;
</pre>
<p>

And the relevant parts of the schema are:
</p>
<pre>

    &lt;xs:element name="person"&gt;
     &lt;xs:complexType&gt;
      &lt;xs:sequence&gt;
          &lt;xs:any processContents="skip" maxOccurs='unbounded'/&gt;
      &lt;xs:sequence&gt;
     &lt;xs:complexType&gt;
    &lt;xs:element&gt;
    &lt;xs:element name="bonus" type="xs:integer"/&gt;
</pre>
<p>

In this case, "salary" matches the wildcard with "skip".    Now, it's clear
that "salary" is not assessed and no validation outcome is computed for it.
I have always assumed that this means no processing of the children of such
an element (such as "base" and "bonus" above), even if we can find
declarations for them.     I think this is implied by the definition of
"skip" in Section 3.10.1 The Wildcard Schema Component [1], as well as the
last note in section 5.2 Assessing Schema-Validity[2].    Is there anywhere
else in the Rec this is spelled out more explicitly?
</p>
<p>
[1] <a href="http://www.w3.org/TR/xmlschema-1/#Wildcard_details">
http://www.w3.org/TR/xmlschema-1/#Wildcard_details</a></p>
<p>
[2] <a href="http://www.w3.org/TR/xmlschema-1/#validation_outcome">
http://www.w3.org/TR/xmlschema-1/#validation_outcome</a></p>
</item>
<item name="discussion">
<p>Henry's response: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Nov/0291.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Nov/0291.html</a></p>
</item>
<item name="resolution">
<p>Discussed and classified at the May 13, 2003 telecon.</p>
</item>
</issue>

<issue>
<item name="pfi">pfidateTime-order</item>
<item name="num">R-195</item>
<item name="cluster">. Unclustered</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">In progress</item>
<item name="classification">Error w/erratum</item>
<item name="originator">Dave Peterson</item>
<item name="responsible">Unassigned</item>
<item name="shortDescription">Correct error in the description of order
for dateTime</item>
<item name="longDescription">
<p>This was formerly RQ-124.</p>
<p>The current description of order relation on
dateTime says "A.
Normalize P and Q.  That is, if there is a timezone
present and it is not Z....'  This is incorrect; values are either
timezoned or not, but
they don't carry with them the information of which timezone was
indicated by the original
lexical representation. For dateTime, the timezone of a timezoned
value is an artifact of the lexical representation, not of the value.
The order is defined on the value space.</p>
<p class="docRef">See (member-only link) <a
href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/0258.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/025
8.html</a>.</p>
</item>
<item name="discussion">
<p>See 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003AprJun/0020.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003AprJun/0020.html</a></p>
</item>
</issue>

<issue>
<item name="pfi">pfiwarning-on-whitespace</item>
<item name="num">R-196</item>
<item name="cluster">. Datatypes (General)</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Errata approved</item>
<item name="classification">Clarification w/erratum</item>
<item name="originator">Francois Yergeau</item>
<item name="responsible">Ashok Malhotra</item>
<item name="shortDescription">Add health warning on use of whitespace
facet on elements</item>
<item name="longDescription">
<p>This was formerly RQ-127.</p>
<p>We request that a health warning be added at the most
appropriate
place in the XML Schema spec, to warn schema users against specifying
whiteSpace="replace" or "collapse" on elements (and even attributes)
meant
to contain anything but highly constrained text such as lists, as it
will
not do what they think ("unexpected"!) and will in fact prevent later
processing steps from doing the Right Thing.
</p>
<p class="docRef">See (member-only link) <a
href="http://lists.w3.org/Archives/Member/w3c-i18n-wg/2001Oct/0032">http
://lists.w3.org/Archives/Member/w3c-i18n-wg/2001Oct/0032</a>.</p>
</item>
<item name="resolution">
<p>Erratum text  
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2003Apr/0269.html">
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2003Apr/0269.html</a>
reviewed and approved at the May 2 telecon.  To be incorporated into post 2E errata doc. 
</p>

</item>
</issue>


<issue>
<item name="pfi">pfiwhitespaceWarning</item>
<item name="num">R-197</item>
<item name="cluster">Datatypes (General)</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">In progress</item>
<item name="classification">Clarification w/erratum</item>
<item name="originator">Noah Mendelsohn</item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">Add warning on whitespace processing</item>
<item name="longDescription">
<p>Noah has suggested that we add a health warning about whitespace processing when using Datatypes independently of Structures.</p>
<p>See: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Dec/0006.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Dec/0006.html</a></p>

<p>and subsequent email.</p>
</item>
<item name="discussion">
</item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfiUnionOfUnion</item>
<item name="num">R-198</item>
<item name="cluster">! Datatypes (General)</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Error, Defer to 1.1</item>
<item name="originator">Ed Merks</item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">Problem with unions of unions                </item>
<item name="longDescription">
<p>
[Received via private email]</p>
<p>The Union SimpleType Definition Schema Component is defined with the 
followg properties: </p>

<p>
{member type definitions}
</p>
<blockquote>
The appropriate case among the following: 
<p>
1 If the &lt;union&gt; alternative is chosen, then [Definition:]define the explicit members as the type definitions resolved to by the items in the actual value of the memberTypes [attribute], if any, followed by the type definitions corresponding to the &lt;simpleType&gt;s among the [children] of &lt;union&gt; if any. The actual value is then formed by replacing any union type definition in the explicit members with the members of their {member type definitions}, in order.
</p>
<p>
2 If the &lt;restriction&gt; option is chosen, then the {member type definitions} of the {base type definition}.
</p>
</blockquote>
<p>
{facets}
</p>
<blockquote>
If the &lt;restriction&gt; alternative is chosen, a set of facet components constituting a restriction of the {facets} of the {base type definition} with respect to a set of facet components corresponding to the appropriate element information items among the [children] of &lt;restriction&gt; (i.e. those which specify facets, if any), as defined in Simple Type Restriction (Facets) (3.14.3), otherwise the empty set.
</blockquote>
<p>
I believe that it implies a loss of facet restrictions which is highlighted by the following example:
</p>
<pre>

&lt;xsd:schema targetNamespace="http:///simple/MySchema.xsd"
    xmlns:this="http:///simple/MySchema.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
    &lt;xsd:simpleType name="mySimpleType1"&gt;
        &lt;xsd:union memberTypes="xsd:nonNegativeInteger xsd:boolean"/&gt;
    &lt;xsd:simpleType&gt;
    &lt;xsd:simpleType name="mySimpleType2"&gt;
        &lt;xsd:restriction base="this:mySimpleType1"&gt;
            &lt;xsd:enumeration value="true"/&gt;
            &lt;xsd:enumeration value="0"/&gt;
        &lt;xsd:restriction&gt;
    &lt;xsd:simpleType&gt;
    &lt;xsd:simpleType name="mySimpleType3"&gt;
        &lt;xsd:union memberTypes="xsd:negativeInteger this:mySimpleType2"/&gt;
    &lt;xsd:simpleType&gt;
    &lt;xsd:simpleType name="mySimpleType4"&gt;
        &lt;xsd:restriction base="this:mySimpleType3"&gt;
            &lt;xsd:enumeration value="-1"/&gt;
            &lt;xsd:enumeration value="0"/&gt;
            &lt;xsd:enumeration value="1"/&gt;
            &lt;xsd:enumeration value="true"/&gt;
            &lt;xsd:enumeration value="false"/&gt;
        &lt;xsd:restriction&gt;
    &lt;xsd:simpleType&gt;
&lt;xsd:schema&gt;
</pre>
<p>
Since the literal value "1" and the literal value "false" are not in the value space of mySimpleType2 nor in the value space of negativeInteger, they would appear to be in error.  But a literal interpretation of the definition would imply that mySimpleType3 is just a union of negativeInteger, nonNegativeInteger, and boolean and hence "1" and "false" are valid literals.   
</p>
<p>

Isn't this quiet loss of explicit facet restrictions a problem?</p>
</item>


<item name="discussion">
<p>Discussed at the April 10,2003 telecon.   No decision reached. </p>
<p>ACTION: Paul Biron to work this out in painful detail.</p>

</item>
<item name="resolution">
At the June 12 2003 telecon: RESOLVED: Class R-198 as error to be fixed in 1.1.

</item>
</issue>

<issue>
<item name="pfi">pfifinalSimpletype</item>
<item name="num">R-199</item>
<item name="cluster">! Datatypes (General)</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Error w/erratum</item>
<item name="originator">Lisa Martin/Ed Merks</item>
<item name="responsible">Paul Biron, Henry Thompson </item>
<item name="shortDescription">Problem with final for simple types </item>
<item name="longDescription">
<p>
[Received via private email]</p>
<p>In the XML representation for simpleType, final is shown as  </p>
<pre>
final = (#all | (list | union | restriction)) 
</pre>
<p>This would seem to imply that only 1 of {list, union, restriction} may be specified. </p>
<p>However, the description of the property is as follows:
</p>
<blockquote>
A set corresponding to the actual value of the final   [attribute], if present, otherwise the actual value of the finalDefault   [attribute] of the ancestor schema element information item, if present, otherwise the empty string, as follows: 
<dl>
<dt>
the empty string</dt>
<dd>
the empty set;
</dd>
<dt>
#all </dt>
<dd>
{restriction, list, union};
</dd>
<dt>
otherwise
</dt>
<dd>
a set with members drawn from the set above, each being present or absent depending on whether the string contains an equivalently named space-delimited substring.</dd>
</dl>
</blockquote>
<p>Given this, is it, or is it not possible to restrict 2 of {restriction, list, union}?
</p>
</item>


<item name="discussion">
</item>
<item name="resolution">
<p>Resolved at the May 23, 2003 telecon that a set of values should be allowed. Classifed as error w/ erratum and editors instructed to fix the s4s and the Rec accordingly. </p> 
</item>

</issue>

<issue>
<item name="pfi">pfiENTITYlists</item>
<item name="num">R-200</item>
<item name="cluster">! Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Error w/erratum</item>
<item name="originator">Sandy Gao</item>
<item name="responsible">Henry Thompson </item>
<item name="shortDescription">Problem with erratum E1-18 </item>
<item name="longDescription">
<p>
According to the recent discussion about list of IDs, maybe the intention
was that only restriction should be considered for these types. This might
be OK for ID/IDREF, but it'd be a behavior change for ENTITY/ENTITIES
types. (The current wording in the datatype spec indicates that
lists/unions of ENTITY are also considered as values of type ENTITY.)

</p>
<p>See: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2003Jan/0009.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2003Jan/0009.html</a></p>
</item>


<item name="discussion">
</item>
<item name="resolution">
<p>Discussed and resolved at the May 23, 2003 telecon. 
RESOLVED: direct TF to classify R-200 as error with erratum.
RESOLVED: direct editors to correct the error by covering the list and union
cases in the obvious may.</p>

</item>
</issue>

<issue>
<item name="pfi">pfiIRIlink</item>
<item name="num">R-201</item>
<item name="cluster">! Datatypes (General)</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Closed</item>
<item name="classification">Editorial</item>
<item name="originator">Paul Biron</item>
<item name="responsible">Paul Biron </item>
<item name="shortDescription">The link to IETF INTERNET-DRAFT: IRIs in the Datatypes spec is wrong </item>
<item name="longDescription">
<p>
The link to IETF INTERNET-DRAFT: IRIs in section H.2 of the Datatypes spec is no longer correct. </p>
</item>

<item name="discussion">
</item>
<item name="resolution">
<p>Erratum <a href="http://www.w3.org/2001/05/xmlschema-errata#e2-47">E2-47</a> added.</p>
</item>
</issue>

<issue>
<item name="pfi">pfiNumComps</item>
<item name="num">R-202</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Schema WG</item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">How many components are there for complextype extensions?</item>
<item name="longDescription">
<p>
In discussions of SCDs, various questions regarding the component model surfaced such as:  how many components are there for particles inherited by extensions of a complextype? </p>
</item>
<item name="discussion">
</item>
<item name="resolution">
</item>
</issue>


<issue>
<item name="pfi">pfiminExclusivemaxExclusive</item>
<item name="num">R-203</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Sandy Gao</item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">Inconsistency with constraints on min/maxExclusive </item>
<item name="longDescription">
<p>
"Schema Component Constraint: minExclusive valid restriction</p>
<blockquote>

It is an error if any of the following conditions is true:
<br/>
2 maxInclusive is among the members of {facets} of {base type definition}
and {value} is greater the {value} of the parent maxInclusive"
</blockquote>
<p>
So it's an error for minEx &gt; base.maxIn, which implies minEx &lt;= base.maxIn
(if minEx == maxIn, it results in an empty value space)</p>
<p>


"Schema Component Constraint: maxExclusive valid restriction</p>
<blockquote>

It is an error if any of the following conditions is true:
<br/>
3 minInclusive is among the members of {facets} of {base type definition}
and {value} is less than or equal to the {value} of the parent
minInclusive"
</blockquote>
<p>

So it's an error for maxEx &lt;= base.minIn, which implies maxEx &gt; base.minIn</p>
<p>

Isn't this inconsistent? Shouldn't this be either:
</p><p>
minEx &lt; base.maxIn &amp;&amp; maxEx &gt; base.minIn
<br/>
or
<br/>
minEx &lt;= base.maxIn &amp;&amp; maxEx &gt;= base.minIn
</p>
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0037.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0037.html</a></p></item> 
<item name="discussion"></item>
<item name="resolution">
</item>
</issue>

<issue>
<item name="pfi">pfiminMaxZero</item>
<item name="num">R-204</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Sandy Gao</item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">ComplexType mapping rule issue:  min=max=0 </item>
<item name="longDescription">
<p>What is the content type of the following? </p>
<pre>
&lt;complexType&gt;
  &lt;sequence min=max=0&gt;
    &lt;element .../&gt;
</pre>

<p>

According to the complexType complexContent mapping rules, because there IS a sequence with an element child, the
effective content is not empty, but is the particle corresponding to the
sequence. But according to section 3.8.2, min=max=0 corresponds to no component at
all.
</p>
<p>
Shouldn't 2.1.1 of the definition of effective content in the mapping rules (of 2nd edition) be changed to:</p>
<p>
2.1.1 There is no &lt;group&gt; &lt;all&gt; &lt;choice&gt; or &lt;sequence&gt; among the
[children], which either doesn't have a maxOccur attribute, or the actual
value of such attribute is not 0.
</p>
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0038.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0038.html</a></p></item> 
<item name="discussion"></item>
<item name="resolution">
</item>
</issue>

<issue>
<item name="pfi">pfimixedTypeContent</item>
<item name="num">R-205</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Sandy Gao</item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">Question re: mixed on complexType and complexContent</item>
<item name="longDescription">
<p>
Is this allowed? ("mixed" appears on both complexType and complexContent.)
</p>
<pre>

&lt;complexType name="ct" mixed="true"&gt;
  &lt;complexContent mixed="false"&gt;
</pre>
<p>

There doesn't appear to be any constraint saying it's not allowed.</p>
<p>

Assuming it's allowed, the mapping rules for complexType complexContent in 2E state:
</p>
<blockquote>

[Definition:]  Let the effective mixed be the appropriate case among the
following:
<br/>
1 If the mixed [attribute] is present on &lt;complexContent&gt; then its actual
value;
<br/>
2 If the mixed [attribute] is present on &lt;complexType&gt; then its actual
value;
<br/>
3 otherwise false.
</blockquote>
<p>

Now both 1 and 2 apply. Which one should be used? (I think the intention
is that "mixed" on &lt;complexContent&gt; takes precedence. In that case, we at
least need an "otherwise" in clause 2 above.)
</p>
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0039.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0039.html</a></p></item> 
<item name="discussion"></item>
<item name="resolution">
</item>
</issue>


<issue>
<item name="pfi">pfiIdConstrFields</item>
<item name="num">R-206</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Clarification w/erratum</item>
<item name="originator">Rainer Becker (via Henry S. Thompson)</item>
<item name="responsible">Henry S. Thompson </item>
<item name="shortDescription">Can fields identity nodes with types having simpleContent?</item>
<item name="longDescription">
<p>
HT:  Identity constraints are described as applying to "an element or
attribute node with a simple type", but it's not clear from this
whether an element with a simpleContent complex type is OK (which it
should be, in my opinion).
</p>
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0049.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0049.html</a></p></item> 
<item name="discussion"></item>
<item name="resolution">
<p>Resolved at the 2003-09-10 telecon to classify as clarification w/erratum, clarifying that the use of simple type is intended to also cover simpleContent.</p>
</item>
</issue>


<issue>
<item name="pfi">pfiWildcardRestriction</item>
<item name="num">R-207</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Dare Obasanjo</item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">Question about wildcard restriction</item>
<item name="longDescription">
<p>
Is the following restriction valid: 
</p>
<pre>
 
 BASE: 

 &lt;xs:sequence minOccurs="0" maxOccurs="1"&gt; 
   &lt;xs:any namespace="##any" processContents="skip" minOccurs="1" maxOccurs="unbounded"/&gt;
 &lt;xs:sequence&gt; 
 
 DERIVED: 
 &lt;xs:sequence minOccurs="0" maxOccurs="1"&gt; 
       &lt;xs:element name="A" minOccurs="1" maxOccurs="unbounded" /&gt; 
       &lt;xs:element name="B" minOccurs="1" maxOccurs="unbounded" /&gt; 
 &lt;xs:sequence&gt;
</pre>
<p>From Schema Component Constraint: Particle Derivation OK (All:All,Sequence:Sequence -- Recurse)</p>
<blockquote>
 2 There is a complete order-preserving functional mapping from the particles in the {particles} of R to the particles in the {particles} of B such that all of the following must be true: 
 ...

</blockquote>
<blockquote>
 [Definition:]  A complete functional mapping is order-preserving if each particle r in the domain R maps to a particle b in the range B which follows (not necessarily immediately) the particle in the range B mapped to by the predecessor of r, if any, where "predecessor" and "follows" are defined with respect to the order of the lists which constitute R and B. " 
</blockquote>

<p>See the following for Henry's answer and subsequent thread <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0057.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0057.html</a></p>
<p>See also the following related mail:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003OctDec/0023.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003OctDec/0023.html</a> and 
<a href="http://lists.w3.org/Archives/Public/xmlschema-dev/2003Oct/0026.html">http://lists.w3.org/Archives/Public/xmlschema-dev/2003Oct/0026.html</a> 
</p>
<p>And, see the following related mail:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004JanMar/0037.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004JanMar/0037.html</a> and 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004JanMar/0044.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004JanMar/0044.html</a> 
</p></item> 
<item name="discussion"></item>
<item name="resolution">
</item>
</issue>

<issue>
<item name="pfi">pfiNOTATIONLexicalSpace</item>
<item name="num">R-208</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Sandy Gao</item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">Question about the lexical space of NOTATION types </item>
<item name="longDescription">
<p>
Section 3.2.19 of the datatypes spec states:</p>
<blockquote>

"[Definition:]   NOTATION represents the NOTATION attribute type from [XML
1.0 (Second Edition)]. The value space of NOTATION is the set QNames of
notations declared in the current schema. The lexical space of NOTATION
is the set of all names of notations declared in the current schema (in the
form of QNames)."
</blockquote>
<p>

Note that the "lexical space" is "the set of all names of notations
declared ..." Here "lexical space" is a set of strings, but "names of
notations" are QNames, which are not strings (and they don't/can't give
strings either, because QNames don't have canonical reps).
</p>

<p>
IMO, since "the set of QNames of notations declared" is already mentioned
for the value space of NOTATION, it's sufficient to say "the set of strings
that match the QName production of [Namespaces in XML]" for the lexical
space.
</p>
<p>

Erratum E2-34 did clarify NOTATION's value space, but this issue was not
covered.
</p>
<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0055.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0055.html</a></p></item> 
<item name="discussion"></item>
<item name="resolution">
</item>
</issue>


<issue>
<item name="pfi">pfiMissingIdAttr</item>
<item name="num">R-209</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Dmitry Trifonov</item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">appinfo and documentation elements have no id attribute </item>
<item name="longDescription">
<p>
All schema components have an id attribute, but the two 
children of annotation (appinfo and 
documentation) haven't.
Why?
</p>
<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0075.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0075.html</a></p></item> 
<item name="discussion"></item>
<item name="resolution">
</item>
</issue>


<issue>
<item name="pfi">pfiPrimerAmbiguity</item>
<item name="num">R-210</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">0</item>
<item name="verbosePart">0 (Primer)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Emmanuel Languillat</item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">Ambiguity in the Primer </item>
<item name="longDescription">
<p>
The following is Paul Biron's translation of the original comment (which was in French): </p>
<p>
Allow me make a small comment regarding the XML Schema Part 0: Introduction available at the URL http://xmlfr.org/w3c/TR/xmlschema-0/.</p>
<p>
In Chapter 2.2, one can read (just after the definition of the type USAddress) "The consequence of this definition is that all instances of this element in an instance (for example shipTo in the file po.xml) must consist of 5 elements and one attribute.
</p>
<p>
Also in the same chapter 2.2 (just after the definition of the type PurchaseOrderType):	"The elements shipTo and billTo may equally have a country attribute which is part of the definition of USAddress."
</p>
<p>In the first case shipTo MUST have the attribute, in the second case, shipTo MAY have the attribute.  This is a X significant difference [trans: I can't find a translation of reelle...it might be a typo] .  (I have seen the English version, and it has the same ambiguity).
</p>
<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0076.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0076.html</a></p></item> 
<item name="discussion"></item>
<item name="resolution">
</item>
</issue>


<issue>
<item name="pfi">pfiAnnotationAttrs</item>
<item name="num">R-211</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">C.M. Sperberg-McQueen</item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">The {attributes} property on the Annotation schema component
</item>
<item name="longDescription">
<p>
The {attributes} property on the Annotation schema component
is described as "A sequence of attribute information items,
namely those allowed by the attribute wildcard in the type
definition for the &lt;annotation&gt; item itself or for the
enclosing items which correspond to the component within
which the annotation component is located."</p>
<p>
<a href="http://www.w3.org/XML/Group/2002/09/xmlschema-1/structures-with-errata.html#cAnnotations">
http://www.w3.org/XML/Group/2002/09/xmlschema-1/structures-with-errata.html#cAnnotations</a></p>
<p>
<a href="http://www.w3.org/XML/Group/2002/09/xmlschema-1/structures-with-errata.html#declare-annotation">
http://www.w3.org/XML/Group/2002/09/xmlschema-1/structures-with-errata.html#declare-annotation</a></p>
<p>
The XML Information Set spec, on the other hand, defines the
[attributes] property of element information items as containing
a set, not a sequence, of attribute information items.</p>
<p>
<a href="http://www.w3.org/TR/xml-infoset/#infoitem.element">
http://www.w3.org/TR/xml-infoset/#infoitem.element</a></p>

<p>
I think the XML Schema spec should probably similarly specify a
set, not a sequence, of attribute information items.</p>
<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0089.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0089.html</a></p></item> 
<item name="discussion"></item>
<item name="resolution">
</item>
</issue>

<issue>
<item name="pfi">pfiElementLocallyValid</item>
<item name="num">R-212</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">C.M. Sperberg-McQueen</item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">Question about VR Element Locally Valid (Element) in Structures 3.3.4
</item>
<item name="longDescription">
<p>
Clause 5.1.1 of Validation Rule: Element Locally Valid (Element), in
Structures section 3.3.4, reads
</p>
<blockquote>

   5.1.1 If the actual type definition is a local type definition then
   the canonical lexical representation of the {value constraint} value
   must be a valid default for the actual type definition as defined in
   Element Default Valid (Immediate) (3.3.6).
</blockquote>
<p>

Two questions:
</p>
<p>

1 is there not a term we can use for xsi:type-specified types which is
less subject to misunderstanding than 'local type definition'?  The
types denoted here by this phrase are not local to a given element
declaration, and it just seems like offering a pawn to fate to use the
word 'local' here.  Call them 'dynamic', call them
'instance-specified', call them 'types with polka dots', but is it
really essential to call them 'local'?
</p>
<p>

2 Clause 5.1.1 seems to suggest that it's only an error for an element
instance to require / use a default value if the element instance has
an xsi:type attribute.  I think this is probably because the other
case is catered for somewhere else, but I think it's a needless
complication.  I think clause 5.1.1 can and should be simplified to
say:
</p>
<blockquote>

   5.1.1 The canonical lexical representation of the {value constraint}
   value must be a valid default for the actual type definition as
   defined in Element Default Valid (Immediate) (3.3.6).
</blockquote>
<p>

I think this is easier to understand both syntactically and from a
design point of view.  Is there any reason not to change it?
</p>
<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003AprJun/0002.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0002.html</a></p>
<p>Henry's response: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003AprJun/0003.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0003.html</a></p></item> 

<item name="discussion"></item>
<item name="resolution">
</item>
</issue>

<issue>
<item name="pfi">pfiAttrWildCardRestr</item>
<item name="num">R-213</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Xan Gregg</item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">Question about attribute wildcards and restriction
</item>
<item name="longDescription">
<p>
This is a recap of an possible erratum discussed within the Schema IG.
</p>
<p>
Because attribute wildcards have a "lazy" behavior, it's possible for an
apparently-valid restriction to violate the general notion of restriction.
By "lazy" I mean the property that an attribute-wildcard will only match an
attribute-information-item (AII) if no other attribute-use matches the AII.
</p>
<p>

Best demonstrated by example:
</p>
<pre>

&lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt;

   &lt;xs:complexType name="B"&gt;
     &lt;xs:attribute name="FOO" type="xs:int"/&gt;
     &lt;xs:anyAttribute processContents="skip"/&gt;
   &lt;/xs:complexType&gt;

   &lt;xs:complexType name="A"&gt;
     &lt;xs:complexContent&gt;
       &lt;xs:restriction base="B"&gt;
         &lt;xs:attribute name="FOO" type="xs:int" use="prohibited" /&gt;
         &lt;xs:anyAttribute processContents="skip" /&gt;
       &lt;/xs:restriction&gt;
     &lt;/xs:complexContent&gt;
   &lt;/xs:complexType&gt;

 &lt;/xs:schema&gt;
</pre>
<p>

I believe this is a valid restriction per the rules of restriction, but not
by the general definition in Section 2, which includes
</p>
<blockquote>

   Members of a type, A, whose definition is a restriction of the 
   definition of another type, B, are always members of type B as well.
</blockquote>
<p>

B doesn't accept an element with attribute FOO="abc", but A does accept it.
That's because A doesn't contain an attribute-use for FOO, so the
attribute-wildcard validates FOO in A.
</p>

<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003AprJun/0007.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0007.html</a></p>
</item>

<item name="discussion"></item>
<item name="resolution">
</item>
</issue>

<issue>
<item name="pfi">pfidoubleValueSpace</item>
<item name="num">R-214</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Error w/erratum</item>
<item name="originator">Sandy Gao</item>
<item name="responsible">Ashok Malhotra </item>
<item name="shortDescription">Question about the value space of double
</item>
<item name="longDescription">
<p>
[Definition:]  The double datatype is patterned after the IEEE
double-precision 64-bit floating point type [IEEE 754-1985]. The basic
value space of double consists of the values m  2^e, where m is an integer
whose absolute value is less than 2^53, and e is an integer between -1075
and 970, inclusive. ...
</p>
<p>

It seems to me that "e" should be an integer between -1074 and 971,
inclusive.
</p>
<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003AprJun/0022.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0022.html</a></p>
<p>Response from Xan: 
<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003AprJun/0027.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0027.html</a></p>
</item>

<item name="discussion"></item>
<item name="resolution">
<p>Resolved at the 2003-08-29 telecon to classify as an error, and to instruct the editors to fix the error in the manner discussed on the email thread. </p>
</item>
</issue>


<issue>
<item name="pfi">pfiwhitespaceIdConstr</item>
<item name="num">R-215</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Errata Drafting</item>
<item name="classification">Error w/erratum</item>
<item name="originator">Tim Hanson</item>
<item name="responsible">Henry S. Thompson </item>
<item name="shortDescription">Whitespace and identity constraints
</item>
<item name="longDescription">
<p>
According to the errata: 
<a href="http://www.w3.org/2001/05/xmlschema-errata.html#e1-6"> 
http://www.w3.org/2001/05/xmlschema-errata.html#e1-6</a> whitespace is now 
allowed between tokens in xpaths.
</p>
<p>

The patterns in the schema for schema have not been updated to reflect this.
</p>
<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003AprJun/0044.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0044.html</a></p>
</item>

<item name="discussion"></item>
<item name="resolution">
<p>Discussed at the 2003-08-31 telecon to classify as an error with erratum, and instruct the editors to fix the pattern. </p>
</item>
</issue>

<issue>
<item name="pfi">pfiNameAndTypeOK</item>
<item name="num">R-216</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Sandy Gao </item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">Potential problem with Name and Type OK
</item>
<item name="longDescription">
<p>
The constraint for NameAndTypeOK is as follows:  
</p>
<p>
Schema Component Constraint: Particle Restriction OK (Elt:Elt --
NameAndTypeOK)
</p>
<blockquote>

For an element declaration particle to be a valid restriction of another
element declaration particle all of the following must be true:
<br/>
1 The declarations' {name}s and {target namespace}s are the same.
<br/>
2 Either B's {nillable} is true or R's {nillable} is false.
<br/>
3 R's occurrence range is a valid restriction of B's occurrence range as
defined by Occurrence Range OK (3.9.6).
<br/>
4 either B's declaration's {value constraint} is absent, or is not fixed,
or R's declaration's {value constraint} is fixed with the same value.
<br/>
5 R's declaration's {identity-constraint definitions} is a subset of B's
declaration's {identity-constraint definitions}, if any.
<br/>
6 R's declaration's {disallowed substitutions} is a superset of B's
declaration's {disallowed substitutions}.
<br/>
7 R's {type definition} is validly derived given {extension, list, union}
from B's {type definition} as defined by Type Derivation OK (Complex)
(3.4.6) or Type Derivation OK (Simple) (3.14.6), as appropriate.
Note: The above constraint on {type definition} means that in deriving a
type by restriction, any contained type definitions must themselves be
explicitly derived by restriction from the corresponding type definitions
in the base definition, or be one of the member types of a corresponding
union.
</blockquote>

<p>Some issues: 
<br/>
- It's not mentioned what's B and what's R.  The first sentence should be
modified to something similar to "For an element declaration particle R to
be a valid restriction of another element declaration particle R all of the
following must be true:".
<br/>
- Since B and R are particles, bullets 2 and 7 are not correct in saying
B's {nillable} or R's {type definition}. I think the first sentence can be
further modified to "For a particle R whose {term} is an element
declaration RE to be a valid restriction of another particle B whose {term}
is an element declaration BE all of the following must be true:", then use
RE and BE in the proper places.
</p>

<p>
Proposed text:
</p>
<p>

Schema Component Constraint: Particle Restriction OK (Elt:Elt --
NameAndTypeOK)
</p>
<blockquote>

For a particle R whose {term} is an element declaration RE to be a valid
restriction of another particle B whose {term} is an element declaration BE
all of the following must be true:
<br/>
1 RE and BE have the same {name}s and {target namespace}s.
<br/>
2 Either BE's {nillable} is true or RE's {nillable} is false.
<br/>
3 R's occurrence range is a valid restriction of B's occurrence range as
defined by Occurrence Range OK (3.9.6).
<br/>
4 Either BE's {value constraint} is absent, or is not fixed, or RE's {value
constraint} is fixed with the same value.
<br/>
5 RE's {identity-constraint definitions} is a subset of BE's
{identity-constraint definitions}, if any.
<br/>
6 RE's {disallowed substitutions} is a superset of BE's {disallowed
substitutions}.
<br/>
7 RE's {type definition} is validly derived given {extension, list, union}
from BE's {type definition} as defined by Type Derivation OK (Complex)
(3.4.6) or Type Derivation OK (Simple) (3.14.6), as appropriate.
Note: The above constraint on {type definition} means that in deriving a
type by restriction, any contained type definitions must themselves be
explicitly derived by restriction from the corresponding type definitions
in the base definition, or be one of the member types of a corresponding
union.
</blockquote>
<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003AprJun/0046.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0046.html</a></p>
</item>

<item name="discussion"></item>
<item name="resolution">
</item>
</issue>

<issue>
<item name="pfi">pfiDerivValidRestr</item>
<item name="num">R-217</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Sandy Gao </item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">Potential problem with Derivation Valid (Restriction, Complex)
</item>
<item name="longDescription">
<p>
In the constraint "Derivation Valid (Restriction, Complex)"
</p>
<blockquote>

2.1.3 [Definition:]  Let the effective value constraint of an attribute use
be its {value constraint}, if present, otherwise its {attribute
declaration}'s {value constraint} . Then one of the following must be true:
<br/>
2.1.3.1 B's effective value constraint is absent or default.
<br/>
2.1.3.2 R's effective value constraint is fixed with the same string as
B's.
</blockquote>
<p>
2.1.3.2 mentions "the same string as B's". Shouldn't it be either the same
"actual value" or the same "canonical representation"? (I think actual
value is more proper.)
</p>
<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003AprJun/0047.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0047.html</a></p>
</item>

<item name="discussion"></item>
<item name="resolution">
</item>
</issue>


<issue>
<item name="pfi">pfiComplexContentSimpleContent</item>
<item name="num">R-218</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">Errata Approved</item>
<item name="classification">Error w/ erratum</item>
<item name="originator">Sandy Gao </item>
<item name="responsible">Henry S. Thompson </item>
<item name="shortDescription">Clarification required for complexContent extending simpleContent
</item>
<item name="longDescription">
<p>
Consider
</p>
<pre>

&lt;complexType name="derived" mixed="false"&gt;
 &lt;complexContent mixed="false"&gt;
  &lt;extension base="base"/&gt;
 &lt;/complexContent&gt;
&lt;/complexType&gt;
</pre>
<p>

where "base" is a complex type whose {content type} is a simple type
definition.

</p>
<p>
Then according to structure 3.4.2, "derived" has the same content type as
base, which is a simple type definition. But it specified &lt;complexContent&gt;
explicitly, and mixed = false. This seems confusing.
</p>
<p>

And if mixed was true on &lt;complexType&gt; and &lt;complexContent&gt; then the rule
actually says that "derived" has a content of a sequence of an empty
sequence, following the particle from "base". But "base" doesn't have a
particle. (Rules from 3.4.6 says this is invalid, but those are at the
component level. Here we are talking about the mapping.)
</p>
<p>

IMO, &lt;complexContent&gt; shouldn't be allowed to extend a complex type
with simple content. That is, change bullet 1 of the constraint "Complex
Type Definition Representation OK" [1] to
</p>
<blockquote>

1 If the &lt;complexContent&gt; alternative is chosen, then all of the following
must be true:
<br/>
1.1 The type definition resolved to by the actual value of the base
[attribute] must be a complex type definition;
<br/>
1.2 If the &lt;extension&gt; alternative is also chosen, then the type definition
resolved to by the actual value of the base [attribute] must not be a
complex type definition whose {content type} is a simple type definition;
</blockquote>
<p>

[1]
<a href="http://www.w3.org/XML/Group/2002/09/xmlschema-1/structures-with-errata.html#src-ct">
http://www.w3.org/XML/Group/2002/09/xmlschema-1/structures-with-errata.html#src-ct</a></p>

<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003AprJun/0048.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0048.html</a></p>
</item>

<item name="discussion"></item>
<item name="resolution">
<p>HT proposed a resolution to R-218 which was discussed at the 2003-10-10 telecon.   Proposed errata text approved (but the WG allows him to edit the text to express it more formally). </p>
</item>
</issue>

<issue>
<item name="pfi">pfiIdConstrListUnion</item>
<item name="num">R-219</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New </item>
<item name="classification">Unclassified</item>
<item name="originator">Schema WG </item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">Does section 3.11.1 of part 1 need to refer to list, union?
</item>
<item name="longDescription">
<p>
At the 2003/11/20 telecon, the following question arose: </p>
<p>
Does section 3.11.1 of Structures need to explicitly cover lists and unions?</p>
<p>See:  <a href="http://www.w3.org/2003/11/20-xmlschema-irc#T17-22-00">http://www.w3.org/2003/11/20-xmlschema-irc#T17-22-00</a></p>
</item>
<item name="discussion"></item>
<item name="resolution">
</item>
</issue>

<issue>
<item name="pfi">pfiE1_17Issue</item>
<item name="num">R-220</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New </item>
<item name="classification">Unclassified</item>
<item name="originator">Henry S. Thompson</item>
<item name="responsible">Unassigned </item>
<item name="shortDescription">Problem with erratum E1-17
</item>
<item name="longDescription">
<p>
E1-17 changes the definition of Type Derivation OK (Complex) and Type
Derivation OK (Simple) to require the type defns being checked to be
named.
</p>
<p>
This change results in an unintended and negative side-effect, namely that 
anonymous types can't
be used at all, even for top-level element declarations.</p>
<p>
So for example, the following derivation is _not_ conformant any more:
</p>
<pre>
&lt;xs:element name="elt"&gt;
 &lt;xs:simpleType&gt;
  &lt;xs:restriction base="xs:string"/&gt;
 &lt;xs:simpleType&gt;
&lt;xs:element&gt;

&lt;xs:complexType name="base"&gt;
 &lt;xs:sequence&gt;
  &lt;xs:element ref="elt" minOccurs="0"/&gt;
 &lt;xs:sequence&gt;
&lt;xs:complexType&gt;

&lt;xs:complexType name="derived"&gt;
 &lt;xs:complexContent&gt;
  &lt;xs:restriction base="base"&gt;
   &lt;xs:sequence&gt;
    &lt;xs:element ref="elt"/&gt;
   &lt;xs:sequence&gt;
  &lt;xs:restriction&gt;
 &lt;xs:complexContent&gt;
&lt;xs:complexType&gt;
</pre>

<p>See:  <a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-wg/2003Dec/0000.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-wg/2003Dec/0000.html</a></p>
</item>
<item name="discussion"></item>
<item name="resolution">
</item>
</issue>

<issue>
<item name="pfi">pfiDecimalExcessPrec</item>
<item name="num">R-221</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">In progress </item>
<item name="classification">Clarification w/erratum</item>
<item name="originator">John Tebbutt</item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">Question about decimal values with >18 digits
</item>
<item name="longDescription">
<p>
Are  
implementations expected to handle decimal values with > 18 
digits?  And, since unsignedLong is derived from decimal, should the minimum number of digits supported be 20 instead?</p>
<p>See:  <a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2003Dec/0025.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2003Dec/0025.html</a></p>

<p>Note: this relates to issues raised in R-90.</p>
</item>
<item name="discussion">
<p>Discussed at the 2003/12/19 telecon: 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2003Dec/0064.html">http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2003Dec/0064.html</a></p>
</item>
<item name="resolution">
</item>
</issue>

<issue>
<item name="pfi">pfiDatatypesNamespace</item>
<item name="num">R-222</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Schema WG</item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">Should XML Schema continue to define the XMLSchema-datatypes namespace?
</item>
<item name="longDescription">
<p>
This issue was raised at the May 2003 f2f.   See: 
<a href="http://www.w3.org/XML/Group/2003/05/xml-schema-ftf-minutes#d0e750">(http://www.w3.org/XML/Group/2003/05/xml-schema-ftf-minutes#d0e750</a></p>
<p>XML 
Schema Part 2 suggests 
that the 
XMLSchema-datatypes URI is an alias for the xmlschema namespace URI:
</p>
<blockquote>

"To facilitate usage in specifications other than the XML Schema 
definition language, such as those that do not want to know anything 
about aspects of the XML Schema definition language other than the 
datatypes, each built-in datatype is also defined in the namespace 
whose URI is: http://www.w3.org/2001/XMLSchema-datatypes "
</blockquote>
<p>
while the documentation in the schema for the XMLSchema-datatypes 
suggests a different relationship, which is consistent with the notion 
of one-name-per-component:
</p>
<blockquote>

    &lt;documentation&gt;Note this schema is NOT a normative schema - -
      It contains types derived from all the builtin simple type 
definitions
      with the same local name but in a distinct namespace, for use
      by applications which do no wish to import the full XMLSchema
      schema.  Since derivation is not symmetric, unexpected results may
      follow from mixing references to these definitions with references
      to the definitions in the XMLSchema namespace.  For example,
      although dt:positiveInteger is derived from xs:integer, the 
converse
      does not hold.&lt;documentation&gt;
</blockquote>
</item>
<item name="discussion">
</item>
<item name="resolution"></item>
</issue>


<issue>
<item name="pfi">pfiPart1Xmp</item>
<item name="num">R-223</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">D. Schenk</item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">Suggested change to an example in Structures
</item>
<item name="longDescription">
<p>
A minor comment concerning "XML Schema Part 1, 3.14, Example": from a
physical viewpoint, should the name "farenheitWaterTemp" not better be
"celsiusWaterTemp"?</p>                          
<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003AprJun/0056.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0056.html</a></p>
</item>
<item name="discussion">
</item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfiMetachars</item>
<item name="num">R-224</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Michael Sperberg McQueen</item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">Questions about metacharacters in regular expressions 
</item>
<item name="longDescription">
<p>
Appendix F in the Part 2 of XML Schema 1.0 defines 'metacharacter'
thus:
</p>
<blockquote>

   A metacharacter is either ., \, ?, *, +, {, } (, ), [ or ].
</blockquote>
<p>

It defines 'normal character' thus:
</p>
<blockquote>


   [Definition:] A normal character is any XML character that is not a
   metacharacter. In regular expressions, a normal character is an
   atom that denotes the singleton set of strings containing only
   itself.
</blockquote>
<p>

Production [10], which I take to be defining normal characters, reads:
</p>
<blockquote>


   Normal Character

   [10]  Char ::= [^.\?*+()|#x5B#x5D]
</blockquote>
<p>

The metacharacters all need escapes, so production 24 is also relevant
here:
</p>
<blockquote>

   Single Character Escape
   [24] SingleCharEsc ::= '\' [nrt\|.?*+(){}#x2D#x5B#x5D#x5E]
</blockquote>
<p>

I have some questions:
</p>
<ol>
<li>
shouldn't { and } (braces) be included in production [10]?

   ? [10] Char ::= [^.\?*+{}()|#x5B#x5D]
</li>
<li>

shouldn't | (vertical bar) be among the characters defined as
metacharacters?
</li>
<li>

should ^ (#x5E) be included among the metacharacters?
</li>

<li>
would it be possible to list the magic characters in the same
order in 10 and 24, to make eyeball-based comparisons easier?
</li>
</ol>

<p>
I suspect the answer to (2) is 'yes' and the answer to (3) is 'no, on
the theory that the term 'metacharacter' is best reserved for
characters which have special meaning at the top level of a regular
expression and which must therefore have escapes to avoid ambiguity.
Hyphen, circumflex, comma, n, r, and t all have special meaning only
in special contexts (within character groups, within quantity-range
specifications, or after backslash), and so aren't metacharacters in
this sense.
</p>

<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0009.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0009.html</a></p>
</item>
<item name="discussion">
<p>
Note that items 1 and 2 are covered by R-41.</p>
</item>
<item name="resolution"></item>
</issue>


<issue>
<item name="pfi">pfiFixedElemVal</item>
<item name="num">R-225</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Sandy Gao</item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">Question about fixed element value with simple type  
</item>
<item name="longDescription">
<p>
It's not clear from the spec what to do
in this case: Bullet 5.2.2.2 of [1] deals with default element
value.  5.2.2.2.1 talks about complex type with mixed content, and 5.2.2.2.2
talks about complex type with simple type content. So there is no rule for
elements with simple types.
</p>
<p>

Perhaps 5.2.2.2.2 should be changed to say if the actual type is a simple
type or if it's a complex type with simple type content?
</p>
<p>[1] 
<a href="http://www.w3.org/TR/xmlschema-1/#section-Element-Declaration-Validation-Rules">http://www.w3.org/TR/xmlschema-1/#section-Element-Declaration-Validation-Rules</a></p>
<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0013.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0013.html</a></p>
</item>
<item name="discussion">
</item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfiSchemaLoc</item>
<item name="num">R-226</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Henry S. Thompson</item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">Must the content of schemaLocation be a resolvable URL?
</item>
<item name="longDescription">
<p>
With respect to the schemaLocation attribute of import, he REC says
"It is not an error for the application schema reference strategy to
fail."  It says something similar for the schemaLocation attribute of
include and redefine.  It _doesn't_ say this wrt xsi:schemaLocation,
but I believe it is reasonable to carry the above over to this case.  

</p>
<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0020.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0020.html</a></p>
</item>
<item name="discussion">
</item>
<item name="resolution"></item>
</issue>


<issue>
<item name="pfi">pfiIdConstrNil</item>
<item name="num">R-227</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Tim Hanson</item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">identity constraints and xsi:nil
</item>
<item name="longDescription">
<p>
If an element selected by the field  of an identity constraint has 
xsi:nil='true', is the value treated as missing? For example, is the 
following instance valid, given the schema.
</p>
<pre>
schema
------
&lt;xml version="1.0"?&gt;
&lt;xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
         &lt;xsd:element name="root"&gt;
                 &lt;xsd:complexType&gt;
                         &lt;xsd:sequence&gt;
                                 &lt;xsd:element ref="uid" maxOccurs="unbounded"/&gt;
                         &lt;/xsd:sequence&gt;
                 &lt;/xsd:complexType&gt;
                 &lt;xsd:unique id="foo123" name="uuid"&gt;
                         &lt;xsd:selector xpath=".//uid"/&gt;
                         &lt;xsd:field xpath="."/&gt;
                 &lt;/xsd:unique&gt;
         &lt;/xsd:element&gt;
         &lt;xsd:element name="uid" nillable="true" type="xsd:anySimpleType"/&gt;
&lt;/xsd:schema&gt;

instance
--------
&lt;xml version="1.0"?&gt;
&lt;root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xsi:noNamespaceSchemaLocation="idF018.xsd"&gt;
         &lt;uid xsi:nil="true" xsi:type="xsd:string"/&gt;
         &lt;uid xsi:nil="true"/&gt;
&lt;/root&gt;
</pre>


<p>

I think this should be valid since the xsi:nil attribute on the uid 
elements would be equivalent to the elements missing for the purposes of 
identity constraints. Either way 3.11.4 of Schema part 1 could use some 
clarification around xsi:nil.
</p>
<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0024.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0024.html</a></p>
</item>
<item name="discussion">
</item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfifractionDigitsXmp</item>
<item name="num">R-228</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Anli Shundi</item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">Suggestion for changes in fractionDigits example in part 2
</item>
<item name="longDescription">
<p>
The value of totalDigits at the example [1]
</p>
<pre>

&lt;simpleType name='celsiusBodyTemp'&gt;
  &lt;restriction base='decimal'&gt;
    &lt;totalDigits value='4'/&gt;
    &lt;fractionDigits value='1'/&gt;
    &lt;minInclusive value='36.4'/&gt;
    &lt;maxInclusive value='40.5'/&gt;
  &lt;/restriction&gt;
&lt;/simpleType&gt;
</pre>

<p>
should probably be 3 -- if at all present.  The presence of both
minInclusive and maxInclusive make totalDigits superfluous.
The fractionDigits set to 1 means that only one digit after
the decimal point is allowed. 
</p>
<p>

Considering the other three facets all valid values have
at max 3 digits.
</p>

<p>
Also ,the magnitude of a (live) person's body temperature on the Celsius scale
would probably go up to 42 Celsius... </p>
<p>[1] <a href="http://www.w3.org/TR/2004/PER-xmlschema-2-20040318/#rf-fractionDigits">http://www.w3.org/TR/2004/PER-xmlschema-2-20040318/#rf-fractionDigits</a></p>

<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0033.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0033.html</a></p>
</item>

<item name="discussion">
</item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfiTimeOrderRelation</item>
<item name="num">R-229</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Steve Hanna</item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">Order relation on time
</item>
<item name="longDescription">
<p>
Several readers have found that section 3.8 of XML Schema 1.0
Part 2 leaves some uncertainty as to the exact nature of the
order relation on time values. The text says:
</p>
<blockquote>

    Since the lexical representation allows an optional time
    zone indicator, time values are partially ordered because
    it may not be able to determine the order of two values
    one of which has a time zone and the other does not. The
    order relation on time values is the Order relation on
    dateTime (section 3.2.7.3) using an arbitrary date. See
    also Adding durations to dateTimes (appendix E). Pairs of
    time values with or without time zone indicators are
    totally ordered.
</blockquote>
<p>

Here is an example that illustrates the potential for
misinterpretation. Two different answers are possible
to a given ordering question, depending on how the
specification is interpreted.
</p>
<p>

Question: Is 09:00:00+12:00 &lt; 09:00:00-12:00?
</p>
<p>

It seems clear that the correct answer is no, since
section 3.2.8 of XML Schema 1.0 Part 2 says "time
represents an instant of time that recurs every day".
These two time values are 24 hours apart, so they
should be equal. But some interpretations of the
order relation for time values produces different
answers.
</p>
<p>

Answer 1:
</p>
<blockquote>

Step 1: Assign an arbitrary date to both time values:

<br/>
  Is dateTime 2002-02-16T09:00:00+12:00 &lt; 2002-02-16T09:00:00-12:00?

<br/>
Step 2: Apply the Order relation on dateTime:

<br/>
Step 2A: Since both dateTimes contain a timezone,
   normalize them to Z:

  Is dateTime 2002-02-15T21:00:00Z &lt; 2002-02-16T21:00:00Z?

<br/>
Step 2B: Since both dateTimes contain a timezone,
   compare P and Q field by field from the year field
   down to the second field.

  Since the day field of the first value (15) is less
  than the day field of the second value (16), the answer
  is true (that is, the first time value is less than the
  second one).

</blockquote>
<p>

Answer 2:
</p>
<blockquote>

Step 1: Normalize the time values to Z:

<br/>
  Is 21:00:00Z &lt; 21:00:00Z?

<br/>
Step 2: Assign an arbitrary date to both time values:

  Is dateTime 2002-02-16T21:00:00Z &lt; 2002-02-16T21:00:00Z?

<br/>
Step 3: Apply the Order relation on dateTime:

<br/>
Step 3A: Since both dateTimes contain a timezone,
   normalize them to Z:

<br/>
  No change.

<br/>
Step 3B: Since both dateTimes contain a timezone,
   compare P and Q field by field from the year field
   down to the second field.

  Since all fields in the values are identical, the answer
  is false (the first time value is not less than the
  second one).
</blockquote>
<p>

As stated above, I believe that the second answer (and
the second algorithm) is correct. It must be, otherwise
the definition of time values would be violated (because
these two time values which are clearly identical under
the definition of the type would not be equal under the
order relation).

</p>
<p>
However, the algorithm I described for calculating answer 2
above is not easily inferred from the specification. The
specification says "The order relation on time values is the
Order relation on dateTime (section 3.2.7.3) using an
arbitrary date." We believe that this means that for time
values with time zones, you must normalize the dates into a
single 24 hour period before applying the Order relation on
dateTime. An easy way to do this is to normalize the time
values to UTC and then assign an arbitrary year-month-day
value to them. But a more natural interpretation of the spec
would be to skip the normalization step and just assign the
year-month-day value. This will probably work just fine until
you encounter a situation like the one given above. We ran into
this while working on an XACML implementation (which uses the
XML Schema ordering for time values).
</p>
<p>

We suggest adding text to the XML Schema specification to
make it easier for implementors to understand the proper
interpretation of the spec. After the sentence that ends
with "using an arbitrary date", we would suggest adding
a sentence that says "Before assigning this arbitrary date,
time values with a time zone must be normalized to UTC."
</p>
<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0039.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0039.html</a></p>
</item>

<item name="discussion">
</item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfimaxOccurs0</item>
<item name="num">R-230</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Tim Daplyn</item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">Question on maxOccurs=0, particles and restriction
</item>
<item name="longDescription">
<p>
Please clarify an issue regarding the use of
maxOccurs="0", particularly within a type derived by &lt;restriction&gt;
</p>
<p>

From various places in the Structures recommendation I have gathered the
following information:
</p>

<p>
1. Where minOccurs=maxOccurs=0, the item "corresponds to no component at
all."
    [repeated]
</p>
<p>
2. The Particle Schema Component: {max occurs} - "Either a non-negative
integer or unbounded."
    <a href="http://www.w3.org/TR/xmlschema-1/#p-max_occurs">
    http://www.w3.org/TR/xmlschema-1/#p-max_occurs</a>

</p>
<p>
3. Particle Correct: for all particles "{max occurs} must be greater than or
equal to 1."
<a href="http://www.w3.org/TR/xmlschema-1/#p-props-correct">
http://www.w3.org/TR/xmlschema-1/#p-props-correct</a>
</p>

<p>
Also, from the Primer:
</p>
<p>

4. An element with minOccurs="0" and maxOccurs="0" means the element "must
not appear."
    <a href="http://www.w3.org/TR/xmlschema-0/#cardinalityTable">
    http://www.w3.org/TR/xmlschema-0/#cardinalityTable</a>
</p>
<p>
5. In restriction, minOccurs="0" and maxOcurs="0" means "exclusion of an
optional component."
    <a href="http://www.w3.org/TR/xmlschema-0/#restrictsTable">
    http://www.w3.org/TR/xmlschema-0/#restrictsTable</a>
</p>
<p>

It seems to me that (2) and (3) conflict. (2) effectively says that a particle
may have maxOccurs="0" while (3) says this would not be a correct particle.
Is an incorrect particle still a particle??
I'm not sure that (1) excuses this conflict.
Looking at the Errata I cannot see any substantive changes to these
definitions.
</p>
<p>

The problem I have specifically relates to restriction of a complexType
containing a sequence. As I understand it, the derived restricted sequence
can either simply not mention the element I wish to 'prohibit' or can
explicitly prohibit it by specifying maxOccurs="0" and this should mean the
same thing. However, (3) implies that the latter would not validate.

</p>
<pre>
E.g.

   &lt;complexType name="base"&gt;
     &lt;sequence&gt;
       &lt;element name="a" minOccurs="0" maxOccurs="1"/&gt;
       &lt;element name="b" minOccurs="0" maxOccurs="1"/&gt;
       &lt;element name="c" minOccurs="0" maxOccurs="1"/&gt;
     &lt;/sequence&gt;
   &lt;/complexType&gt;

   &lt;complexType name="deriveByOmission"&gt;
     &lt;complexContent&gt;
       &lt;restriction base="base"&gt;
         &lt;sequence&gt;
           &lt;element name="a" minOccurs="0" maxOccurs="1"/&gt;
           &lt; prohibit element "b" by omission --&gt;
           &lt;element name="c" minOccurs="0" maxOccurs="1"/&gt;
         &lt;/sequence&gt;
       &lt;/restriction&gt;
     &lt;/complexContent&gt;
   &lt;/complexType&gt;

   &lt;complexType name="deriveByZeroOccurrence"&gt;
     &lt;complexContent&gt;
       &lt;restriction base="base"&gt;
         &lt;sequence&gt;
           &lt;element name="a" minOccurs="0" maxOccurs="1"/&gt;
           &lt;element name="b" minOccurs="0" maxOccurs="0"/&gt; &lt;!-- prohibit
element "b" --&gt;
           &lt;element name="c" minOccurs="0" maxOccurs="1"/&gt;
         &lt;/sequence&gt;
       &lt;/restriction&gt;
     &lt;/complexContent&gt;
   &lt;/complexType&gt;
</pre>

<p>
(Helpfully, of the seven schema tools I've tried, 5 accept both derivations
(but given other experiences are maybe just too lax) and 2 refuse both...)
</p>

<p>
Which of these 2 derivations are correct?</p>
<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0042.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0042.html</a></p>
</item>

<item name="discussion">
</item>
<item name="resolution"></item>
</issue>


<issue>
<item name="pfi">pfieumerationComps</item>
<item name="num">R-231</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1,2</item>
<item name="verbosePart">1,2 (Structures,Datatypes)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Henry S. Thompson</item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">Enumeration restrictions are unclear
</item>
<item name="longDescription">
<p>
The prose in parts 1 and 2 wrt the components which result from a pair
of type definitions such as:
</p>
<pre>

Example:

&lt;xs:simpleType name="A"&gt;
 &lt;xs:restriction base="xs:token"&gt;
  &lt;xs:enumeration value="x"/&gt;
  &lt;xs:enumeration value="y"/&gt;
  &lt;xs:enumeration value="z"/&gt;
 &lt;/xs:restriction&gt;
&lt;/xs:simpleType&gt;

&lt;xs:simpleType name="B"&gt;
 &lt;xs:restriction base="A"&gt;
  &lt;xs:enumeration value="y"/&gt;
 &lt;/xs:restriction&gt;
&lt;/xs:simpleType&gt;
</pre>
<p>

is not clear at all.
</p>

<p>
Does the {facets} property of B contain:
</p>
<p>
1 - One enumeration component whose {value} is {y}?
<br/>
2 - One enumeration component whose {value} is {x, y, z}?
<br/>
3 - Two enumeration components whose {value}s are {y} and {x, y, z}?
</p>

<p>
This need to be cleaned up once and for all.
</p>
<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0060.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0060.html</a></p>
</item>

<item name="discussion">
</item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfivacuousRedefinition</item>
<item name="num">R-232</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Michael Sperberg-McQueen</item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">Vacuous Redefinition
</item>
<item name="longDescription">
<p>
In June 2003, the XML Schema WG briefly discussed cases like the
following:
</p>
<pre>

XSD1:
&lt;schema ...&gt;
&lt;complexType name="CT"&gt;
...
&lt;/schema&gt;

XSD2:
&lt;schema ...&gt;
&lt;redefine schemaLocation="XSD1"&gt;
&lt;!-- CT in XSD2 is vacuous restriction of CT in XSD1 *--&gt;
&lt;complexType name="CT"&gt;
 &lt;restriction base="CT"/&gt;
&lt;/complexType&gt;
&lt;/redefine&gt;
&lt;/schema&gt;

XSD3:
&lt;schema ...&gt;
&lt;import schemaLocation="XSD1"/&gt;
&lt;import schemaLocation="XSD2"/&gt;
&lt;/schema>
</pre>

<p>
Several questions arise:
</p>
<ol>
<li>

is this legal or not, in XML Schema 1.0?
</li>
<li>
regardless of the answer to (1), SHOULD this be
     legal in XML Schema?
</li>
</ol>

<p>
One position one could take is that since the CT of XSD1 and
the CT of XSD2 are as similar as one can make them (same name,
same extension), the double import really should be legal.
</p>
<p>

Another possible position is that if one wanted them to
be identical one would not have redefined CD in XSD2 -- just as
vacuous restrictions can be used to block certain substitutions
by imposing a certain structure on the type hierarchy, so
the vacuous restriction here should be allowed, and should
not be treated differently from a non-vacuous restriction.
</p>
<p>

When this came up in June, some WG members offered an analysis
of this case which led them to conclude that the example is
not legal; I never understood the details.  Can anyone expound?
</p>
<p>

Depending on what the WG decides to do, this topic might turn
into an error report on 1.0 or a requirement for 1.1, or
a no-action-needed.
</p>

<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0062.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0062.html</a></p>
</item>

<item name="discussion">
</item>
<item name="resolution"></item>
</issue>


<issue>
<item name="pfi">pfixsiAttributes</item>
<item name="num">R-233</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Henry S. Thompson </item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">Validation of xsi: attributes
</item>
<item name="longDescription">
<p>
An issue is in order to clarify that the four [xsi:] attributes must be
validated using the built-in declarations whenever they appear, and
must be valid, and get PSVI-only properties.  This will require an extra clause in
Element Locally Valid (Complex Type), and possibly in Schema
Information Set Contribution: Assessment Outcome (Attribute).
</p>
<p>For additional info and background, see:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0073.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0073.html</a></p>
</item>

<item name="discussion">
</item>
<item name="resolution"></item>
</issue>


<issue>
<item name="pfi">pfiAnonTypeGlobalElements</item>
<item name="num">R-234</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Kazumi Saito</item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">Anonymous global type elements of same name in model group
</item>
<item name="longDescription">
<p>Is the following schema valid?</p>
<pre>
        &lt;xsd:element name="elem1"&gt;
 		&lt;xsd:complexType/&gt;
 	&lt;/xsd:element&gt;

 	&lt;xsd:complexType name="type1"&gt;
 		&lt;xsd:sequence&gt;
 			&lt;xsd:element ref="elem1"/&gt;
 			&lt;xsd:element ref="elem1"/&gt;
 		&lt;/xsd:sequence&gt;
 	&lt;/xsd:complexType&gt;
</pre>
<p>Henry's response: </p>
<p>Should be, but the REC language is broken here -- I'm pretty sure the
intent was for this constraint to apply to two _distinct_ element
declarations, which means at least one of them would have to be local,
as all refs to a named top-level element decl produce the _same_
element decl.

I'm not aware of any processors which complain about this case.
</p>
<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0081.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0081.html</a></p>

</item>

<item name="discussion">
</item>
<item name="resolution"></item>
</issue>


<issue>
<item name="pfi">pfiNegZeroDecimal</item>
<item name="num">R-235</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatyeps)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Arjohn Kampman</item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">Canonical rep'n of -0.0 
</item>
<item name="longDescription">
<p>
If I understand the specs correctly, the canonical
form of the decimal -0.0 is -0.0, but I would expect it to be 0.0. I
scanned through the errata but couldn't find anything that's related to
this. Is this an error in the XML Schema
datatypes spec?
</p>

<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0082.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0082.html</a></p>

</item>

<item name="discussion">
<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003OctDec/0011.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003OctDec/0011.html</a></p>
</item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfiwhitespaceInteger</item>
<item name="num">R-236</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatyeps)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Dan Connolly</item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">whitespace facet constrains value space of integer?
</item>
<item name="longDescription">
<p>From the datatypes spec: </p>
<blockquote>
"integer has the following constraining facets:

<br/>
...
<br/>
whiteSpace
<br/>
..."
</blockquote>
<p> and... </p>
<blockquote>

"[Definition:]  A constraining facet is an optional property that can be
applied to a datatype to constrain its value space."
</blockquote>
<p>

So, does the whitespace facet constrain the *value space*
of integer somehow?
</p>
<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0084.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0084.html</a></p>

<p>See also this related comment:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003OctDec/0022.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003OctDec/0022.html</a></p>

</item>

<item name="discussion">
</item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfiS4SErrors</item>
<item name="num">R-237</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">David Bau</item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">Possible errors in the S4S 
</item>
<item name="longDescription">
<p>
The following are a few things that look like errors in the current schema-for-schema posted on http://www.w3.org/2001/XMLSchema.xsd

</p>
<p>
Some of them have been discussed here in the past or even mentioned in the errata, but don't seem to be reflected in the posted xsd....  They are all minor things, but they all do get in the way of actually using the schema-for-schema to validate schemas.  Here is my list of changes: </p>
<ol>

<li>
finalDefault needs to permit "list" and "union"
</li>
<li>
the type of the &lt;element&gt; element in an &lt;all&gt; group needs to be given a name so that it is legal to use the type in both a base type and a restriction when using the allModel (otherwise it breaks one of the particle-valid (restriction) rules).
</li>
<li>
The regular expressions that describe integrity constraint xpaths need to be modified to permit whitespaces in certain places, as discussed in one of the errata.
</li>
</ol>
<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0087.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0087.html</a></p>

</item>

<item name="discussion">
</item>
<item name="resolution"></item>
</issue>


<issue>
<item name="pfi">pfiPrimerEmptyContent</item>
<item name="num">R-238</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">0</item>
<item name="verbosePart">0 (Primer)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">David Bau</item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">Primer Section 2.3 - Empty Content
</item>
<item name="longDescription">
<p>
In Section 2.5.3 Empty Content - 2nd paragraph in the XML
Schema Part 0: Primer document published on May 2, 2001, I have identified
the following error.</p>
<p>

I think the following line:
</p>
<blockquote>

Such an element has no content at all; its content model is empty. To define
a type whose content is empty, we essentially define a type that allows only
elements in its content, but we do not actually declare any elements and so
the type's content model is empty: 
</blockquote>
<p>

should be read as:
</p>
<blockquote>

Such an element has no content at all; its content model is empty. To define
a type whose content is empty, we essentially define a type that allows only
attributes in its content, but we do not actually declare any elements and
so the type's content model is empty: 
</blockquote>

<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003OctDec/0009.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003OctDec/0009.html</a></p>

</item>

<item name="discussion">
<p>Priscilla's response:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003OctDec/0020.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003OctDec/0020.html</a></p>

</item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfiElementDeclsConsistent</item>
<item name="num">R-239</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">David Bau</item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">Question re: Element Declarations Consistent
</item>
<item name="longDescription">
<p>
The Element Declarations Consistent rule for model groups
(<a href="http://www.w3.org/TR/xmlschema-1/#cos-element-consistent">
http://www.w3.org/TR/xmlschema-1/#cos-element-consistent</a>)
rules out inconsistent element declarations like the
following two conflicting definitions of element &lt;a&gt;
i.e., &lt;a&gt; cannot be both an "int" and a "string" in
the same group:
</p>
<pre>

(example-1)
&lt;xs:complexType name="example-1"&gt;
  &lt;xs:sequence&gt;
    &lt;xs:element name="a" type="xs:int"/&gt;
    &lt;xs:element name="whatever"/&gt;
    &lt;xs:element name="a" type="xs:string"/&gt;
  &lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre>

<p>
In addition to explicit element declarations, the rule
also prevents conflicts between elements that appear
"either directly, indirectly, or implicitly", i.e., between
nested model groups or elements permitted via
substitution groups.
</p>
<p>

My question: consider the following "tricky" indirect case
involving a wildcard referencing a global element -
</p>
<pre>

(example-2)
&lt;xs:element name="a" type="xs:string"/&gt;
&lt;xs:complexType name="example-2"&gt;
  &lt;xs:sequence&gt;
    &lt;xs:element name="a" type="xs:int"/&gt;
    &lt;xs:element name="whatever"/&gt;
    &lt;xs:any namespace="##targetNamespace" processContents="lax"/&gt;
  &lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;
</pre>

<p>
Clearly the local &lt;a&gt; and the indirect reference to the
global &lt;a&gt; are "inconsistent" with each other within the
content model of example-2, but I'm not sure if the
"directly, indirectly, or implicitly" language in the
ETC rule captures this case.
</p>
<p>

Is there a hole in the EDC rule language with respect to
example-2? Is this something that could be clarified in
an errata?
</p>
<p>See: <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003OctDec/0029.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003OctDec/0029.html</a></p>
</item>
<item name="discussion">
<p>Henry's response:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003OctDec/0030.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003OctDec/0030.html</a></p>
<p>Also, see follow-up mail re: potential other EDC issues: 

<a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003OctDec/0060.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003OctDec/0060.html</a></p>

</item>
<item name="resolution"></item>
</issue>


<issue>
<item name="pfi">pfiNSRecurseCheckCardinality</item>
<item name="num">R-240</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Alessandro Triglia</item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">Question re: Particle Derivation OK (All/Choice/Sequence:Any -- NSRecurseCheckCardinality)
 
</item>
<item name="longDescription">
<p>
I think the following passage in Part 1 is wrong:
</p>
<blockquote>

<p>
Schema Component Constraint: Particle Derivation OK (All/Choice/Sequence:Any -- NSRecurseCheckCardinality) 

</p>
<p>
For a group particle to be a valid restriction of a wildcard particle all of the following must be true:

</p>
<p>
1 Every member of the {particles} of the group is a valid restriction of the wildcard as defined by Particle Valid (Restriction) (3.9.6). 

</p>
[...]
</blockquote>

<p>
If understood literally, this is saying that a particle of a model group can be a valid restriction of a wildcard.  How can a particle be a valid restriction of a **wildcard** (as opposed to a **particle whose term is a wildcard**)?
</p>
<p>

If, instead, I interpret it as:
</p>
<p>

"1 Every member of the {particles} of the group is a valid restriction of the wildcard **particle** as defined by Particle Valid (Restriction) (3.9.6)."

it becomes clearly wrong, given that the min occurs and max occurs of the "base" particle and the min occurs and max occurs of the "restricted" particle have a role in determining whether a "restricted" particle (say, an element declaration particle) is a valid restriction of a "base" particle (say, a wildcard particle).
</p>

<p>
For example, suppose I want to restrict a wildcard particle (min occurs=4, max occurs=8) with a sequence particle whose term has three element declaration particles.  The statement above would require that **each** of the element declaration particles was a valid restriction of the wildcard particle, which in turn implies that **each** of the element declaration particles had to have min occurs>=4, max occurs&lt;=8 (see 3.9.6, Schema Component Constraint: Particle Derivation OK (Elt:Any -- NSCompat)).  This makes no sense.
</p>
<p>

A possible correction is rewording the sentence as follows:
</p>

<blockquote>
1 Every member of the {particles} of the group is a valid restriction of the wildcard particle as defined by Particle Valid (Restriction) (3.9.6), except that the min occurs of the wildcard particle must be replaced by 0 before applying Particle Valid (Restriction) (3.9.6).

</blockquote>
<p>
or perhaps as follows:
</p>
<blockquote>

1 Every member of the {particles} of the group is a valid restriction (as defined by Particle Valid (Restriction) (3.9.6))  of a particle constructed as follows:

<br/>
min occurs: 	0
<br/>
max occurs: 	the same as the max occurs of the wildcard particle
<br/>
term: 		the wildcard
</blockquote>
<p>See: <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003OctDec/0031.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003OctDec/0031.html</a></p>
</item>

<item name="discussion">
<p>See: <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004JanMar/0000.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004JanMar/0000.html</a></p>
</item>

<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfiUnionRestr</item>
<item name="num">R-241</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Michael Marchegay</item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">Question re: Validation of an element restriction whose base type has the variety union
 
</item>
<item name="longDescription">
<p>
It seems to me that the the following schema should be 
invalid because the value space of the base type definition 
of the element "e" in the type "ct-base" is not a super set 
of the value space of the base type definition of the element 
"e" in "ct-deriv"; but I cannot find any Schema Component 
Constraint invalidating it.
</p>
<pre>

&lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt;

  &lt;xs:simpleType name="base"&gt;
    &lt;xs:union memberTypes="xs:boolean xs:integer"/&gt;
  &lt;/xs:simpleType&gt;

  &lt;xs:simpleType name="deriv"&gt;
    &lt;xs:restriction base="base"&gt;
      &lt;xs:enumeration value="1"/&gt;
      &lt;xs:enumeration value="2"/&gt;
    &lt;/xs:restriction&gt;
  &lt;/xs:simpleType&gt;

  &lt;xs:complexType name="ct-base"&gt;
    &lt;xs:sequence&gt;
      &lt;xs:element name="e" type="deriv"/&gt;
    &lt;/xs:sequence&gt;
  &lt;/xs:complexType&gt;

  &lt;xs:complexType name="ct-deriv"&gt;
    &lt;xs:complexContent&gt;
      &lt;xs:restriction base="ct-base"&gt;
        &lt;xs:sequence&gt;
          &lt;xs:element name="e" type="xs:integer"/&gt;
        &lt;/xs:sequence&gt;
      &lt;/xs:restriction&gt;
    &lt;/xs:complexContent&gt;
  &lt;/xs:complexType&gt;

&lt;/xs:schema&gt;
</pre>
<p>

Using cos-st-derived-ok [1], xs:integer seems to be validly 
derived given {extension, list, union} from deriv (because 
the member type definitions property of deriv is the the 
member type definitions of base). Therefore, 
rcase_NameAntTypeOK [2] is not violated, and the restriction 
seems to be valid.
</p>
<p>Comment originally posted to xmlschema-dev mail list. </p>
</item>
<item name="discussion">
<p>See:  <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003OctDec/0038.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003OctDec/0038.html</a></p>
</item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfifinalSimpleType2</item>
<item name="num">R-242</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Michael Kay</item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">Part 1:  final attribute of simpleType
 
</item>
<item name="longDescription">
<p>
Section 3.14.1 says the {final} property of simpleType is:
</p>
<blockquote>

    A subset of {extension, list, restriction, union}.
</blockquote>
<p>

I would expect it to say:
</p>
<blockquote>

    A subset of {list, restriction, union}.
</blockquote>
<p>

Section 3.14.2 gives the syntax of the final attribute as:
</p>
<blockquote>

    final = (#all | (list | union | restriction))
</blockquote>
<p>

I would expect it to be:
</p>

<blockquote>
    final = (#all | List of (list | union | restriction))  
</blockquote>
<p>See: <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003OctDec/0064html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003OctDec/0064.html</a></p>
<p>Note:  the second part of this comment is covered by R-199. </p>
</item>
<item name="discussion">

</item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfiAddingBackAttrs</item>
<item name="num">R-243</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Henry S. Thompson</item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">Can an attribute prohibited by restriction be added back through a subsequent extension?
 
</item>
<item name="longDescription">
<p>The REC says in clause 1.5 of Schema Component Constraint: Derivation
Valid (Extension):
</p>
<blockquote>

 Note: This requirement ensures that nothing removed by a restriction
 is subsequently added back by an extension.
</blockquote>
<p>

That is where
the REC tries to answer "no" to the question of "whether an attribute
[or element] removed by restriction could be added back in an
extension."  However the constraint itself, in my view, fails to
achieve this, so processors which allow it are not broken.

</p>
<p>I think we should fix this one way or another: </p>
<ol>
<li>
No constraint on re-introduction;
</li>
<li>
No re-introduction of any kind (apparent intention of current REC);
</li>
<li>
Re-introduction of unchanged originals only (what the current REC
     actually says)?
</li>
</ol>
<p>See: <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004JanMar/0005.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004JanMar/0005.html</a></p>
</item>
<item name="discussion">
<p>See subsequent email on this thread.</p>

</item>
<item name="resolution"></item>
</issue>


<issue>
<item name="pfi">pfiAppendixE</item>
<item name="num">R-244</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Joseph Fialli</item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">Clarification requested for Appendix E
 
</item>
<item name="longDescription">
<p>
The XSD builtin datatypes, gMonthDay and time,  are missing from the 
sentence "This appendix also addresses the
additions of durations to the datatypes ......".  Since Section 3.2.12 
gMonthDay and Section 3.2.8 time contain a
reference to Appendix E, one would conclude they should also be listed 
in this sentence to confirm that the add duration
algorithm also applies to these two types.
</p>
<p>For more details, see: <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004JanMar/0038.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004JanMar/0038.html</a></p>
</item>
<item name="discussion">
<p><a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004JanMar/0039.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004JanMar/0039.html</a></p>

</item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfiPart1Editorial</item>
<item name="num">R-245</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Dan Small</item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">Editorial error in section 3.1.4 of Structures 
 
</item>
<item name="longDescription">
<p>Section 3.1.4 states: 
</p>
<blockquote>
"The language used is as if the correspondences were mappings from XML
representation to schema 
component, but the mapping in the other direction, and therefore the
correspondence in the 
abstract, can always be constructed therefrom."
</blockquote>
<p>
Above is the original text.  I suspect that the following is what was meant
:
</p>
<blockquote>

"The language used is as if the correspondences were mappings from XML
representation to 
schema component, but the mapping _is_ in the other direction, and
therefore the correspondence 
in the abstract__ can always be constructed therefrom."
</blockquote>
<p>

My changes are delimited by '_'.  ( Added 'is' and removed comma. )
</p>
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004JanMar/0050.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004JanMar/0050.html</a></p>
</item>
<item name="discussion">
</item>
<item name="resolution"></item>
</issue>


<issue>
<item name="pfi">pfiIDREFSspace</item>
<item name="num">R-246</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatyeps)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Walter Waterfeld</item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">IDREFS and space  
 
</item>
<item name="longDescription">
<p>The Errata for Part 2 (Datatypes) seems to use the term space instead of
whitespace,
<br/>

e.g. in E2-30 Clarification.
</p>
<p>

Thus the definition of IDREFS should also use the term space.
</p>
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004JanMar/0056.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004JanMar/0056.html</a></p>
</item>
<item name="discussion">
</item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfilanguagetype</item>
<item name="num">R-247</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatyeps)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Walter Waterfeld</item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">2E PER:  bracket missing in pattern for lexical space of xs:language
 
</item>
<item name="longDescription">
<p>The errata for the language data type in 
<a href="http://www.w3.org/TR/2004/PER-xmlschema-2-20040318/datatypes-with-errata.html#language">
http://www.w3.org/TR/2004/PER-xmlschema-2-20040318/datatypes-with-errata.html#language</a> 

contains an error in the pattern definition. The closing 
round bracket is missing:
</p>
<p>
 
The lexical space of language is the set of all strings 
that conform to the pattern ([a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*
</p>
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004JanMar/0070.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004JanMar/0070.html</a></p>
</item>
<item name="discussion">
</item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfi2EPart2Typos</item>
<item name="num">R-248</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatyeps)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Anli Shundi</item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">2E PER:  Typos in 2E Datatypes spec 
 
</item>
<item name="longDescription">
<p>Parenthesis vs brace at S{,m)
</p>
<blockquote>

Note:  The regular expression language in the Perl Programming Language 
[Perl] does not include a quantifier of the form S{,m), since it is 
logically equivalent to S{0,m}
</blockquote>
<p>

Unclosed parenthesis started at:
</p>
<blockquote>

The lexical space of base64Binary is given by the following grammar (the 
notation is that used in [XML 1.0 ...
</blockquote>
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004JanMar/0065.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004JanMar/0065.html</a></p>
</item>
<item name="discussion">
</item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfiErratumE2-18</item>
<item name="num">R-249</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatyeps)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Bob Foster</item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">2E PER:  Objection to erratum E2-18 
 
</item>
<item name="longDescription">
<p>
The commentator objects to the regular expression grammar change in E2-18.  For more details see: 
 <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004JanMar/0075.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004JanMar/0075.html</a></p>
<p>See also: 
 <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004AprJun/0018.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004AprJun/0018.html</a></p>
</item>
<item name="discussion">
</item>
<item name="resolution"></item>
</issue>


<issue>
<item name="pfi">pfircase-MapandSum</item>
<item name="num">R-250</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator"> Eric J. Schwarzenbach </item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">2E PER:  Comments on rcase-MapAndSum
 
</item>
<item name="longDescription">
<p>
My comments relate to
</p>
<p>

<a href="http://www.w3c.org/TR/2004/PER-xmlschema-1-20040318/#rcase-MapAndSum">
http://www.w3c.org/TR/2004/PER-xmlschema-1-20040318/#rcase-MapAndSum</a></p>

<p> 
I'd like to request that

rcase-MapAndSum.2 be rephrased to make it more readable. There are a 
number of places in the these documents that suffer the same sort of 
human-parseability problems but this sentence is particularly egregious.
</p>
<p>See the original email for details on the issues and suggested wording changes:  
 <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004JanMar/0080.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004JanMar/0080.html</a></p>

</item>
<item name="discussion">
</item>
<item name="resolution"></item>
</issue>


<issue>
<item name="pfi">pfiEditorialMinMax</item>
<item name="num">R-251</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator"> Dave Peterson </item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">2E PER:  Probable editorial problem, mix/maxExclusive facets
 
</item>
<item name="longDescription">
<p>The attempt to make redundant derivations using repeated Exclusive
facets with the same value works only part way.  According to the
definitions, One can derive a from decimal setting using
maxExclusive = 29, redundantly derive b from a using maxExclusive = 29,
but are then not permitted to derive c from b again using
maxExclusive = 29.  (Weird, but that's the way it is.)
</p>
<p>

This one-level redundancy is explicitly permitted by the definitions
of minExclusive and maxExclusive, but didn't make its way into the
descriptions of the schema components, nor of the XML representation
summaries.  So they contradict the definition.  I suspect this is an
editorial error in 2E PER.
</p>
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004JanMar/0085.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004JanMar/0085.html</a></p>
</item>
<item name="discussion">
</item>
<item name="resolution"></item>
</issue>


<issue>
<item name="pfi">pfiFinalBlock</item>
<item name="num">R-252</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator"> Henry S. Thompson </item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">Final/block, transitivity and restriction
 
</item>
<item name="longDescription">
<p>In certain cases, I'm not sure the current REC makes the right call on
when to do recursive checking up the base type chain and when not.
</p>
<p>

Consider the following schema document:
</p>
<pre>

&lt;xs:schema&gt;
 &lt;xs:element name="root" type="top"/&gt;
 
 &lt;xs:complexType name="top" final="restriction"&gt;
  &lt;xs:sequence&gt;
   &lt;xs:element name="a" minOccurs="0"/&gt;
  &lt;/xs:sequence&gt;
 &lt;/xs:complexType&gt;
 
 &lt;xs:complexType name="intermediate"&gt;
  &lt;xs:complexContent&gt;
   &lt;xs:extension base="top"&gt;
    &lt;xs:sequence&gt;
     &lt;xs:element name="b"/&gt;
    &lt;/xs:sequence&gt;
   &lt;/xs:extension&gt;
  &lt;/xs:complexContent&gt;
 &lt;/xs:complexType&gt;
 
 &lt;xs:complexType name="bottom"&gt;
  &lt;xs:complexContent&gt;
   &lt;xs:restriction base="intermediate"&gt;
    &lt;xs:sequence&gt;
     &lt;xs:element name="b"/&gt;
    &lt;/xs:sequence&gt;
   &lt;/xs:restriction&gt;
  &lt;/xs:complexContent&gt;
 &lt;/xs:complexType&gt;
 
 &lt;xs:complexType name="top2"&gt;
  &lt;xs:sequence&gt;
   &lt;xs:element name="c" type="top"/&gt;
  &lt;/xs:sequence&gt;
 &lt;/xs:complexType&gt;
 
 &lt;xs:complexType name="restrictOKorNot"&gt;
  &lt;xs:complexContent&gt;
   &lt;xs:restriction base="top2"&gt;
    &lt;xs:sequence&gt;
     &lt;xs:element name="c" type="bottom"/&gt;
    &lt;/xs:sequence&gt;
   &lt;/xs:restriction&gt;
  &lt;/xs:complexContent&gt;
 &lt;/xs:complexType&gt;
&lt;/xs:schema&gt;
</pre>
<p>

The constraints on type definitions do _not_ recurse up the chain when
checking 'final', so the type def named 'bottom' above is OK, despite
restricting away an element ('a') introduced in a type definition
which says it's final for restriction.
</p>
<p>

However, content model checking _does_ recurse up the chain, so the
type defn named 'restrictOKorNot' is _not_ OK.  Neither is that
following instance, wrt the schema corresponding to the above schema
doc:
</p>
<pre>

&lt;root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:type="bottom"&gt;
 &lt;b/&gt;
&lt;/root&gt;
</pre>
<p>

Is this really what we want?
</p>
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004JanMar/0087.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004JanMar/0087.html</a></p>
</item>
<item name="discussion">
</item>
<item name="resolution"></item>
</issue>


<issue>
<item name="pfi">pfiSchemaLocRedefine</item>
<item name="num">R-253</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator"> Henry S. Thompson, Noah Mendelsohn </item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">Failure of schemaLocation to resolve for redefine 
 
</item>
<item name="longDescription">
<p>The Rec is silent on the implications 
of failure of schemaLocation to resolve for redefine.
</p>
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004JanMar/0088.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004JanMar/0088.html</a></p>
</item>
<item name="discussion">
</item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfiMergeUnion</item>
<item name="num">R-254</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator"> Xan Gregg </item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">Clarify merge/union of facets 
 
</item>
<item name="longDescription">
<p>Definition of {facets} in 4.1.2.1 Derivation by restriction:
</p>
<blockquote>

   {facets}  The union of the set of Facets (2.4) components
         resolved to by the facet [children] merged with {facets}
         from {base type definition}, subject to the Facet
         Restriction Valid constraints specified in Facets (2.4).
</blockquote>
<p>

What is being "unioned" and how does "merge" work?  For example, if the 
base has a minLength facet with value 5 and the derived type has a 
minLength child facet of value 7, how many minLength facets are in the 
derived type's facets property?
</p>
<p>

The text above makes it sound like both are present, but constraints 
within the rec strongly imply there is only one facet for each facet 
name. (For instance, reference to "*the* minLength facet" for 
validation constraints).  Common sense suggests the last facet of a 
given name wins, but it's hard to get that from "union" and "merge".
</p>
<p>

Related member-only thread: Facet equality: questions/issues
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2004Mar/0187.html">
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2004Mar/0187.html</a></p>

<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004AprJun/0000.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004AprJun/0000.html</a></p>
</item>
<item name="discussion">
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004AprJun/0002.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004AprJun/0002.html</a></p>

</item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfipatternFacet2</item>
<item name="num">R-255</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator"> Xan Gregg </item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">Value of pattern facet        
 
</item>
<item name="longDescription">
<p>
How are multiple pattern facet children represented in the schema 
component infoset?  The pattern facet schema component has a value 
which is a regular expression.  So presumably, that value is the 
disjunction of all patterns among the children.  Is that so?  How is 
the disjunction written? "p1|p2|p3", for instance?
</p>
<p>

What about pattern facets at different levels in the derivation?  The 
rec says they are effectively ANDed together, but how is that 
represented in the schema infoset, as there is no conjunction operator 
in the regex language?  Is the schema processor to figure out the 
conjunction?  Or do the base and derived patterns stay separate, with 
the processor required to walk the base chain for the ANDing?  Or are 
there multiple pattern facets in the component model?  I'm guessing the 
patterns at different derivation steps stay separate, but it's only a 
guess.
</p>

<p>
Relevant part of rec (part 2):
</p>
<blockquote>

   Schema Representation Constraint: Multiple patterns
   <br/>

   If multiple &lt;pattern&gt; element information items appear as [children]
   of a &lt;simpleType&gt; the [value]s should be combined as if they appeared
   in a single regular expression as separate branches.
    Note:  It is a consequence of the schema representation constraint
   Multiple patterns (4.3.4.3) and of the rules for restriction that
   pattern facets specified on the same step in a type derivation are
   ORed together, while pattern facets specified on different steps of
   a type derivation are ANDed together.
</blockquote>
<p>

Related member-only thread: Facet equality: questions/issues
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2004Mar/0187.html">
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2004Mar/0187.html</a></p>
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004AprJun/0001.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004AprJun/0001.html</a></p>
</item>

<item name="discussion">

</item>
<item name="resolution"></item>
</issue>


<issue>
<item name="pfi">pfiAttrWildcards</item>
<item name="num">R-256</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">1</item>
<item name="verbosePart">1 (Structures)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator"> Michael Kay</item>
S
<item name="responsible">Unassigned </item>
<item name="shortDescription">2E PER:  Attribute wildcards numbering problem
 
</item>
<item name="longDescription">
<p>In the proposed second edition of Schema Part 1, in section 3.4.2 (XML
Representation of Complex Type Definitions), in the definition of the
property {attribute wildcard}, there are two rules numbered 3.2.1.
</p>
<p>

The second such rule is preceded by the phrase "The value is then determined
by the appropriate case among the following"; but there is only one
following case. There seems to be an "otherwise" case missing.
</p>
<p>

Although the rule numbering was different in the first edition, the same
problem seems to exist there.
</p>
<p>See <a href="http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004AprJun/0004.html">http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004AprJun/0004.html</a></p>
</item>

<item name="discussion">
</item>
<item name="resolution"></item>
</issue>


<issue>
<item name="pfi">pfiPercentEsc</item>
<item name="num">R-257</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">XML Schema WG</item>
<item name="responsible"></item>
<item name="shortDescription">Health warning needed about percent-escaping URIs</item>
<item name="longDescription">

<p>
PB -- RFC says application should make sure never to escape a string twice.
</p>
<p>
HT -- XLink explicitly does _not_ escape # or %.  I think that was our
      last group consensus.
</p>
<p>
PB -- believe they should include a health warning.  Will cause confusion.
</p>
<p>
HT -- that may be the right resolution.  Propose -- "The
      question of escaping % is vexed.  The issue should be
      explained in an accompanying note so that readers will be
      confident that this is an intentional omission."
</p>
<p>
XG -- sounds fine.
</p>
<p>
...
</p>
<p>
SG -- we don't have such a health warning in our spec.
</p>
<p>
HT -- I think that's OK.  We need to raise an issue against 3.2.17.1.
</p>

</item>

<item name="discussion"></item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfiInclExcl</item>
<item name="num">R-258</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Sandy Gao</item>
<item name="responsible"></item>
<item name="shortDescription">Need to resolve contradiction regarding inclusive and exclusive bounds</item>
<item name="longDescription">
<p>
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2004May/0047.html">
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2004May/0047.html</a>
</p>
<p>
The first constraint in <a href=
"http://www.w3.org/XML/Group/2003/09/xmlschema-2/datatypes-with-errata.html#maxInclusive-maxExclusive">4.3.8.4</a> of the datatype spec says
</p>
<p>
"It is an error for both maxInclusive and maxExclusive to be
specified in the same derivation step of a datatype definition."
</p>
<p>
And the first constraint [2] in <a href=
"http://www.w3.org/XML/Group/2003/09/xmlschema-2/datatypes-with-errata.html#minInclusive-minExclusive">4.3.9.4</a> says
</p>
<p>
"It is an error for both minInclusive and minExclusive to be
specified for the same datatype."
</p>
<p>
Clearly they don't match with each other. IMO, the one in 4.3.9.4 is
incorrect, and should be changed to something similar to that in 4.3.8.4.
</p>

</item>

<item name="discussion"></item>
<item name="resolution"></item>
</issue>

<issue>
<item name="pfi">pfiQNameBinding</item>
<item name="num">R-259</item>
<item name="cluster">Unclustered</item>
<item name="shortPart">2</item>
<item name="verbosePart">2 (Datatypes)</item>
<item name="status">New</item>
<item name="classification">Unclassified</item>
<item name="originator">Mary Holstege and XML Schema WG</item>
<item name="responsible"></item>
<item name="shortDescription">Are QNames without prefix bindings type-valid?</item>
<item name="longDescription">
<p>Discussed on 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2004May/0047.html">
20 February 2004</a> and agreed to be a problem.  The question arose
in discussion of a 
<a href="http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2004Feb/0100.html">draft 
comment</a> on the QT serialization spec.  The relevant part of our
minutes reads:
</p>
<p><i>
HST was unhappy about the mention of QNames being type-valid when
unbound; he remembered it differently.  We discussed this question for
a few minutes; some WG members (HST) believed having a binding for the
prefix is essential to QName type validity, while some (MSM, PVB)
believed they remembered removing that from the definition of type
validity at the same time we removed the uniqueness constraint from
the type-validity conditions for ID and moved it into Structures.
</i></p>
<p><i>
Ultimately, we constructed what amounts to an argument that having a
bound prefix IS a condition of type validity.  At the very least, if
you have a type derived from QName via enumeration, you'll need a
QName value to check instances against the enumeration.  If you don't
have a binding for the prefix, you won't have a value.  The same goes
for any other facet except 'pattern'.  Therefore, a prefix binding
seems essential at least for types derived from QName; as regards
QName itself, some WG members suggested that the binding might not be
essential; at least, they could not find any general rule that says
that an instance of a simple type is type-valid if and only if the
lexical form successfully maps into a type.
</i></p>
<p><i>
Other WG members noted that clause 2 of validation rule Datatype Valid
(http://www.w3.org/XML/Group/2003/09/xmlschema-2/datatypes-with-errata.html#cvc-datatype-valid)
requires that "the value denoted by the literal matched in the
previous step [be] a member of the value space of the datatype, as
determined by it being Facet Valid (sect. 4.1.4) with respect to each
member of {facets} (except for pattern)."  This seems to entail that
there must be such a value, and thus constitute a requirement that the
LV mapping must succeed for an instance to be type-valid.
</i></p>
<p>
Mary Holstege's note reads:
</p>
<p>
The question is whether this instance:
</p>
<pre>
   &lt;tricky qname="unbound:something"/>
</pre>
<p>
would be invalid per this element declaration:
</p>
<pre>
   &lt;xs:element name="tricky">
     &lt;xs:complexType>
       &lt;xs:attribute name="qname" type="xs:QName"/>
     &lt;/xs:complexType>
   &lt;/xs:element>
</pre>
<p>
It is valid per the lexical rules in part 2, so the only question comes as to
where we make an appeal to their being a value and a value that we know.
</p>
<p>
The relevant clause in "Validation Rule: Datatype Valid" [3] is:
</p>
<blockquote><p>
A string is datatype-valid with respect to a datatype definition if:
</p>
<ul>
<li>   ...</li>
<li>2 the value denoted by the literal matched in the previous step is a
   member of the value space of the datatype, as determined by it being Facet
   Valid (sect. 4.1.4) with respect to each member of {facets} (except for
   pattern). </li>
</ul>
<p>this being the only clause that makes any appeal to the value space.
</p></blockquote>
<p>
Some read this as implicitly requiring you to have the value in hand in order
to do the facet check.
</p>
<p>
I read this as saying that "Facet Valid" decides whether the value is OK.
In this case, Facet Valid does not obtain, because there are no facets. 
(The clause "as determined by..." I take to be definitional.) 
</p>
<p>
Further, even if it did obtain, the difficulty with a QName with an unbound
prefix isn't that there isn't a value, it is only that you don't _know_ what it
is. So I would look at this as very much analogous to undischarged component
references, where it isn't that you know something is wrong, it is that you
don't know what the state of affairs is. And indeed, if the instance document
were a schema, and the "qname" attribute above were instead a "type" attribute,
this would be an entirely consistent view to take.
</p>
<p>
Similarly, the only place in Structures that makes an appeal to the value 
is if there is some kind of value constraint. In this case, there is no value
constraint, so again, those constraints don't apply.  I don't believe there is
any disagreement about the interpretation of the applicability of those clauses.
</p>
<p>
I did not find anywhere that explicitly requires that (a) there be a value and
(b) you know what it is. 
</p>
<p>
There is a note is 3.2.18 of Datatypes [4] that says:
</p>
<blockquote><p>
	NOTE: The mapping between literals in the lexical space and values in the
	value space of QName requires a namespace declaration to be in scope for
	the context in which QName is used. 
</p></blockquote>
<p>
Some read this as noting that you need to have an inscope namespace definition
in order to have a good QName. But again, I don't read this as compelling me to
know what the value happens to be, but only noting that indeed there are some
cases where things get sticky if you want to get your hands on the right value
in the value space.
</p>
<p>
I am not entirely sure that it is a good idea to require that there both
be a value and that you know exactly what it is in the case of QName. (And I
wonder about whether it would be a good one in some of those float/double edge
cases, too.)  I have always been uncomfortable with the pun of using the
mechanism for declaring namespace for tags to provide namespace declarations
for content (i.e. architecturally I would always prefer seeing explicit,
distinct kinds of declarations). In the context of XQuery, for example, this
gets strange, because the above instance would be valid if there were the
necessary "declare namespace..." in the prolog, even though the instance in
itself would be invalid per the putative XML Schema "must have a known value"
rules. I find that odd.
</p>
<p>
Note that once you put a value constraint on the attribute or derive a type
that adds some facets (enumerations, for example), you do run afoul of the
cited clauses, among other things. On this we all agree.
</p>
<p>
So the questions are:
</p>
<ul>
<li>(1) Do we in fact require that an instance of a simple type have a value
    to be valid? And if not, should we?</li>
<li>(2) Do we in fact require that you know what the (or a?) value of an instance
    of a simple type is in order to be valid? And if not, should we?</li>
</ul>
</item>

<item name="discussion"></item>
<item name="resolution"></item>
</issue>


</issues>
</commentset>

