Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Hosts file to locate schema for validation

Status
Not open for further replies.

shawnkacz

Programmer
Apr 29, 2005
1
US
I want to use the Hosts file to locate schema for validation.

The Hosts file (C:\Windows\System32\etc) will locate
xsd schema files on a LAN server for development purposes.
This gives me a alias mechanism for XML namespace redirection.

If the host file on a client machine has the entry;

192.168.1.12 XML-srv

Will the following schema locator attribute work?

xsi:schemaLocation="
I have tryed the validator in XMLSpy (on the client machine) with the above configuration and it fails to
load the schema from the server.

Since the XMLSpy code is using MSXML, will MSXML use the Hosts file to resolve the schema locator?

shawnk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top