xml validation in C# giving errors during the process?
-
My XML schema passes the validation of XMLSpy without any problem, however, when I loaded it to validate an instance XML document in my C# program, I got many errors and warnings. Do i need to set any properties for the same behaviour as of XMLspy? if so what are those? Can any body pls tell me some thing in this regard. Thanks.
-
My XML schema passes the validation of XMLSpy without any problem, however, when I loaded it to validate an instance XML document in my C# program, I got many errors and warnings. Do i need to set any properties for the same behaviour as of XMLspy? if so what are those? Can any body pls tell me some thing in this regard. Thanks.
Could you please provide us with the error message you're getting? -Larantz-
for those about to code, we salute you
http://www.itverket.noPlease refer to the Forum Guidelines for appropriate posting.
-
Could you please provide us with the error message you're getting? -Larantz-
for those about to code, we salute you
http://www.itverket.noPlease refer to the Forum Guidelines for appropriate posting.
-
"Empty choice cannot be satisfied if 'minOccurs' is not equal to 0." and "Some elements have invalid values according to their datatype" Can you pls tell me to validate ( as it was done in XML ) with out modifying the input xml file. Thanks.
According to the errormessages, I'd say that your xml file violates the rules dictated by your xls schema. If you don't want to edit the xml file, you'll most likely have to take a look at the xls schema. -Larantz-
for those about to code, we salute you
http://www.itverket.noPlease refer to the Forum Guidelines for appropriate posting.
-
According to the errormessages, I'd say that your xml file violates the rules dictated by your xls schema. If you don't want to edit the xml file, you'll most likely have to take a look at the xls schema. -Larantz-
for those about to code, we salute you
http://www.itverket.noPlease refer to the Forum Guidelines for appropriate posting.
-
I'm not sure. But I don't see the point of having a xls schema to help you form your xml correctly, if you don't follow the schema. :) Then you might aswell remove it. -Larantz-
for those about to code, we salute you
http://www.itverket.noPlease refer to the Forum Guidelines for appropriate posting.