Declare an element with two attributes of type int. Name the first one using 7 punctuation characters: hyphen ('-', \u002D, HYPHEN-MINUS), period ('.', \u002E, FULL STOP), underscore ('_', \u005F, LOW LINE), dot ('.', \u00B7, MIDDLE DOT), \u0387, GREEK ANO TELEIA, \u06DD, ARABIC END OF AYAH and \u06DE, ARABIC START OF RUB EL HIZB. Name the second attribute with the same name except the characters described. Jakarta XML Binding maps the names to the same Java identifier so the binding compiler is expected to fail.


TEST AD_name00112_n - Attribute name contains 7 punctuation characters. (invalid schema)

FILES

ItemValue
title AD_name00112_n - Attribute name contains 7 punctuation characters. (invalid schema)
name AD_name00112_n
source AD_name00112.xsd
schemaName AD_name00112.xsd
keywords schema negative
package javasoft.sqe.tests.attrdecl.ad_name.ad_name00112.ad_name00112


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