Home | Trees | Indices | Help |
|
---|
|
object --+ | exceptions.BaseException --+ | exceptions.Exception --+ | PyXBException --+ | ValidationError
Raised when something in the infoset fails to satisfy a content model or attribute requirement.
All validation errors include a location attribute which shows where in the original XML
the problem occurred. The attribute may be None
if the
content did not come from an XML document, or the underlying XML
infrastructure did not provide a location.
More refined validation error exception classes add more attributes.
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
location = None Where the error occurred in the document being parsed, if available. |
|||
Inherited from |
|
|||
Inherited from |
|
Provide information describing why validation failed. In many cases, this is simply the informal string content that would
be obtained through the
|
|
locationWhere the error occurred in the document being parsed, if available.
This will be
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Sep 18 10:35:37 2013 | http://epydoc.sourceforge.net |