Hi all,
I have an XSD file in a web directory in "C:\inetpub\wwwroot\xsd\Test.xsd".
This maps to http://localhost/xsd/Test.xsd. I have tried this URL in
Internet Explorer and the file loads fine.
I have opened an XML file in Visual Studio.NET 2003. I have added
"http://localhost/xsd/Test.xsd" to the targetSchema property and it has
added an xmlns="http://localhost/xsd/Test.xsd" to the root of my XML
document.
Finally I select XML/Validate XML Data from the menu. Visual Studio then
tells me "Visual Studio could not locate a schema for this document.
Validation can only ensure this is a well formed XML document and cannot
validate the data against a schema."
I don't understand why it can't find it. Can anyone help.
Thanks
Martin