Declare an element. Define a simpleType with the same name. Check that there is no name clash.
http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations
TEST name00201m2 - simpleType definitions and element declarations have different symbol spaces. (valid schema)
Item | Value |
---|---|
title | name00201m2 - simpleType definitions and element declarations have different symbol spaces. (valid schema) |
name | name00201m2 |
source | ../name00201m2.xsd |
schemaName | ../name00201m2.xsd |
executeClass | com.sun.jaxb_tck.sigtest.JAXBTest |
executeArgs | -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName name00201m2.sig -PackageWithoutSubpackages $package |
keywords | schema positive |
package | javasoft.sqe.tests.elemdecl.name.name00201m.name00201m2 |
signature | name00201m2.sig |
TEST Positive - simpleType definitions and element declarations have different symbol spaces. (valid schema)
Item | Value |
---|---|
title | Positive - simpleType definitions and element declarations have different symbol spaces. (valid schema) |
name | Positive |
source | ../name00201m2.xsd |
schemaName | ../name00201m2.xsd |
executeClass | javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest |
executeArgs | -TestURL $testURL -package $package -out :ref -document ../name00201m2_p.xml -pcontent name00201m2-name00201m2_p.jbx |
keywords | positive document |
package | javasoft.sqe.tests.elemdecl.name.name00201m.name00201m2 |
document | ../name00201m2_p.xml |
jb-context | name00201m2-name00201m2_p.jbx |