While #188 may not be in scope for PyXB, the exception it produces should be fixed so that it reveals the invalid content.
resolution set to fixed
Author: Peter A. Bigot firstname.lastname@example.org
Date: Mon Apr 15 10:52:39 2013 -0500
trac/189: fix misuse of StructuralBadDocumentError
One raise site to StructuralBadDocument was replaced by raise
NonPluralAppendError, as it should be a ValidationError not a
The problematic call site is only entered when validation is disabled, so it
is appropriate to raise an exception that is not a ValidationError.
StructuralBadDocument has been modified to provide access to the container
and the value that could not be identified without validation.
The reference in the originating trac/188 to inability to invoke details()
on the exception is irrelevant as only ValidationErrors support details().
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.