},
super.iterateAttributeUses() );
}
public Collection<XSAttributeUse> getAttributeUses() {
XSComplexType baseType = getBaseType().asComplexType();
if( baseType==null ) return super.getAttributeUses();
// TODO: this is fairly inefficient
Map<UName,XSAttributeUse> uses = new HashMap<UName, XSAttributeUse>();
for( XSAttributeUse a : baseType.getAttributeUses())
uses.put(new UName(a.getDecl()),a);
uses.keySet().removeAll(prohibitedAtts);
for( XSAttributeUse a : super.getAttributeUses())