Uploaded image for project: 'Xerces2-J'
  1. Xerces2-J
  2. XERCESJ-1218

Composite key does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.9.0
    • 2.9.1
    • None

    Description

      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.

      Attachments

        1. keyConstraints.xml
          0.4 kB
          Sorin Ristache
        2. keyConstraints.xsd
          1 kB
          Sorin Ristache

        Activity

          People

            mrglavas@ca.ibm.com Michael Glavassevich
            sorin Sorin Ristache
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: