TEST testCase0001 - XmlType

DESCRIPTION

Positive test. Assertion from Jakarta XML Binding Specification - @XmlType {target namespace}: Mapping: Class to Complex Type Definition If @XmlType.namespace() is ?##default? and @XmlType.name() is empty string and class is not annotated with @XmlRootElement, then the {target namespace} of the attribute or element to which the property or field, from where this class is referenced, is mapped.

FILES

ItemValue
title testCase0001 - XmlType
name testCase0001
source NameSpace003c.java NameSpace003d.java NameSpace003d/package-info.java NameSpace003.p.xml
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.SchemaGenTest
keywords positive java_to_schema runtime jaxb
executeArgs -j NameSpace003c.java:NameSpace003d.java:NameSpace003d/package-info.java -d NameSpace003.p.xml -TestURL $testURL
selectIf toTestOptionalSchemagen


TEST testCase0002 - XmlType

DESCRIPTION

Negative test. Assertion from Jakarta XML Binding Specification - @XmlType {target namespace}: Mapping: Class to Complex Type Definition If @XmlType.namespace() is ?##default? and @XmlType.name() is empty string and class is not annotated with @XmlRootElement, then the {target namespace} of the attribute or element to which the property or field, from where this class is referenced, is mapped.

FILES

ItemValue
title testCase0002 - XmlType
name testCase0002
source NameSpace003c.java NameSpace003d.java NameSpace003d/package-info.java NameSpace003.n.xml
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.SchemaGenTest
keywords positive java_to_schema runtime jaxb
executeArgs -j NameSpace003c.java:NameSpace003d.java:NameSpace003d/package-info.java -n -d NameSpace003.n.xml -TestURL $testURL
selectIf toTestOptionalSchemagen


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