TEST testCase0001 - XmlElementRef

DESCRIPTION

Positive test. Assertion from jaxb20 spec, XmlElementRef, table 8-18 "Mapping: Property/field to Element declaration with ref attribute", {name}: if @XmlElementRef.type() is @XmlElementRef.DEFAULT.class and the property type is not jakarta.xml.bind.JAXBElement, then the XML name @XmlRootElement.name() on the type being referenced. Assertion from API doc, XmlElementRef, type: Default: jakarta.xml.bind.annotation.XmlElementRef.DEFAULT.class

FILES

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


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