Just get rid of maxOccurs="unbounded"
in <xs:group ref="prodVar" minOccurs="0" maxOccurs="unbounded" />
In XSD 1.0, an xs:all
cannot repeat (here indirectly, some may say 'nice try!'), nor any particle under xs:all
, nor can it be nested under any other compositor.