Home | Trees | Indices | Help |
|
---|
|
object --+ | exceptions.BaseException --+ | exceptions.Exception --+ | PyXBException --+ | ValidationError --+ | ElementValidationError --+ | AbstractElementError
Attempt to create an instance of an abstract element.
Raised when an element is created and the identified binding is abstract. Such elements cannot be created directly; instead the creation must derive from an instance of the abstract element's substitution group.
Since members of the substitution group self-identify using the
substitutionGroup
attribute, there is no general way to find
the set of elements which would be acceptable in place of the abstract
element.
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
element = None The abstract pyxb.binding.basis.element in question |
|||
value = None The value proposed for the element. |
|||
Inherited from Inherited from |
|
|||
Inherited from Inherited from |
|
Create an exception indicating a PyXB-related problem. If no args are present, a default argument is taken from the
|
|
str(x)
|
|
valueThe value proposed for the element. This is usually going to be a
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Apr 17 03:13:54 2013 | http://epydoc.sourceforge.net |