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

ItemValue
title testCase0001 - XmlValue
name testCase0001
source src05.java pos01_1.xml
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.SchemaGenTest
keywords positive runtime java_to_schema jaxb
executeArgs -j src05.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

ItemValue
title testCase0002 - XmlValue
name testCase0002
source src05.java neg01_1.xml
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.SchemaGenTest
keywords positive runtime java_to_schema jaxb
executeArgs -j src05.java -n -d neg01_1.xml -TestURL $testURL
selectIf toTestOptionalSchemagen


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

ItemValue
title testCase0003 - XmlValue
name testCase0003
source src05.java pos05_1.xml
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.SchemaGenTest
keywords positive runtime java_to_schema jaxb
executeArgs -j src05.java -d pos05_1.xml -TestURL $testURL
selectIf toTestOptionalSchemagen


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