Declare an element. Specify the following: type="xsd:string" default="alpha". Check that the declaration is valid.
http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations
TEST valueconstraint01001m8 - default value constraint with string type (valid schema)
Item | Value |
---|---|
title | valueconstraint01001m8 - default value constraint with string type (valid schema) |
name | valueconstraint01001m8 |
source | ../valueConstraint01001m8.xsd |
schemaName | ../valueConstraint01001m8.xsd |
executeClass | com.sun.jaxb_tck.sigtest.JAXBTest |
executeArgs | -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName valueconstraint01001m8.sig -PackageWithoutSubpackages $package |
keywords | schema positive |
package | javasoft.sqe.tests.elemdecl.valueconstraint.valueconstraint01001m.valueconstraint01001m8 |
signature | valueconstraint01001m8.sig |
TEST Positive - default value constraint with string type (valid schema)
Item | Value |
---|---|
title | Positive - default value constraint with string type (valid schema) |
name | Positive |
source | ../valueConstraint01001m8.xsd |
schemaName | ../valueConstraint01001m8.xsd |
executeClass | javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest |
executeArgs | -TestURL $testURL -package $package -out :ref -document ../valueConstraint01001m8_p.xml -pcontent valueconstraint01001m8-valueConstraint01001m8_p.jbx |
keywords | positive document |
package | javasoft.sqe.tests.elemdecl.valueconstraint.valueconstraint01001m.valueconstraint01001m8 |
document | ../valueConstraint01001m8_p.xml |
jb-context | valueconstraint01001m8-valueConstraint01001m8_p.jbx |