For an element to be locally valid its type must not be abstract . Negative case uses local type definition with a type that is abstract .
http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations
TEST typedef01101m1 - actual type must not be abstract (valid schema)
| Item | Value |
|---|---|
| title | typedef01101m1 - actual type must not be abstract (valid schema) |
| name | typedef01101m1 |
| source | ../typeDef01101m1.xsd |
| schemaName | ../typeDef01101m1.xsd |
| executeClass | com.sun.jaxb_tck.sigtest.JAXBTest |
| executeArgs | -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName typedef01101m1.sig -PackageWithoutSubpackages $package |
| keywords | schema positive |
| package | javasoft.sqe.tests.elemdecl.typedef.typedef01101m.typedef01101m1 |
| signature | typedef01101m1.sig |
TEST Positive - actual type must not be abstract (valid schema)
| Item | Value |
|---|---|
| title | Positive - actual type must not be abstract (valid schema) |
| name | Positive |
| source | ../typeDef01101m1.xsd |
| schemaName | ../typeDef01101m1.xsd |
| executeClass | javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest |
| executeArgs | -TestURL $testURL -package $package -out :ref -document ../typeDef01101m1_p.xml -pcontent typedef01101m1-typeDef01101m1_p.jbx |
| keywords | positive document |
| package | javasoft.sqe.tests.elemdecl.typedef.typedef01101m.typedef01101m1 |
| document | ../typeDef01101m1_p.xml |
| jb-context | typedef01101m1-typeDef01101m1_p.jbx |