You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by George Cristian Bina <ge...@sync.ro> on 2003/11/17 14:21:25 UTC

UniqueNotEnoughValues should be removed ?

Hi,

XMLSchemaMessages - line 29
UniqueNotEnoughValues = Not enough values specified for <unique> identity
constraint specified for element \"{0}\".

The current Xerces behavior is to rise this error when a multifield
uniqueness constraint does not have values for all the {fields} but just for
some of them. Looking in the XML Schema Part 1: Structures specification I
cannot see a match for this error. It seems to me that according with the
specification a node from the "target node set" that does not have values
for all the {fields} will just not belong to the "qualified node set" and
thus it should be ignored by the uniqueness constraint which checks the
nodes from the "qualified node set".

http://www.w3.org/TR/xmlschema-1/#section-Identity-constraint-Definition-Val
idation-Rules

Please let me know if I'm wrong.

Thank you,
 George
-------------------------------------------------------------
George Cristian Bina mailto:george@oxygenxml.com
<oXygen/> XML Editor - http://www.oxygenxml.com/




---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org