8.5.2 ExpatError Exceptions
ExpatError exceptions have a number of interesting attributes:
-
Expat's internal error number for the specific error. This will
match one of the constants defined in the
errors
object from this module. New in version 2.1.
-
Line number on which the error was detected. The first line is
numbered
1
. New in version 2.1.
-
Character offset into the line where the error occurred. The first
column is numbered
0
. New in version 2.1.
See About this document... for information on suggesting changes.