How to define schema element with optional element that can appear twice out of sequential order

Posted by mps1973 on Stack Overflow See other posts from Stack Overflow or by mps1973
Published on 2010-03-12T15:26:50Z Indexed on 2010/03/12 15:27 UTC
Read the original article Hit count: 336

Filed under:

I have attempted to define this element, but XML Spy rejects is with an ambiguous error. All elements in the sequence are optional. The ValueType element can occur before the RawData element and the DefaultData element. All element in the sequence must appear in this order.

How can this element be made conformant? Thanks!

© Stack Overflow or respective owner

Related posts about xml-schema