This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
>... that allows XML to hold the base and derived element types in any order? >How do then I modify my current XSD to validate such type of XML? I don't think it is very well-conceived approach to fit some construction with a fixed idea of the title suggests. If you can abandone the said "fixed idea", you can make a considerable rewrite to allow the demo xml be validated with substantial clarity.