TEST testCase0001 - XmlElement

DESCRIPTION

Jakarta XML Binding specification assertion: JAXB:SPEC:J2S:0063
@XmlType is used to map a Java class to a schema type.
The schema type is computed from its annotation element values.
If a class annotated with the @XmlType annotation, then the following mapping constraints must be enforced:
If factoryClass() is other than DEFAULT.class, then factoryMethod() must be specified (i.e. the default value "" cannot be used.)

FILES

ItemValue
title testCase0001 - XmlElement
name testCase0001
source package-info.java Constraint006a.java Constraint006b.java Constraint006.p.xml
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.J2XRuntimeTest
keywords positive runtime jaxb rtgen
executeArgs -out $testWorkDir -class CustomizedMapping.classes.XmlType.constraint.Constraint006a -class CustomizedMapping.classes.XmlType.constraint.Constraint006b -j package-info.java:Constraint006a.java:Constraint006b.java -d Constraint006.p.xml -TestURL $testURL


TEST testCase0002 - XmlElement

DESCRIPTION

Jakarta XML Binding specification assertion: JAXB:SPEC:J2S:0063
@XmlType is used to map a Java class to a schema type.
The schema type is computed from its annotation element values.
If a class annotated with the @XmlType annotation, then the following mapping constraints must be enforced:
If factoryClass() is other than DEFAULT.class, then factoryMethod() must be specified (i.e. the default value "" cannot be used.)

FILES

ItemValue
title testCase0002 - XmlElement
name testCase0002
source package-info.java Constraint006a.java Constraint006b.java Constraint006.n.xml
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.J2XRuntimeTest
keywords positive runtime jaxb rtgen
executeArgs -out $testWorkDir -class CustomizedMapping.classes.XmlType.constraint.Constraint006a -class CustomizedMapping.classes.XmlType.constraint.Constraint006b -j package-info.java:Constraint006a.java:Constraint006b.java -n -d Constraint006.n.xml -TestURL $testURL


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