Mani, are you calling XmlObject.validate(XmlOptions) after you parse the document? Or is this specific example failing to validate?

Brian



Chandra, Mani wrote:

Hi All,

I have defined a UNIQUE constraint for my schema and the constraint is not validated when I parse the XML.

Any light on this?

                <xs:unique name="mykey">

                        <xs:selector xpath="Item"/>

                        <xs:field xpath="item"/>

                </xs:unique>

Thanks & Regards,

Mani


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

Reply via email to