Quantcast
Channel: XML, System.Xml, MSXML and XmlLite forum
Viewing all articles
Browse latest Browse all 935

Generate XML from XSD yields an error. What to do next?

$
0
0

I have received an XSD file from a third party, and in there is the definition of XML files I will have to exchange with them.


In order to try and test, I have tried to generate sample XML via the XML Schema Explorer and then choose "Generate sample XML" from the root node of the XSD.




I get noting but the message Startindex cannot be less than zero:



Although I completely agree with that message :-) I wonder what I can do at this point? I have no influence on the XSD (if that would be the cause of the error??) but perhaps something completely different is going on here???

XMLSpy tells me that the XSD is well formed / correct. So there won't be any obvious errors in there. But stil....

My dev environment is VS Professional 2015 update 2. My dev language is C# and I am trying to build a portable library for further use in Win/Android/iOS environments (but I guess that has nothing to do with the issue).


Peter


"Every misfortune is a new challenge"


Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>