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.J2XRuntimeTest
keywords positive runtime jaxb rtgen
executeArgs -out $testWorkDir -class javasoft.sqe.tests.java2schema.CustomizedMapping.classes.XmlRootElement.namespace.NameSpace001.NameSpace001 -j NameSpace001.java -d NameSpace001.p.xml -TestURL $testURL


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.J2XRuntimeTest
keywords positive runtime jaxb rtgen
executeArgs -out $testWorkDir -class javasoft.sqe.tests.java2schema.CustomizedMapping.classes.XmlRootElement.namespace.NameSpace001.NameSpace001 -j NameSpace001.java -n -d NameSpace001.n.xml -TestURL $testURL


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