Attribute declared with fixed value may not have another value in an instance document.

http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cAttribute_Declarations


TEST ad_valconstr00101m - Attribute with fixed value is declared within element by reference (valid schema)

FILES

ItemValue
title ad_valconstr00101m - Attribute with fixed value is declared within element by reference (valid schema)
name ad_valconstr00101m
source ../AD_valConstr00101m.xsd
schemaName ../AD_valConstr00101m.xsd
executeClass com.sun.jaxb_tck.sigtest.JAXBTest
executeArgs -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName ad_valconstr00101m.sig -PackageWithoutSubpackages $package
keywords schema positive
package javasoft.sqe.tests.attrdecl.ad_valconstr.ad_valconstr00101m.ad_valconstr00101m
signature ad_valconstr00101m.sig


TEST AD_valConstr00101m1_p - Attribute with fixed value is declared within element by reference (valid schema)

FILES

ItemValue
title AD_valConstr00101m1_p - Attribute with fixed value is declared within element by reference (valid schema)
name AD_valConstr00101m1_p
source ../AD_valConstr00101m.xsd
schemaName ../AD_valConstr00101m.xsd
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest
executeArgs -TestURL $testURL -package $package -out :ref -document ../AD_valConstr00101m1_p.xml -pcontent ad_valconstr00101m-AD_valConstr00101m1_p.jbx
keywords positive document
package javasoft.sqe.tests.attrdecl.ad_valconstr.ad_valconstr00101m.ad_valconstr00101m
document ../AD_valConstr00101m1_p.xml
jb-context ad_valconstr00101m-AD_valConstr00101m1_p.jbx


%Copyright% © 2017, 2020 Oracle and/or its affiliates. All rights reserved.