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.J2XRuntimeTest
keywords runtime positive jaxb rtgen
executeArgs -out $testWorkDir -class javasoft.sqe.tests.java2schema.CustomizedMapping.property_fields.XmlElementRef.src05.src -class javasoft.sqe.tests.java2schema.CustomizedMapping.property_fields.XmlElementRef.src05.Person -j src05.java -d pos04_1.xml -TestURL $testURL


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