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