Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - Re: Uniqueness and case sensitivity [Thread Next] Re: Uniqueness and case sensitivityTo: Jeff Dahl <jddahl@------.---> Date: 4/12/2004 6:25:00 AM I missed that your two questions were of opposite polarity. >>> Shouldn't unique be case-sensitive? Yes, because of the material your cited earlier. >>> Given the following XML segment: >>> >>> <foos> >>> <foo id="1490" name="myName"/> >>> <foo id="9091" name="myNAME"/> >>> </foos> >>> >>> shouldn't a uniqueness constraint ... throw an error? No, because unique is case-sensitive, and so 'myName' and 'myNAME' are different. xan >> Yes, and I don't see any other problems with your example. Are you >> sure your processor enforces identity constraints? > > Using the sample program, sax.Counter, of Xerces 2.6.2 with the flags, > -v -s -f -np, will throw: > 'Duplicate unique value [myNAME] declared for identity constraint of > element "foos".' > when the case is the same. From kal@t... Tue Apr 13 05:01:13 2004 Return- | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
