The equality and inequality conditions appealed to in checking these constraints apply to the value of the fields selected, so that for example 3.0 and 3 would be conflicting keys if they were both number, but non-conflicting if they were both strings, or one was a string and one a number. In the test the fields have local type string and values "3.0" and "3.0".
http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cIdentity-constraint_Definitions
TEST fields00203m5 - values of the fields are checked for equality: string(3.0) compares with string(3.0) (valid schema)
Item | Value |
---|---|
title | fields00203m5 - values of the fields are checked for equality: string(3.0) compares with string(3.0) (valid schema) |
name | fields00203m5 |
source | ../fields00203m5.xsd |
schemaName | ../fields00203m5.xsd |
executeClass | com.sun.jaxb_tck.sigtest.JAXBTest |
executeArgs | -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName fields00203m5.sig -PackageWithoutSubpackages $package |
keywords | schema positive |
package | javasoft.sqe.tests.idconstrdefs.fields.fields00203m.fields00203m5 |
signature | fields00203m5.sig |