TEST testCase0001 - XmlValue
DESCRIPTION
Positive test. JAXB2.0 spec, 8.9.10.2:
If the type of the field or property is a collection type, then the collection
item type must map to a simple schema type.
FILES
| Item | Value |
| title |
testCase0001 - XmlValue |
| name |
testCase0001 |
| source |
src05.java pos01_1.xml |
| executeClass |
javasoft.sqe.tests.api.jakarta.xml.bind.J2XRuntimeTest |
| keywords |
positive runtime jaxb rtgen |
| executeArgs |
-out $testWorkDir -class javasoft.sqe.tests.java2schema.CustomizedMapping.property_fields.XmlValue.src05.src -j src05.java -d pos01_1.xml -TestURL $testURL |
TEST testCase0002 - XmlValue
DESCRIPTION
Negative test. JAXB2.0 spec, 8.9.10.2:
If the type of the field or property is a collection type, then the collection
item type must map to a simple schema type.
FILES
| Item | Value |
| title |
testCase0002 - XmlValue |
| name |
testCase0002 |
| source |
src05.java neg01_1.xml |
| executeClass |
javasoft.sqe.tests.api.jakarta.xml.bind.J2XRuntimeTest |
| keywords |
positive runtime jaxb rtgen |
| executeArgs |
-out $testWorkDir -class javasoft.sqe.tests.java2schema.CustomizedMapping.property_fields.XmlValue.src05.src -j src05.java -n -d neg01_1.xml -TestURL $testURL |
TEST testCase0003 - XmlValue
DESCRIPTION
Positive test. JAXB2.0 spec, 8.9.10.3:
If the type of the property or field is a collection type, then the type must
be must be mapped as specified in Table 8-31, "@XmlValue: Mapping
to list simple type," on page 263".
FILES
| Item | Value |
| title |
testCase0003 - XmlValue |
| name |
testCase0003 |
| source |
src05.java pos05_1.xml |
| executeClass |
javasoft.sqe.tests.api.jakarta.xml.bind.J2XRuntimeTest |
| keywords |
positive runtime jaxb rtgen |
| executeArgs |
-out $testWorkDir -class javasoft.sqe.tests.java2schema.CustomizedMapping.property_fields.XmlValue.src05.src -j src05.java -d pos05_1.xml -TestURL $testURL |
%Copyright% © 2017, 2020 Oracle and/or its affiliates. All rights reserved.