Declare an element. Specify the following: type="derivedFromID". Check that the declaration is valid.

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


TEST valueconstraint01001m4 - no value constraint with a type derived from ID (valid schema)

FILES

ItemValue
title valueconstraint01001m4 - no value constraint with a type derived from ID (valid schema)
name valueconstraint01001m4
source ../valueConstraint01001m4.xsd
schemaName ../valueConstraint01001m4.xsd
executeClass com.sun.jaxb_tck.sigtest.JAXBTest
executeArgs -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName valueconstraint01001m4.sig -PackageWithoutSubpackages $package
keywords schema positive
package javasoft.sqe.tests.elemdecl.valueconstraint.valueconstraint01001m.valueconstraint01001m4
signature valueconstraint01001m4.sig


TEST Positive - no value constraint with a type derived from ID (valid schema)

FILES

ItemValue
title Positive - no value constraint with a type derived from ID (valid schema)
name Positive
source ../valueConstraint01001m4.xsd
schemaName ../valueConstraint01001m4.xsd
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest
executeArgs -TestURL $testURL -package $package -out :ref -document ../valueConstraint01001m4_p.xml -pcontent valueconstraint01001m4-valueConstraint01001m4_p.jbx
keywords positive document
package javasoft.sqe.tests.elemdecl.valueconstraint.valueconstraint01001m.valueconstraint01001m4
document ../valueConstraint01001m4_p.xml
jb-context valueconstraint01001m4-valueConstraint01001m4_p.jbx


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