TEST testCase0001 - XmlElementRef
DESCRIPTION
JAXB:SPEC:J2S:0219
A field or property annotated with the @XmlElementRef annotation must be mapped as follows:
If the type of the property or field is a parametric type, then
it must be mapped as specified in Table 8-19, "Mapping: Property/Field (parametric type) to choice particle," :
{min occurs} ::=
0
FILES
| Item | Value |
| title |
testCase0001 - XmlElementRef |
| name |
testCase0001 |
| source |
src09.java pos09_1.xml |
| executeClass |
javasoft.sqe.tests.api.jakarta.xml.bind.SchemaGenTest |
| keywords |
runtime positive java_to_schema jaxb |
| executeArgs |
-j src09.java -d pos09_1.xml -TestURL $testURL |
| selectIf |
toTestOptionalSchemagen |
TEST testCase0002 - XmlElementRef
DESCRIPTION
JAXB:SPEC:J2S:0220
A field or property annotated with the @XmlElementRef annotation must be mapped as follows:
If the type of the property or field is a parametric type, then
it must be mapped as specified in Table 8-19, "Mapping: Property/Field (parametric type) to choice particle," :
max occurs} ::=
unbounded
FILES
| Item | Value |
| title |
testCase0002 - XmlElementRef |
| name |
testCase0002 |
| source |
src09.java pos09_2.xml |
| executeClass |
javasoft.sqe.tests.api.jakarta.xml.bind.SchemaGenTest |
| keywords |
runtime positive java_to_schema jaxb |
| executeArgs |
-j src09.java -d pos09_2.xml -TestURL $testURL |
| selectIf |
toTestOptionalSchemagen |
TEST testCase0003 - XmlElementRef
DESCRIPTION
JAXB:SPEC:J2S:0219
A field or property annotated with the @XmlElementRef annotation must be mapped as follows:
If the type of the property or field is a parametric type, then
it must be mapped as specified in Table 8-19, "Mapping: Property/Field (parametric type) to choice particle," :
{min occurs} ::=
0
FILES
| Item | Value |
| title |
testCase0003 - XmlElementRef |
| name |
testCase0003 |
| source |
src09.java pos09_3.xml |
| executeClass |
javasoft.sqe.tests.api.jakarta.xml.bind.SchemaGenTest |
| keywords |
runtime positive java_to_schema jaxb |
| executeArgs |
-j src09.java -d pos09_3.xml -TestURL $testURL |
| selectIf |
toTestOptionalSchemagen |
%Copyright% © 2017, 2020 Oracle and/or its affiliates. All rights reserved.