![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - schema design for one element, multiple types >Thread Next - SV: SV: Schema help unique constraint interpretation.To: <xmlschema-dev@--.---> Date: 11/9/2005 4:31:00 AM
Hi,
=0D
The below is the comment from Xerces parser BUG 18405 report:
==========================
========================0D
"3 For each node in the
=B7target node set=B7
all of the
{fields},
with that node as the context node, evaluate to either an empty node-set or=
a=0D
node-set with exactly one member, which must have a simple type."
The target node set is the set of nodes on which the selector is matched. =
Note=0D
that this condition must hold for *any* identity constraint; only in bullet=
4=0D
of the tableau are the differences between key and unique described. =0D
Therefore, it seems clear that, if a selector matches, then either all of=
the=0D
fields must match or none of them must match; even for xsd:unique, you=
can't=0D
have some fields matching.
==========================
==========================
=======
=0D
Especially I'm interested in the conclusion:
=0D
"Therefore, it seems clear that, if a selector matches, then either all of=
the=0D
fields must match or none of them must match; even for xsd:unique, you=
can't=0D
have some fields matching."
=0D
Is this a correct interpretation of unique constraint?=0D
=0D
Regards,
Eugene
=0D
This e-mail and any attachments may contain confidential information. Any=0D
distributing, copying or reliance upon the contents of this e-mail by=
anyone other=0D
than the intended recipient is strictly prohibited. If you have received=
this e-mail=0D
accidentally, please delete it and notify the sender. Although this message=
has been=0D
screened for viruses, we cannot guarantee that our virus scanner will=
detect all=0D
viruses and take no responsibility for any damage or loss that may be=
caused by its=0D
contents. | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
