Closed keshavarzi closed 10 years ago
Definitions should return the schema with the desired namespace, which should contains the desired element. This would fail if there were more schemas with the desired namespace and the element is not in the first schema.
Example:
... <types> <xsd:schema> <xsd:include schemaLocation="schema1.xsd"/> </xsd:schema> <xsd:schema> <xsd:include schemaLocation="schema2.xsd"/> </xsd:schema> </types> ...
And the element is defined is schema2.xsd
Definitions should return the schema with the desired namespace, which should contains the desired element. This would fail if there were more schemas with the desired namespace and the element is not in the first schema.
Example:
And the element is defined is schema2.xsd