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 bu...@apache.org on 2002/08/16 22:25:56 UTC
DO NOT REPLY [Bug 7315] -
unique Identity constraint fails
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7315>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7315
unique Identity constraint fails
neilg@ca.ibm.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
------- Additional Comments From neilg@ca.ibm.com 2002-08-16 20:25 -------
Hello. A few things:
1. The default namespace prefix cannot be bound to a namespace in XPath. So
to make your schema work, I had to bind an explicit prefix to your target
namespace and modify the selector's xpath to use that new prefix.
The recent fix I've put down for bug 11571 also appears to fix this bug; if a
<unique> is defined on the local, recursive element, the duplicate testRecord6
is detected.
3. Note that the global COMSrecord element declaration is distinct from the
local one; the identity constraint defined on the global declaration doesn't
apply to the local one. You'd have to use a ref to make the local occurrence
use the same declaration.
Please either build Xerces from CVS, or pick up one of the nightly gump runs (a
linke provided from xerces2's main page) to see if the fix works for you.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org