attributes improperly inherit default namespace
Brought to you by:
pabigot
See: https://sourceforge.net/p/pyxb/discussion/956708/thread/b9d221e0/
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.
Base patch required for bug fix (IGNORE WHITESPACE DIFFERENCES)
Bug fix (IGNORE WHITESPACE DIFFERENCES)
Fixed with following commits to be in PyXB 1.2.3. The fix may be obtained from the next branch of the git repository or by applying these patches:
patch -p1 --ignore-whitespace < 0001-domutils-do-not-map-default-namespace-to-None.patch
patch -p1 --ignore-whitespace < 0002-trac-202-attributes-improperly-inherit-default-names.patch