<unique > validation 2003-05-06 - By Sushil
I have specified unique constraint for an element in my schema document. But, when I validate schema instance documents against this schema using Xerces 2 Java Parser 2.4, error is not shown for the same value specified for the element i.e. supposed to be unique.
Does anyone know whether this is a known issue or suggest something that I may be doing wrong?
PS XML SPY 5.0 is showing error correctly.
Thanks in advance,
Sushil
********************************************************* Disclaimer
This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.
********************************************************* Visit us at http://www.mahindrabt.com
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 5.50.4807.2300" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2> <DIV><FONT face=Arial size=2>I have specified unique constraint for an element in my schema document. But, when I validate schema instance documents against this schema using Xerces 2 Java Parser 2.4, error is not shown for the same value specified for the element i.e. supposed to be unique.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Does anyone know whether this is a known issue or suggest something that I may be doing wrong?</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>PS XML SPY 5.0 is showing error correctly.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Thanks in advance,</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Sushil</FONT></DIV></FONT></DIV></BODY></HTML>
<html> <br> *********************************************************<br> Disclaimer<br> <br> This message (including any attachments) contains <br> confidential information intended for a specific <br> individual and purpose, and is protected by law. <br> If you are not the intended recipient, you should <br> delete this message and are hereby notified that <br> any disclosure, copying, or distribution of this<br> message, or the taking of any action based on it, <br> is strictly prohibited.<br> <br> *********************************************************<br> Visit us at http://www.mahindrabt.com<br> <br> </html>
|
|