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=18372>.
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=18372

<unique> constraint ignored

           Summary: <unique> constraint ignored
           Product: Xerces2-J
           Version: 2.3.0
          Platform: PC
               URL: http://http://
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: XML Schema Structures
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Having the following XML document:
<doc>
  <elm1 alias="SameAlias" />
  <elm2 alias="SameAlias" />
</doc>

and the following XSD (fragment) document:
<element name="doc">
  <unique name="alias">
    <selector xpath="elm1|elm2" />
    <field xpath="@alias" />
  </unique>
</element>

the validation is succesfull...

It appears that the xpath union expression is
ignored and only the first union member (i.e.,
elm1) is utilized.

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

Reply via email to