Question on Importing external namespaces without schemaLocation Attribute

Hi,

    Have a schema that uses attributes from an external namespace. The
schema itself is implemented as collection of includes. These included
schemas use (imports) attributes from the external namespace (like
xml.xsd). Should all the individual schemas provide schemaLocation
attribute for the imports? Or is it enough for the main schema file to
provide the schemaLocation.

Attached is sample files where "Main.xsd" schema file includes
"Module.xsd" and imports 'external' namespace (with schemaLocation
attribute, "External.xsd"). The "Module.xsd" also imports the external
namespace but **does not** provide a schemaLocation attribute.

Are the Schema Implementations expected to resolve the external
namespace reference in "Module.xsd:" correctly (to definitions in
"External.xsd"), when the Main.xsd is the schema used by the application

PV

Received on Saturday, 29 November 2003 19:11:21 UTC