all groups > dotnet xml > april 2004 >
You're in the

dotnet xml

group:

Validation problem.


Validation problem. ash
4/27/2004 5:46:03 AM
dotnet xml:
Hi
I am some webservice project. where it take the inout as the xml and it will validate that xml with the xsd
I have put that sechema in the particular location where I can access that xsd using internetexploere.. I mean to say from IE if i go to the URL http://localhost/my.xsd , it will be displaed on the IE
But I sent the xml it wont get the xsd and error message will be.. somthing like elemet not declered. not able to load the schema from the location

input xml will be

?xml version="1.0" encoding="UTF-8" ?><doSomethin
xmlns="http://www.xyz.com/schemas/abc
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
xsi:schemaLocation="http://www.xyz.com/schemas/abc http://localhost/my.xsd"><name> ash <\name><\doSomething

I have take the validation code from the URL http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconvalidationagainstxsdwithxmlvalidatingreader.as

is there any thing more to do in validation.

Help me out
Thanks
-AShi

Re: Validation problem. Yan Leshinsky
4/27/2004 10:58:53 PM
What is your xsd file?
Yan

[quoted text, click to view]

AddThis Social Bookmark Button