W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2008

[Bug 5023] Relationship between identity constraints and assertions

From: <bugzilla@wiggum.w3.org>
Date: Wed, 23 Jan 2008 22:03:31 +0000
CC:
To: www-xml-schema-comments@w3.org
Message-Id: <E1JHngx-0006mB-DR@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5023





------- Comment #1 from cmsmcq@w3.org  2008-01-23 22:03 -------
Thanks for the comment.

Speaking for myself, I think you are right that there is overlap in the
functionality of the two constructs, and that a note in the spec pointing
among other things to the differences you mention might be in order.

I suspect that the Working Group is unlikely to want to make the recommendation
you suggest in your second paragraph; because identity constraints are 
weaker than assertions, they can (at least in theory) be simpler for 
some schema authors to use.  And some implementations may be able to exploit
the relative weakness of identity constraints to optimize them in a way that
it might be difficult to match for the corresponding assertions.   
Received on Wednesday, 23 January 2008 22:03:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:12 GMT