TEST testCase0001 - XmlElement

DESCRIPTION

Positive test. Assertion from Jakarta XML Binding Specification - @XmlRootElement {target namespace}: Mapping: Class to Element Declaration if @XmlRootElement.namespace() is not ?##default?, then the XML {target namespace} is equal to @XmlRootElement.namespace()

FILES

ItemValue
title testCase0001 - XmlElement
name testCase0001
source NameSpace001.java NameSpace001.p.xml
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.SchemaGenTest
keywords positive java_to_schema runtime jaxb
executeArgs -j NameSpace001.java -d NameSpace001.p.xml -TestURL $testURL
selectIf toTestOptionalSchemagen


TEST testCase0002 - XmlElement

DESCRIPTION

Negative test. Assertion from Jakarta XML Binding Specification - @XmlRootElement {target namespace}: Mapping: Class to Element Declaration if @XmlRootElement.namespace() is not ?##default?, then the XML {target namespace} is equal to @XmlRootElement.namespace()

FILES

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


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