Re: Question about uniqueness

> Actually, XML Spy is the only one that now picks up on the duplicate
> key. MSXML and XSV are still silent (which I think is correct)

You're right, I have now prefixed all my XPaths. On the other hand MSXML now
(unjustly) complains about duplicate key sequences for constraints that
contain a field that evaluates to the current node (dot), but this is
probably a bug as well?

<xsd:unique name="uniqueAccession">
 <xsd:selector xpath="expasy:accession"/>
 <xsd:field xpath="."/>
</xsd:unique>

<accessions>
  <accession>P12345</accession>
  <accession>P23456</accession>
  <accession>P34567</accession>
</accessions>


--
Eric Jain

Received on Wednesday, 11 September 2002 05:25:20 UTC