Hi.

I have XML file and XSD file. I can use XML Spy to validate the Xml file against the 
XSD file - it works.

If I add both files to a VS project, it seems that the VS doesn't find the XSD file.

I am getting the following error:
"Visual Studio could not locate a schema for this document."


These are the files' headers:

<NogaConstants xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:noNamespaceSchemaLocation="constants.xsd">

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"; elementFormDefault="qualified">

The XSD file is in the same directory as the XML file.

Can anybody see the problem?

Thanks,
Saar

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to