python-zeep
python-zeep copied to clipboard
Regression on #183 ValueError: No visitor defined for '{http://www.w3.org/2001/XMLSchema}notation'
There is a regression on issue #183 ValueError: No visitor defined for '{http://www.w3.org/2001/XMLSchema}notation'
I can confirm that this bug was still solved in zeep 3.4.0, but re-appeared in zeep 4.0.0.
I'm not sure whether the old issue #183 should be re-opened or not.
It looks like this was broken during https://github.com/mvantellingen/python-zeep/commit/7204c5bfca73f9355bf09db67248f41ff7db3fae#diff-5b2fd71b7aa0dca7f16134167d0daeb490cb2a981539664ff5d6580c287c5626L44
The change essentially does:
-setattr(tags, 'notation', xsd_ns('notation'))
+tags.notation = xsd_ns("notations")
so this now expects the {http://www.w3.org/2001/XMLSchema}notations element which as far as I can tell does not exist.