<div>It sounds you have accepted my &quot;feature request&quot;, aha?</div>
<div>Thanks a lot! :)<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 5/16/08, <b class="gmail_sendername">Mark Overmeer</b> &lt;<a href="mailto:mark@overmeer.net">mark@overmeer.net</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>Other people&#39;s input welcome!<br><br>* MENG Xin (<a href="mailto:zinces@gmail.com">zinces@gmail.com</a>) [080515 09:54]:<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;I&#39;m not very familar about spec. Here is text from XML Schema 2nd Edtion,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;O&#39;Reilly, ISBN 0-596-00252-1, chapter 16 Datatype Reference Guide, xs:ID<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;section:<br><br>Well, that&#39;s second-hand info.<br>
The XML-Schema spec is at <a href="http://www.w3.org/TR/xmlschema-2/#ID">http://www.w3.org/TR/xmlschema-2/#ID</a> and<br>says really nothing useful:<br>3.3.8 ID<br>[Definition:] ID represents the ID attribute type from [XML 1.0 (Second<br>
Edition)]. The ·value space· of ID is the set of all strings that<br>·match· the NCName production in [Namespaces in XML]. The ·lexical<br>space· of ID is the set of all strings that ·match· the NCName<br>production in [Namespaces in XML]. The ·base type· of ID is NCName.<br>
<br>The XML 1.0 spec says:<br><br><a href="http://www.w3.org/TR/2000/WD-xml-2e-20000814">http://www.w3.org/TR/2000/WD-xml-2e-20000814</a><br>Validity constraint: ID<br>&nbsp;&nbsp;&nbsp;&nbsp;Values of type ID must match the Name production. A name must not<br>
&nbsp;&nbsp;&nbsp;&nbsp;appear more than once in an XML document as a value of this type;<br>&nbsp;&nbsp;&nbsp;&nbsp;i.e., ID values must uniquely identify the elements which bear them.<br><br>The RFC definition of &quot;must&quot; is less strong than &quot;shall&quot;.&nbsp;&nbsp;The former<br>
means: &quot;should be, but not deadly&quot;, where the latter means: error.<br>I do not known how to interpret the XML use of the word &quot;must&quot;.<br><br>Anyone else: what is correct behavior?&nbsp;&nbsp;An error or warning on double<br>
IDs, of simply ignore it?<br><br>&gt; And I know that validator integrated in oXygen XML editor for Eclipse also<br>&gt; does such task.<br>&gt; So I guess validators should guarantee the unique restriction of xs:ID.<br>&gt; After all, it is not difficult to implement, right?<br>
<br>&gt; I quote the correct behavior is just to show my superise: xs:pattern based<br>&gt; on xs:ID can be checked perfectly, but xs:ID itself is not checked. That&#39;s<br>&gt; all.<br><br>There are quite some different needs from checking seperate values against<br>
some rules (very locally) and document global ID administration.&nbsp;&nbsp;Although<br>the second is possible (of course).<br><br>--<br>Regards,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MarkOv<br><br>------------------------------------------------------------------------<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Mark Overmeer MSc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MARKOV Solutions<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Mark@Overmeer.net&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:solutions@overmeer.net">solutions@overmeer.net</a><br><a href="http://Mark.Overmeer.net">http://Mark.Overmeer.net</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://solutions.overmeer.net">http://solutions.overmeer.net</a><br>
<br></blockquote></div><br>