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}: otherwise if @XmlElementRef.type() is @XmlElementRef.DEFAULT.class and the property type is single valued and is jakarta.xml.bind.JAXBElement, then the @XmlElementRef.namespace()

FILES

ItemValue
title testCase0001 - XmlElementRef
name testCase0001
source src08.java pos08_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.src08.Math -class javasoft.sqe.tests.java2schema.CustomizedMapping.property_fields.XmlElementRef.src08.ObjectFactory -class javasoft.sqe.tests.java2schema.CustomizedMapping.property_fields.XmlElementRef.src08.Operator -j src08.java -d pos08_1.xml -TestURL $testURL


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