A {content type} with the distinguished value empty *validates* elements with no character or element information item [children].

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


TEST contenttype00101m - An empty content type (valid schema)

FILES

ItemValue
title contenttype00101m - An empty content type (valid schema)
name contenttype00101m
source ../contentType00101m.xsd
schemaName ../contentType00101m.xsd
executeClass com.sun.jaxb_tck.sigtest.JAXBTest
executeArgs -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName contenttype00101m.sig -PackageWithoutSubpackages $package
keywords schema positive
package javasoft.sqe.tests.ctype.contenttype.contenttype00101m.contenttype00101m
signature contenttype00101m.sig


TEST contentType00101m1_p - An empty content type (valid schema)

FILES

ItemValue
title contentType00101m1_p - An empty content type (valid schema)
name contentType00101m1_p
source ../contentType00101m.xsd
schemaName ../contentType00101m.xsd
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest
executeArgs -TestURL $testURL -package $package -out :ref -document ../contentType00101m1_p.xml -pcontent contenttype00101m-contentType00101m1_p.jbx
keywords positive document
package javasoft.sqe.tests.ctype.contenttype.contenttype00101m.contenttype00101m
document ../contentType00101m1_p.xml
jb-context contenttype00101m-contentType00101m1_p.jbx


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