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 |
src04.java pos01_1.xml |
| executeClass |
javasoft.sqe.tests.api.jakarta.xml.bind.SchemaGenTest |
| keywords |
positive java_to_schema runtime jaxb |
| executeArgs |
-j src04.java -d pos01_1.xml -TestURL $testURL |
| selectIf |
toTestOptionalSchemagen |
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 |
src04.java neg01_1.xml |
| executeClass |
javasoft.sqe.tests.api.jakarta.xml.bind.SchemaGenTest |
| keywords |
positive java_to_schema runtime jaxb |
| executeArgs |
-j src04.java -n -d neg01_1.xml -TestURL $testURL |
| selectIf |
toTestOptionalSchemagen |
%Copyright% © 2017, 2020 Oracle and/or its affiliates. All rights reserved.