TEST testCase0001 - XmlElementRef

DESCRIPTION

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

FILES

ItemValue
title testCase0001 - XmlElementRef
name testCase0001
source src07.java pos07_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.src07.src -class javasoft.sqe.tests.java2schema.CustomizedMapping.property_fields.XmlElementRef.src07.Person -j src07.java -d pos07_1.xml -TestURL $testURL


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