On 01.04.2013 12:19, Michael T. Pope wrote: > On Mon, 1 Apr 2013 11:50:19 AM you wrote: > >> I think >> >> <xs:element name="aiPlayer"> >> <xs:complexType> >> <xs:choice> >> <xs:attribute name="id" type="PlayerId"/> >> <!-- @compat 0.10.7 --> >> <xs:attribute name="ID" type="PlayerId"/> >> <!-- end @compat --> >> </xs:choice> >> </xs:complexType> >> </xs:element> >> >> > Alas no. I tried something like that, but testMap* says: > > s4s-elt-must-match.1: The content of 'choice' must match (annotation?, > (element | group | choice | sequence | any)*)... > > I also tried wrapping the xs:attributes in xs:complexType with the same > result. > > Cheers, > Mike Pope >
You are right, of course. Since substitution groups are also limited to elements, I'm afraid I have no further suggestions to offer. Regards Michael ------------------------------------------------------------------------------ Own the Future-Intel® Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d _______________________________________________ Freecol-developers mailing list Freecol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freecol-developers