TEST stub - XmlElementRef

DESCRIPTION

Test of XmlElementRef annotation. Negative test. Assertion from API doc, XmlElementRef: If the collection item type (for collection property) or property type (for single valued property) is not jakarta.xml.bind.JAXBElement, then the type referenced by the property or field must be annotated with @XmlRootElement. (Class is not marked with @XmlRootElement)

ItemValue
title stub - XmlElementRef
name stub
source src03.java
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.J2XRuntimeTest
keywords runtime jaxb rtgen
executeArgs -out $testWorkDir -neggen -class javasoft.sqe.tests.java2schema.CustomizedMapping.property_fields.XmlElementRef.src03.src -class javasoft.sqe.tests.java2schema.CustomizedMapping.property_fields.XmlElementRef.src03.Person -j src03.java -TestURL $testURL


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