1 <?xml version="1.0" encoding="ascii"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3 "DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6 <title>lxml.etree.ParseError</title>
7 <link rel="stylesheet" href="epydoc.css" type="text/css" />
8 <script type="text/javascript" src="epydoc.js"></script>
11 <body bgcolor="white" text="black" link="blue" vlink="#204080"
13 <!-- ==================== NAVIGATION BAR ==================== -->
14 <table class="navbar" border="0" width="100%" cellpadding="0"
15 bgcolor="#a0c0ff" cellspacing="0">
18 <th> <a
19 href="lxml-module.html">Home</a> </th>
22 <th> <a
23 href="module-tree.html">Trees</a> </th>
26 <th> <a
27 href="identifier-index.html">Indices</a> </th>
30 <th> <a
31 href="help.html">Help</a> </th>
33 <!-- Project homepage -->
34 <th class="navbar" align="right" width="100%">
35 <table border="0" cellpadding="0" cellspacing="0">
36 <tr><th class="navbar" align="center"
37 ><a class="navbar" target="_top" href="/">lxml API</a></th>
41 <table width="100%" cellpadding="0" cellspacing="0">
44 <span class="breadcrumbs">
45 <a href="lxml-module.html">Package lxml</a> ::
46 <a href="lxml.etree-module.html">Module etree</a> ::
51 <table cellpadding="0" cellspacing="0">
52 <!-- hide/show private -->
53 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
54 onclick="toggle_private();">hide private</a>]</span></td></tr>
55 <tr><td align="right"><span class="options"
56 >[<a href="frames.html" target="_top">frames</a
57 >] | <a href="lxml.etree.ParseError-class.html"
58 target="_top">no frames</a>]</span></td></tr>
63 <!-- ==================== CLASS DESCRIPTION ==================== -->
64 <h1 class="epydoc">Class ParseError</h1><p class="nomargin-top"></p>
65 <pre class="base-tree">
68 exceptions.BaseException --+
70 exceptions.Exception --+
72 <a href="lxml.etree.Error-class.html">Error</a> --+
74 <a href="lxml.etree.LxmlError-class.html">LxmlError</a> --+
78 exceptions.BaseException --+ |
80 exceptions.Exception --+ |
82 exceptions.StandardError --+ |
84 exceptions.SyntaxError --+
86 <a href="lxml.etree.LxmlSyntaxError-class.html">LxmlSyntaxError</a> --+
88 <strong class="uidshort">ParseError</strong>
91 <dl><dt>Known Subclasses:</dt>
93 <ul class="subclass-list">
94 <li><a href="lxml.etree.XMLSyntaxError-class.html">XMLSyntaxError</a></li> </ul>
98 <p>Syntax error while parsing an XML document.</p>
99 <p>For compatibility with ElementTree 1.3 and later.</p>
101 <!-- ==================== INSTANCE METHODS ==================== -->
102 <a name="section-InstanceMethods"></a>
103 <table class="summary" border="1" cellpadding="3"
104 cellspacing="0" width="100%" bgcolor="white">
105 <tr bgcolor="#70b0f0" class="table-header">
106 <td colspan="2" class="table-header">
107 <table border="0" cellpadding="0" cellspacing="0" width="100%">
109 <td align="left"><span class="table-header">Instance Methods</span></td>
110 <td align="right" valign="top"
111 ><span class="options">[<a href="#section-InstanceMethods"
112 class="privatelink" onclick="toggle_private();"
113 >hide private</a>]</span></td>
119 <td width="15%" align="right" valign="top" class="summary">
120 <span class="summary-type"> </span>
121 </td><td class="summary">
122 <table width="100%" cellpadding="0" cellspacing="0" border="0">
124 <td><span class="summary-sig"><a href="lxml.etree.ParseError-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">...</span>)</span><br />
125 x.__init__(...) initializes x; see help(type(x)) for signature</td>
126 <td align="right" valign="top">
136 <td colspan="2" class="summary">
137 <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.SyntaxError</code></b>:
138 <code>__new__</code>,
141 <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
142 <code>__delattr__</code>,
143 <code>__getattribute__</code>,
144 <code>__getitem__</code>,
145 <code>__getslice__</code>,
146 <code>__reduce__</code>,
147 <code>__repr__</code>,
148 <code>__setattr__</code>,
149 <code>__setstate__</code>,
150 <code>__unicode__</code>
152 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
153 <code>__format__</code>,
154 <code>__hash__</code>,
155 <code>__reduce_ex__</code>,
156 <code>__sizeof__</code>,
157 <code>__subclasshook__</code>
162 <!-- ==================== PROPERTIES ==================== -->
163 <a name="section-Properties"></a>
164 <table class="summary" border="1" cellpadding="3"
165 cellspacing="0" width="100%" bgcolor="white">
166 <tr bgcolor="#70b0f0" class="table-header">
167 <td colspan="2" class="table-header">
168 <table border="0" cellpadding="0" cellspacing="0" width="100%">
170 <td align="left"><span class="table-header">Properties</span></td>
171 <td align="right" valign="top"
172 ><span class="options">[<a href="#section-Properties"
173 class="privatelink" onclick="toggle_private();"
174 >hide private</a>]</span></td>
180 <td colspan="2" class="summary">
181 <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.SyntaxError</code></b>:
182 <code>filename</code>,
186 <code>print_file_and_line</code>,
189 <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
193 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
194 <code>__class__</code>
199 <!-- ==================== METHOD DETAILS ==================== -->
200 <a name="section-MethodDetails"></a>
201 <table class="details" border="1" cellpadding="3"
202 cellspacing="0" width="100%" bgcolor="white">
203 <tr bgcolor="#70b0f0" class="table-header">
204 <td colspan="2" class="table-header">
205 <table border="0" cellpadding="0" cellspacing="0" width="100%">
207 <td align="left"><span class="table-header">Method Details</span></td>
208 <td align="right" valign="top"
209 ><span class="options">[<a href="#section-MethodDetails"
210 class="privatelink" onclick="toggle_private();"
211 >hide private</a>]</span></td>
217 <a name="__init__"></a>
219 <table class="details" border="1" cellpadding="3"
220 cellspacing="0" width="100%" bgcolor="white">
222 <table width="100%" cellpadding="0" cellspacing="0" border="0">
223 <tr valign="top"><td>
224 <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">...</span>)</span>
225 <br /><em class="fname">(Constructor)</em>
227 </td><td align="right" valign="top"
232 x.__init__(...) initializes x; see help(type(x)) for signature
236 <dd><em class="note">(inherited documentation)</em></dd>
242 <!-- ==================== NAVIGATION BAR ==================== -->
243 <table class="navbar" border="0" width="100%" cellpadding="0"
244 bgcolor="#a0c0ff" cellspacing="0">
247 <th> <a
248 href="lxml-module.html">Home</a> </th>
251 <th> <a
252 href="module-tree.html">Trees</a> </th>
255 <th> <a
256 href="identifier-index.html">Indices</a> </th>
259 <th> <a
260 href="help.html">Help</a> </th>
262 <!-- Project homepage -->
263 <th class="navbar" align="right" width="100%">
264 <table border="0" cellpadding="0" cellspacing="0">
265 <tr><th class="navbar" align="center"
266 ><a class="navbar" target="_top" href="/">lxml API</a></th>
270 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
272 <td align="left" class="footer">
273 Generated by Epydoc 3.0.1 on Tue Jul 31 10:14:18 2012
275 <td align="right" class="footer">
276 <a target="mainFrame" href="http://epydoc.sourceforge.net"
277 >http://epydoc.sourceforge.net</a>
282 <script type="text/javascript">
284 // Private objects are initially displayed (because if
285 // javascript is turned off then we want them to be
286 // visible); but by default, we want to hide them. So hide
287 // them unless we have a cookie that says to show them.