Declare an element with default value of the attribute abstract. Try to use it in the xml document.
http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations
TEST abstract00201m3 - use default value of the attribute abstract (valid schema)
| Item | Value |
|---|---|
| title | abstract00201m3 - use default value of the attribute abstract (valid schema) |
| name | abstract00201m3 |
| source | ../abstract00201m3.xsd |
| schemaName | ../abstract00201m3.xsd |
| executeClass | com.sun.jaxb_tck.sigtest.JAXBTest |
| executeArgs | -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName abstract00201m3.sig -PackageWithoutSubpackages $package |
| keywords | schema positive |
| package | javasoft.sqe.tests.elemdecl._abstract.abstract00201m.abstract00201m3 |
| signature | abstract00201m3.sig |
TEST Positive - use default value of the attribute abstract (valid schema)
| Item | Value |
|---|---|
| title | Positive - use default value of the attribute abstract (valid schema) |
| name | Positive |
| source | ../abstract00201m3.xsd |
| schemaName | ../abstract00201m3.xsd |
| executeClass | javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest |
| executeArgs | -TestURL $testURL -package $package -out :ref -document ../abstract00201m3_p.xml -pcontent abstract00201m3-abstract00201m3_p.jbx |
| keywords | positive document |
| package | javasoft.sqe.tests.elemdecl._abstract.abstract00201m.abstract00201m3 |
| document | ../abstract00201m3_p.xml |
| jb-context | abstract00201m3-abstract00201m3_p.jbx |