I.e., when something's missing, say what it is; when something's not expected, say what should have been there.
Delayed to next beta.
Pushed out until default binding style has changed to property.
We'll do this later, too.
Let me add a "+1" to this ticket. The message
pyxb.exceptions_.UnrecognizedContentError: {Alma/APDMTest/ObsProject}timeOfCreation value 2009-05-08 21:23:45
really didn't help me understand that another element was missing.
Calling this closed as of the following commit in pyxb-1.2/next.
commit 2dc019aef34d34bbe9dd0f31b3ee3c920dc2847a Author: Peter A. Bigot <pab@pabigot.com> Date: Wed Nov 7 06:46:32 2012 -0600 Test SimpleFacetValueError
Example of available diagnostics, documenting that the error occurs on line 217 of the input, showing what was found, and what was expected:
*** ERROR validating response: The containing element parameters is defined at ndfd_data.xsd[29:12]. The containing element type parametersType is defined at parameters.xsd[21:4] The unrecognized content probability-of-precipitation begins at <unknown>[217:6] The parametersType automaton is in an accepting state. The following element and wildcard content would be accepted: An element cloud-amount per parameters.xsd[379:12] An element humidity per parameters.xsd[416:12] An element weather per parameters.xsd[449:12] An element conditions-icon per parameters.xsd[566:12] An element hazards per parameters.xsd[585:12] An element wordedForecast per parameters.xsd[701:11] An element pressure per parameters.xsd[715:12] An element probabilisticCondition per parameters.xsd[751:12] An element water-state per parameters.xsd[785:12]
Delayed to next beta.
Pushed out until default binding style has changed to property.
We'll do this later, too.
Let me add a "+1" to this ticket. The message
pyxb.exceptions_.UnrecognizedContentError: {Alma/APDMTest/ObsProject}timeOfCreation value 2009-05-08 21:23:45
really didn't help me understand that another element was missing.
Calling this closed as of the following commit in pyxb-1.2/next.
Example of available diagnostics, documenting that the error occurs on line 217 of the input, showing what was found, and what was expected: