* @param egroup schema element to contain element definitions
* @param agroup schema element to contain attribute definitions
*/
private void defineEmptyStructureComponent(StructureElementBase comp,
Element egroup, Element agroup) {
NestingElementBase parent =
(NestingElementBase)m_structureStack.peek(0);
boolean only = parent.children().size() == 1;
if (comp.type() == ElementBase.COLLECTION_ELEMENT) {
// collection may define type or not
CollectionElement collection = (CollectionElement)comp;
String itype = collection.getItemTypeClass().getName();