if( compositor == null ) { // if there is no extension base, create a top level seq
// ordered props go in a sequence, unordered go in an all
if( c.isOrdered() ) {
compositor = ct.sequence();
} else {
compositor = ct.all();
}
}
// block writing the compositor because we might need to
// write some out of order attributes to handle min/maxOccurs