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

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME



------- Additional Comments From [EMAIL PROTECTED]  2003-03-26 22:17 -------
Hi Petr.  Withe the attached schema, I received the following error
while validating your instance:

[Error] 18372.xml:4:29: Duplicate unique value [ID Value:  SameAlias] declared 
for identity constraint of element "doc".

So I think something else is wrong in your schema...

<schema xmlns="http://www.w3.org/2001/XMLSchema";>
<element name="doc">
  <complexType>
    <choice maxOccurs="50">
        <element name="elm1">
            <complexType>
                <sequence>
                </sequence>
                <attribute name="alias" type="string"/>
            </complexType>
        </element>
        <element name="elm2">
            <complexType>
                <sequence>
                </sequence>
                <attribute name="alias" type="string"/>
            </complexType>
        </element>
    </choice>
  </complexType>
  <unique name="alias">
    <selector xpath="elm1|elm2" />
    <field xpath="@alias" />
  </unique>
</element>
</schema>

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

Reply via email to