Thanks tsuji - i do see the basis for the error.
But, do you (or anybody) know of a solution? How CAN this situation be expressed in XSD?
None of the three choices, <all>, <sequence>, or <choice> fits our XML instance. Its legal in XML, but i cannot see how to express it in XSD!
Here are...
XSD seems to have a limitation when trying to create an abstract class and a derived class. It seems to want the elements in both to be enclosed in <sequence> and not in <all>.
For instance, the XSD at the bottom of this post is correctly parsed.
But, if i change those <sequence> elements to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.