Subject:SchemaLocation attribute Author:Tony Lavinio Date:20 Aug 2008 11:10 AM
Does a copy of mods-3-3.xsd exist in the same directory as the
file you are validating? If not, unless a catalog is used, the
resolver should *not* use the namespace to find the schema.
Namespaces and schema locations, although they can have similar
appearances, are not related.
Subject:SchemaLocation attribute Author:Joe Altimus Date:20 Aug 2008 03:05 PM
Thanks for the reply.
You say "the resolver should *not* use the namespace to find the schema" but I notice in section 4.3.2 of XML Schema Part 1: Structures (http://www.w3.org/TR/xmlschema-1/) the fifth strategy for "Schema Representation Constraint: Schema Document Location Strategy" is
Attempt to resolve the namespace name to locate such a resource.
Doesn't that mean a schema-aware processor *may* use the namespace name to find the schema?