Define an elements with fixed value defined. Ensure that the value may be empty or, otherwise, must be equal to that defined.

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


TEST valueconstraint00201m - Validation of the fixed value attribute. (valid schema)

FILES

ItemValue
title valueconstraint00201m - Validation of the fixed value attribute. (valid schema)
name valueconstraint00201m
source ../valueConstraint00201m.xsd
schemaName ../valueConstraint00201m.xsd
executeClass com.sun.jaxb_tck.sigtest.JAXBTest
executeArgs -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName valueconstraint00201m.sig -PackageWithoutSubpackages $package
keywords schema positive
package javasoft.sqe.tests.elemdecl.valueconstraint.valueconstraint00201m.valueconstraint00201m
signature valueconstraint00201m.sig


TEST valueConstraint00201m1_p - Validation of the fixed value attribute. (valid schema)

FILES

ItemValue
title valueConstraint00201m1_p - Validation of the fixed value attribute. (valid schema)
name valueConstraint00201m1_p
source ../valueConstraint00201m.xsd
schemaName ../valueConstraint00201m.xsd
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest
executeArgs -TestURL $testURL -package $package -out :ref -document ../valueConstraint00201m1_p.xml -pcontent valueconstraint00201m-valueConstraint00201m1_p.jbx
keywords positive document
package javasoft.sqe.tests.elemdecl.valueconstraint.valueconstraint00201m.valueconstraint00201m
document ../valueConstraint00201m1_p.xml
jb-context valueconstraint00201m-valueConstraint00201m1_p.jbx


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