Attribute declared with fixed value may not have another value in an instance document.
http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cAttributeUse
TEST au_valconstr00101m1 - Attribute with fixed value is declared within element by reference (valid schema)
Item | Value |
---|---|
title | au_valconstr00101m1 - Attribute with fixed value is declared within element by reference (valid schema) |
name | au_valconstr00101m1 |
source | ../AU_valConstr00101m1.xsd |
schemaName | ../AU_valConstr00101m1.xsd |
executeClass | com.sun.jaxb_tck.sigtest.JAXBTest |
executeArgs | -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName au_valconstr00101m1.sig -PackageWithoutSubpackages $package |
keywords | schema positive |
package | javasoft.sqe.tests.attruse.au_valconstr.au_valconstr00101m.au_valconstr00101m1 |
signature | au_valconstr00101m1.sig |
TEST Positive - Attribute with fixed value is declared within element by reference (valid schema)
Item | Value |
---|---|
title | Positive - Attribute with fixed value is declared within element by reference (valid schema) |
name | Positive |
source | ../AU_valConstr00101m1.xsd |
schemaName | ../AU_valConstr00101m1.xsd |
executeClass | javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest |
executeArgs | -TestURL $testURL -package $package -out :ref -document ../AU_valConstr00101m1_p.xml -pcontent au_valconstr00101m1-AU_valConstr00101m1_p.jbx |
keywords | positive document |
package | javasoft.sqe.tests.attruse.au_valconstr.au_valconstr00101m.au_valconstr00101m1 |
document | ../AU_valConstr00101m1_p.xml |
jb-context | au_valconstr00101m1-AU_valConstr00101m1_p.jbx |