-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
None
Our test schemas (AA.dfdl.xsd to BG.dfdl.xsd) are full of a referential integrity error.
They use the default unprefixed namespace as the XSD namespace, but then also assume intra-schema references can use unqualified names. This is an error.
There are two other bugs related. One is that Daffodil itself is validating the incoming schemas, and not catching this error. Another is that the example schemas have the error and need to be fixed.
This bug is that Eclipse's schema support also isn't finding this error. A fix would be to figure out eclipse settings or changes to the XMLSchemaSubset schema that will make it really catch these errors for us interactively when editing the schemas. This may be as simple as setting some option we're not setting currently, or it could turn out to not be possible to fix.
Example:
<schema xmlns="http://www.ogf.org/dfdl/dfdl-1.0/XMLSchemaSubset"
targetNamespace="http://example.com">
<element name="foo" type="bar"/><!-- IS THIS LEGAL, no prefix on name of the type. -->
<complexType name="bar">
<sequence/>
</complexType>
</schema>