Namespaces in XML 1.0 contains the following somewhat contradictory direction:
Default namespace declarations do not apply directly to attribute names; the interpretation of unprefixed attributes is determined by the element on which they appear. ... The namespace name for an unprefixed attribute name always has no value.
PyXB 1.2.2 applies default namespace rules to attributes when it should not.