Item | Value |
---|---|
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:
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. |
---|