[ 
https://issues.apache.org/jira/browse/XERCESJ-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Glavassevich resolved XERCESJ-1218.
-------------------------------------------

    Resolution: Fixed

The e2/@a2 field matches multiple times within the scope of the matched 
selector.  This is the error that Xerces was failing to detect.  It stopped 
matching the field XPath for each e1 after it found the first instance of 
e2/@a2.  I just committed a fix to SVN.  Can you please verify?  Thanks.

> Composite key does not work
> ---------------------------
>
>                 Key: XERCESJ-1218
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1218
>             Project: Xerces2-J
>          Issue Type: Bug
>          Components: XML Schema Structures
>    Affects Versions: 2.9.0
>            Reporter: Sorin Ristache
>         Assigned To: Michael Glavassevich
>         Attachments: keyConstraints.xml, keyConstraints.xsd
>
>
> In the attached sample schema the identity constraint set with the key named 
> "checkAttrib" is not checked when the attached XML instance is validated 
> against the sample schema. The validation should fail because there are 
> elements e1 fo which the pair (@a1, e2/@a2) has duplicate values. The XML 
> Schema specification say that the key is declared correctly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to