Declare an attribute of a type derived from ID. Declare an attribute of a type derived from IDREFS. Ensure that the second attribute is not allowed to refer to a values that are not defined by the first attribute.

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


TEST idconstrdefs00403m - derived IDREFS must refer to IDs that are defined (valid schema)

FILES

ItemValue
title idconstrdefs00403m - derived IDREFS must refer to IDs that are defined (valid schema)
name idconstrdefs00403m
source ../idConstrDefs00403m.xsd
schemaName ../idConstrDefs00403m.xsd
executeClass com.sun.jaxb_tck.sigtest.JAXBTest
executeArgs -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName idconstrdefs00403m.sig -PackageWithoutSubpackages $package
keywords schema positive
package javasoft.sqe.tests.elemdecl.identityconstraintdefs.idconstrdefs00403m.idconstrdefs00403m
signature idconstrdefs00403m.sig


TEST idConstrDefs00403m1_p - derived IDREFS must refer to IDs that are defined (valid schema)

FILES

ItemValue
title idConstrDefs00403m1_p - derived IDREFS must refer to IDs that are defined (valid schema)
name idConstrDefs00403m1_p
source ../idConstrDefs00403m.xsd
schemaName ../idConstrDefs00403m.xsd
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest
executeArgs -TestURL $testURL -package $package -out :ref -document ../idConstrDefs00403m1_p.xml -pcontent idconstrdefs00403m-idConstrDefs00403m1_p.jbx
keywords positive document
package javasoft.sqe.tests.elemdecl.identityconstraintdefs.idconstrdefs00403m.idconstrdefs00403m
document ../idConstrDefs00403m1_p.xml
jb-context idconstrdefs00403m-idConstrDefs00403m1_p.jbx


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