TEST Constraint002 - XmlElement

DESCRIPTION

Test of @XmlType annotations that is used to map a Java class to a schema type. The schema type is computed from its annotation element values.

FILES

Test cases included:

testCase0001.

ItemValue
title Constraint002 - XmlElement
name Constraint002
source package-info.java Constraint002.java package-info.java Constraint002.java
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.SchemaGenTest
keywords negative java_to_schema runtime jaxb
executeArgs -j package-info.java:Constraint002.java -TestURL $testURL
selectIf toTestOptionalSchemagen

Test cases description:

TestCase: testCase0001
description Negative test. Assertion from Jakarta XML Binding Specification - @XmlType If a class contains a mapped property or field annotated with @XmlValue annotation, then all other mapped fields or properties in the class must be mapped to an XML attribute.


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