misleading ElementChangeError message
Brought to you by:
pabigot
When an attempt is made to set an element with fixed value "true" to the Python value False, an ElementChangeError is passed the rejected value, and when converted to a string displays it as:
pyxb.exceptions_.ElementChangeError: Element Yes has fixed content False
which would naturally be interpreted to say the element's fixed content is False, making one wonder why the assignment was rejected.
Fixed in following commit on next branch.