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 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Additional Comments From [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
