TEST testCase0001 - @XmlSchemaType

DESCRIPTION

Jakarta XML Binding specification assertion: JAXB:SPEC:J2S:00056
@XmlSchemaType annotation annotation allows a customized mapping to a XML Schema built in type.
@XmlAccessorOrder.type
If the annotation @XmlSchemaType is used as a package level annotation or within @XmlSchemaTypes,
value of @XmlSchemaType.type() must be specified and must be the Java type that is being customized.
A @XmlSchemaType that is specified as a package level annotation must apply at the point of reference as follows:
2. a property/field within a class in package, where @XmlSchemaType.type() is used as a parametric type.

FILES

ItemValue
title testCase0001 - @XmlSchemaType
name testCase0001
source XmlSchemaType007/package-info.java XmlSchemaType007.java XmlSchemaType007.p.xml
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.SchemaGenTest
keywords positive java_to_schema runtime jaxb
executeArgs -j XmlSchemaType007/package-info.java:XmlSchemaType007.java -d XmlSchemaType007.p.xml -TestURL $testURL
selectIf toTestOptionalSchemagen


TEST testCase0002 - @XmlSchemaType

DESCRIPTION

Jakarta XML Binding specification assertion: JAXB:SPEC:J2S:00056
@XmlSchemaType annotation annotation allows a customized mapping to a XML Schema built in type.
@XmlAccessorOrder.type
If the annotation @XmlSchemaType is used as a package level annotation or within @XmlSchemaTypes,
value of @XmlSchemaType.type() must be specified and must be the Java type that is being customized.
A @XmlSchemaType that is specified as a package level annotation must apply at the point of reference as follows:
2. a property/field within a class in package, where @XmlSchemaType.type() is used as a parametric type.

FILES

ItemValue
title testCase0002 - @XmlSchemaType
name testCase0002
source XmlSchemaType007/package-info.java XmlSchemaType007.java XmlSchemaType007.n.xml
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.SchemaGenTest
keywords positive java_to_schema runtime jaxb
executeArgs -j XmlSchemaType007/package-info.java:XmlSchemaType007.java -n -d XmlSchemaType007.n.xml -TestURL $testURL
selectIf toTestOptionalSchemagen


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