why does StylusStudio report "FATAL ERROR: Cannot open mods-3-3.xsd
" when other XML editors are able to open mods-3-3.xsd and validate the XML document?
then StylusStudio is able to open the xsd instance and validate the document. But other XML editors don't require that full expression of the instance. ???
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.
Also, please try using some of the other validators. Each
validator has its own quirks, and the specification leaves some
wiggle room - this is why we have provided a variety with
Stylus Studio.
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?