TEST testCase0001 - XmlType

DESCRIPTION

Positive test. Assertion from Jakarta XML Binding Specification - @XmlType {target namespace}: If the class contains a single mapped property or field that is annotated with @XmlValue then class must be mapped as specified: Mapping: Class to Simple Type Definition {target namespace} is equal to XmlType.namespace(). XmlSchema.namespace is ignored.

FILES

ItemValue
title testCase0001 - XmlType
name testCase0001
source package-info.java NameSpace014s.java NameSpace014.p.xml
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.J2XRuntimeTest
keywords positive runtime jaxb rtgen
executeArgs -out $testWorkDir -class javasoft.sqe.tests.java2schema.CustomizedMapping.classes.XmlType.namespace.NameSpace014s -j package-info.java:NameSpace014s.java -d NameSpace014.p.xml -TestURL $testURL


TEST testCase0002 - XmlType

DESCRIPTION

Negative test. Assertion from Jakarta XML Binding Specification - @XmlType {target namespace}: If the class contains a single mapped property or field that is annotated with @XmlValue then class must be mapped as specified: Mapping: Class to Simple Type Definition {target namespace} is equal to XmlType.namespace(). XmlSchema.namespace is ignored.

FILES

ItemValue
title testCase0002 - XmlType
name testCase0002
source package-info.java NameSpace014s.java NameSpace014.n.xml
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.J2XRuntimeTest
keywords positive runtime jaxb rtgen
executeArgs -out $testWorkDir -class javasoft.sqe.tests.java2schema.CustomizedMapping.classes.XmlType.namespace.NameSpace014s -j package-info.java:NameSpace014s.java -n -d NameSpace014.n.xml -TestURL $testURL


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