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/11/07 12:41:15 UTC

DO NOT REPLY [Bug 14347] New: - Uniqueness not check when using XPath union operator

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

Uniqueness not check when using XPath union operator

           Summary: Uniqueness not check when using XPath union operator
           Product: Xerces-J
           Version: 1.4.4
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Schema-Structures
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: benjamin.sagar@environment-agency.gov.uk


When specifying uniqueness in a schema with a selector that is using the XPath 
union operator the parser doesn't check for uniqueness.

ie:
<xsd:unique name="SomeName">
  <xsd:selector xpath="SomeElement1|SomeElement2"/>
  <xsd:field xpath="@someAttribute"/>
</xsd:unique>

Where we have:

<RootElement>
  <SomeElement1 someAttribute="1"/>
  <SomeElement2 someAttribute="1"/>
</RootElement>

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org