TEST testCase0001 - XmlElementWrapper
DESCRIPTION
JAXB:SPEC:J2S:0236(0237)
A field or property annotated with the @XmlElementWrapper annotation must be mapped as follows:
If @XmlElementWrapper.namespace() is not "##default" and different from the {target namespace} of the enclosing class, then
it must be mapped as specified as specified in Section Table 8-25, "Mapping: Property/field Element Wrapper with ref attribute,":
{min occurs} ::= 1 {max occurs} ::= 1
FILES
| Item | Value |
| title |
testCase0001 - XmlElementWrapper |
| name |
testCase0001 |
| source |
src11.java pos10_1.xml |
| executeClass |
javasoft.sqe.tests.api.jakarta.xml.bind.SchemaGenTest |
| keywords |
runtime positive java_to_schema jaxb |
| executeArgs |
-j src11.java -d pos10_1.xml -TestURL $testURL |
| selectIf |
toTestOptionalSchemagen |
TEST testCase0002 - XmlElementWrapper
DESCRIPTION
JAXB:SPEC:J2S:0236(0237)
A field or property annotated with the @XmlElementWrapper annotation must be mapped as follows:
If @XmlElementWrapper.namespace() is not "##default" and different from the {target namespace} of the enclosing class, then
it must be mapped as specified as specified in Section Table 8-25, "Mapping: Property/field Element Wrapper with ref attribute,":
{min occurs} ::= 1 {max occurs} ::= 1
FILES
| Item | Value |
| title |
testCase0002 - XmlElementWrapper |
| name |
testCase0002 |
| source |
src11.java neg11_1.xml |
| executeClass |
javasoft.sqe.tests.api.jakarta.xml.bind.SchemaGenTest |
| keywords |
runtime positive java_to_schema jaxb |
| executeArgs |
-j src11.java -n -d neg11_1.xml -TestURL $testURL |
| selectIf |
toTestOptionalSchemagen |
TEST testCase0003 - XmlElementWrapper
DESCRIPTION
JAXB:SPEC:J2S:0236(0237)
A field or property annotated with the @XmlElementWrapper annotation must be mapped as follows:
If @XmlElementWrapper.namespace() is not "##default" and different from the {target namespace} of the enclosing class, then
it must be mapped as specified as specified in Section Table 8-25, "Mapping: Property/field Element Wrapper with ref attribute,":
{min occurs} ::= 1 {max occurs} ::= 1
FILES
| Item | Value |
| title |
testCase0003 - XmlElementWrapper |
| name |
testCase0003 |
| source |
src11.java neg11_2.xml |
| executeClass |
javasoft.sqe.tests.api.jakarta.xml.bind.SchemaGenTest |
| keywords |
runtime positive java_to_schema jaxb |
| executeArgs |
-j src11.java -n -d neg11_2.xml -TestURL $testURL |
| selectIf |
toTestOptionalSchemagen |
%Copyright% © 2017, 2020 Oracle and/or its affiliates. All rights reserved.