Base type string restricted with two enumeration values '3.14' and 'int'. Negative document tries to use value '3,14'.
http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Simple_Type_Definitions
TEST st_facets00301m - Enumeration facet restricts string type (valid schema)
| Item | Value |
|---|---|
| title | st_facets00301m - Enumeration facet restricts string type (valid schema) |
| name | st_facets00301m |
| source | ../ST_facets00301m.xsd |
| schemaName | ../ST_facets00301m.xsd |
| executeClass | com.sun.jaxb_tck.sigtest.JAXBTest |
| executeArgs | -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName st_facets00301m.sig -PackageWithoutSubpackages $package |
| keywords | schema positive |
| package | javasoft.sqe.tests.stype.st_facets.st_facets00301m.st_facets00301m |
| signature | st_facets00301m.sig |
TEST ST_facets00301m1_p - Enumeration facet restricts string type (valid schema)
| Item | Value |
|---|---|
| title | ST_facets00301m1_p - Enumeration facet restricts string type (valid schema) |
| name | ST_facets00301m1_p |
| source | ../ST_facets00301m.xsd |
| schemaName | ../ST_facets00301m.xsd |
| executeClass | javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest |
| executeArgs | -TestURL $testURL -package $package -out :ref -document ../ST_facets00301m1_p.xml -pcontent st_facets00301m-ST_facets00301m1_p.jbx |
| keywords | positive document |
| package | javasoft.sqe.tests.stype.st_facets.st_facets00301m.st_facets00301m |
| document | ../ST_facets00301m1_p.xml |
| jb-context | st_facets00301m-ST_facets00301m1_p.jbx |