lxml.etree.XMLSyntaxError

Package lxml :: Module etree :: Class XMLSyntaxError |
[frames] | no frames]

# Class XMLSyntaxError

                  object --+
                           |
    exceptions.BaseException --+
                               |
            exceptions.Exception --+
                                   |
                               Error --+
                                       |
                               LxmlError --+
                                           |
                  object --+               |
                           |               |
    exceptions.BaseException --+           |
                               |           |
            exceptions.Exception --+       |
                                   |       |
            exceptions.StandardError --+   |
                                       |   |
                  exceptions.SyntaxError --+
                                           |
                             LxmlSyntaxError --+
                                               |
                                      ParseError --+
                                                   |
                                                  XMLSyntaxError

Syntax error while parsing an XML document.

Syntax error while parsing an XML document.

Instance Methods
__init__(...) x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
Inherited from `exceptions.SyntaxError`: `__new__`, `__str__` Inherited from `exceptions.BaseException`: `__delattr__`, `__getattribute__`, `__getitem__`, `__getslice__`, `__reduce__`, `__repr__`, `__setattr__`, `__setstate__` Inherited from `object`: `__hash__`, `__reduce_ex__`

Properties
Inherited from `exceptions.SyntaxError`: `filename`, `lineno`, `message`, `msg`, `offset`, `print_file_and_line`, `text` Inherited from `exceptions.BaseException`: `args` Inherited from `object`: `__class__`

Method Details

### __init__(...) (Constructor) |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature Overrides: object.__init__ (inherited documentation)