Hi Stanimir,
According to the specification:
A schema is not required to have a namespace (see Undeclared Target
Namespaces (§3.4)) and so there is a noNamespaceSchemaLocation
attribute which is used to provide hints for the locations of schema
documents that do not have target namespaces.
In this case the schema does have a namespace, but it is located on a
network or local hard drive. In testing, I have had some success with
http://localhost but that only works if all files are on my local hard
drive and not on the network .... any further thoughts?
Thanks,
Ian
Stanimir Stamenkov wrote:
/Ian/:
I would like to set a path to a schema where both the xml file and
the schema are on my local hard drive (e.g. c:\XML\auto.xml and
c:\XML\auto.xsd)
"2.6.3 xsi:schemaLocation, xsi:noNamespaceSchemaLocation"
<http://www.w3.org/TR/xmlschema-1/#xsi_schemaLocation>
Examples:
"5.6 schemaLocation"
<http://www.w3.org/TR/xmlschema-0/#schemaLocation>
Note, these provide only a hint to the processor. If you manipulate
the files programmatically, depending on the programming framework
you use, you should be able to control these with processor's
specific calls.
--
Stanimir