Ensure attribute declaration references have the correct scope
Ensure attribute declaration references have the correct scope

jonfoster/pyxb-upstream-mirror,CantemoInternal/pyxb,jonfoster/pyxb2,CantemoInternal/pyxb,jonfoster/pyxb2,jonfoster/pyxb2,jonfoster/pyxb-upstream-mirror,balanced/PyXB,balanced/PyXB,pabigot/pyxb,jonfoster/pyxb-upstream-mirror,jonfoster/pyxb1,pabigot/pyxb,balanced/PyXB,CantemoInternal/pyxb,jonfoster/pyxb1