If the {content type} of the actual type definition is a simple type definition, then the actual value of the item must match the canonical lexical representation of the {value constraint} value In the test, the value of the item does not match the specified fixed value.

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


TEST valueconstraint00901m1 - value of simple content type must match the fixed value (valid schema)

FILES

ItemValue
title valueconstraint00901m1 - value of simple content type must match the fixed value (valid schema)
name valueconstraint00901m1
source ../valueConstraint00901m1.xsd
schemaName ../valueConstraint00901m1.xsd
executeClass com.sun.jaxb_tck.sigtest.JAXBTest
executeArgs -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName valueconstraint00901m1.sig -PackageWithoutSubpackages $package
keywords schema positive
package javasoft.sqe.tests.elemdecl.valueconstraint.valueconstraint00901m.valueconstraint00901m1
signature valueconstraint00901m1.sig


TEST Positive - value of simple content type must match the fixed value (valid schema)

FILES

ItemValue
title Positive - value of simple content type must match the fixed value (valid schema)
name Positive
source ../valueConstraint00901m1.xsd
schemaName ../valueConstraint00901m1.xsd
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest
executeArgs -TestURL $testURL -package $package -out :ref -document ../valueConstraint00901m1_p.xml -pcontent valueconstraint00901m1-valueConstraint00901m1_p.jbx
keywords positive document
package javasoft.sqe.tests.elemdecl.valueconstraint.valueconstraint00901m.valueconstraint00901m1
document ../valueConstraint00901m1_p.xml
jb-context valueconstraint00901m1-valueConstraint00901m1_p.jbx


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