Declare a simple type based on NCName and restricted with an enumeration value that begins with the underscore character 0x005f. The document uses the value.
http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Simple_Type_Definitions
TEST st_facets00403m1 - Enumeration value begins with the underscore character 0x005f (valid schema)
| Item | Value |
|---|---|
| title | st_facets00403m1 - Enumeration value begins with the underscore character 0x005f (valid schema) |
| name | st_facets00403m1 |
| source | ../ST_facets00403m1.xsd |
| schemaName | ../ST_facets00403m1.xsd |
| executeClass | com.sun.jaxb_tck.sigtest.JAXBTest |
| executeArgs | -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName st_facets00403m1.sig -PackageWithoutSubpackages $package |
| keywords | schema positive |
| package | javasoft.sqe.tests.stype.st_facets.st_facets00403m.st_facets00403m1 |
| signature | st_facets00403m1.sig |
TEST Positive - Enumeration value begins with the underscore character 0x005f (valid schema)
| Item | Value |
|---|---|
| title | Positive - Enumeration value begins with the underscore character 0x005f (valid schema) |
| name | Positive |
| source | ../ST_facets00403m1.xsd |
| schemaName | ../ST_facets00403m1.xsd |
| executeClass | javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest |
| executeArgs | -TestURL $testURL -package $package -out :ref -document ../ST_facets00403m1_p.xml -pcontent st_facets00403m1-ST_facets00403m1_p.jbx |
| keywords | positive document |
| package | javasoft.sqe.tests.stype.st_facets.st_facets00403m.st_facets00403m1 |
| document | ../ST_facets00403m1_p.xml |
| jb-context | st_facets00403m1-ST_facets00403m1_p.jbx |