Declare a simple type based on NCName and restricted with 2 enumeration values "_-." and "_-0.". The document uses each of the values.

http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Simple_Type_Definitions


TEST st_facets00605 - Enumeration values contain only punctuation characters and digits. (valid schema)

FILES

ItemValue
title st_facets00605 - Enumeration values contain only punctuation characters and digits. (valid schema)
name st_facets00605
source ../ST_facets00605.xsd
schemaName ../ST_facets00605.xsd
executeClass com.sun.jaxb_tck.sigtest.JAXBTest
executeArgs -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName st_facets00605.sig -PackageWithoutSubpackages $package
keywords schema positive
package javasoft.sqe.tests.stype.st_facets.st_facets00605.st_facets00605
signature st_facets00605.sig


TEST ST_facets00605_p - Enumeration values contain only punctuation characters and digits. (valid schema)

FILES

ItemValue
title ST_facets00605_p - Enumeration values contain only punctuation characters and digits. (valid schema)
name ST_facets00605_p
source ../ST_facets00605.xsd
schemaName ../ST_facets00605.xsd
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest
executeArgs -TestURL $testURL -package $package -out :ref -document ../ST_facets00605_p.xml -pcontent st_facets00605-ST_facets00605_p.jbx
keywords positive document
package javasoft.sqe.tests.stype.st_facets.st_facets00605.st_facets00605
document ../ST_facets00605_p.xml
jb-context st_facets00605-ST_facets00605_p.jbx


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