Imported Upstream version 4.5.2
[platform/upstream/python-lxml.git] / doc / html / api / lxml.etree.XMLSyntaxError-class.html
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">
5 <head>
6   <title>lxml.etree.XMLSyntaxError</title>
7   <link rel="stylesheet" href="epydoc.css" type="text/css" />
8   <script type="text/javascript" src="epydoc.js"></script>
9 </head>
10
11 <body bgcolor="white" text="black" link="blue" vlink="#204080"
12       alink="#204080">
13 <!-- ==================== NAVIGATION BAR ==================== -->
14 <table class="navbar" border="0" width="100%" cellpadding="0"
15        bgcolor="#a0c0ff" cellspacing="0">
16   <tr valign="middle">
17   <!-- Home link -->
18       <th>&nbsp;&nbsp;&nbsp;<a
19         href="lxml-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
20
21   <!-- Tree link -->
22       <th>&nbsp;&nbsp;&nbsp;<a
23         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
24
25   <!-- Index link -->
26       <th>&nbsp;&nbsp;&nbsp;<a
27         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
28
29   <!-- Help link -->
30       <th>&nbsp;&nbsp;&nbsp;<a
31         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
32
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>
38           </tr></table></th>
39   </tr>
40 </table>
41 <table width="100%" cellpadding="0" cellspacing="0">
42   <tr valign="top">
43     <td width="100%">
44       <span class="breadcrumbs">
45         <a href="lxml-module.html">Package&nbsp;lxml</a> ::
46         <a href="lxml.etree-module.html">Module&nbsp;etree</a> ::
47         Class&nbsp;XMLSyntaxError
48       </span>
49     </td>
50     <td>
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&nbsp;private</a>]</span></td></tr>
55         <tr><td align="right"><span class="options"
56             >[<a href="frames.html" target="_top">frames</a
57             >]&nbsp;|&nbsp;<a href="lxml.etree.XMLSyntaxError-class.html"
58             target="_top">no&nbsp;frames</a>]</span></td></tr>
59       </table>
60     </td>
61   </tr>
62 </table>
63 <!-- ==================== CLASS DESCRIPTION ==================== -->
64 <h1 class="epydoc">Class XMLSyntaxError</h1><p class="nomargin-top"></p>
65 <pre class="base-tree">
66               object --+                        
67                        |                        
68 exceptions.BaseException --+                    
69                            |                    
70         exceptions.Exception --+                
71                                |                
72                            <a href="lxml.etree.Error-class.html">Error</a> --+            
73                                    |            
74                            <a href="lxml.etree.LxmlError-class.html">LxmlError</a> --+        
75                                        |        
76               object --+               |        
77                        |               |        
78 exceptions.BaseException --+           |        
79                            |           |        
80         exceptions.Exception --+       |        
81                                |       |        
82         exceptions.StandardError --+   |        
83                                    |   |        
84               exceptions.SyntaxError --+        
85                                        |        
86                          <a href="lxml.etree.LxmlSyntaxError-class.html">LxmlSyntaxError</a> --+    
87                                            |    
88                                   <a href="lxml.etree.ParseError-class.html">ParseError</a> --+
89                                                |
90                                               <strong class="uidshort">XMLSyntaxError</strong>
91 </pre>
92
93 <hr />
94 Syntax error while parsing an XML document.
95
96 <!-- ==================== INSTANCE METHODS ==================== -->
97 <a name="section-InstanceMethods"></a>
98 <table class="summary" border="1" cellpadding="3"
99        cellspacing="0" width="100%" bgcolor="white">
100 <tr bgcolor="#70b0f0" class="table-header">
101   <td colspan="2" class="table-header">
102     <table border="0" cellpadding="0" cellspacing="0" width="100%">
103       <tr valign="top">
104         <td align="left"><span class="table-header">Instance Methods</span></td>
105         <td align="right" valign="top"
106          ><span class="options">[<a href="#section-InstanceMethods"
107          class="privatelink" onclick="toggle_private();"
108          >hide private</a>]</span></td>
109       </tr>
110     </table>
111   </td>
112 </tr>
113   <tr>
114     <td colspan="2" class="summary">
115     <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.etree.ParseError-class.html">ParseError</a></code></b>:
116       <code><a href="lxml.etree.ParseError-class.html#__init__">__init__</a></code>
117       </p>
118     <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.etree.LxmlError-class.html">LxmlError</a></code></b>:
119       <code><a href="lxml.etree.LxmlError-class.html#__new__">__new__</a></code>
120       </p>
121     <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.SyntaxError</code></b>:
122       <code>__str__</code>
123       </p>
124     <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
125       <code>__delattr__</code>,
126       <code>__getattribute__</code>,
127       <code>__getitem__</code>,
128       <code>__getslice__</code>,
129       <code>__reduce__</code>,
130       <code>__repr__</code>,
131       <code>__setattr__</code>,
132       <code>__setstate__</code>,
133       <code>__unicode__</code>
134       </p>
135     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
136       <code>__format__</code>,
137       <code>__hash__</code>,
138       <code>__reduce_ex__</code>,
139       <code>__sizeof__</code>,
140       <code>__subclasshook__</code>
141       </p>
142     </td>
143   </tr>
144 </table>
145 <!-- ==================== CLASS VARIABLES ==================== -->
146 <a name="section-ClassVariables"></a>
147 <table class="summary" border="1" cellpadding="3"
148        cellspacing="0" width="100%" bgcolor="white">
149 <tr bgcolor="#70b0f0" class="table-header">
150   <td colspan="2" class="table-header">
151     <table border="0" cellpadding="0" cellspacing="0" width="100%">
152       <tr valign="top">
153         <td align="left"><span class="table-header">Class Variables</span></td>
154         <td align="right" valign="top"
155          ><span class="options">[<a href="#section-ClassVariables"
156          class="privatelink" onclick="toggle_private();"
157          >hide private</a>]</span></td>
158       </tr>
159     </table>
160   </td>
161 </tr>
162 <tr>
163     <td width="15%" align="right" valign="top" class="summary">
164       <span class="summary-type">&nbsp;</span>
165     </td><td class="summary">
166         <a name="__qualname__"></a><span class="summary-name">__qualname__</span> = <code title="'XMLSyntaxError'"><code class="variable-quote">'</code><code class="variable-string">XMLSyntaxError</code><code class="variable-quote">'</code></code>
167     </td>
168   </tr>
169 </table>
170 <!-- ==================== PROPERTIES ==================== -->
171 <a name="section-Properties"></a>
172 <table class="summary" border="1" cellpadding="3"
173        cellspacing="0" width="100%" bgcolor="white">
174 <tr bgcolor="#70b0f0" class="table-header">
175   <td colspan="2" class="table-header">
176     <table border="0" cellpadding="0" cellspacing="0" width="100%">
177       <tr valign="top">
178         <td align="left"><span class="table-header">Properties</span></td>
179         <td align="right" valign="top"
180          ><span class="options">[<a href="#section-Properties"
181          class="privatelink" onclick="toggle_private();"
182          >hide private</a>]</span></td>
183       </tr>
184     </table>
185   </td>
186 </tr>
187   <tr>
188     <td colspan="2" class="summary">
189     <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.etree.ParseError-class.html">ParseError</a></code></b>:
190       <code><a href="lxml.etree.ParseError-class.html#position">position</a></code>
191       </p>
192     <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.SyntaxError</code></b>:
193       <code>filename</code>,
194       <code>lineno</code>,
195       <code>msg</code>,
196       <code>offset</code>,
197       <code>print_file_and_line</code>,
198       <code>text</code>
199       </p>
200     <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
201       <code>args</code>,
202       <code>message</code>
203       </p>
204     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
205       <code>__class__</code>
206       </p>
207     </td>
208   </tr>
209 </table>
210 <!-- ==================== NAVIGATION BAR ==================== -->
211 <table class="navbar" border="0" width="100%" cellpadding="0"
212        bgcolor="#a0c0ff" cellspacing="0">
213   <tr valign="middle">
214   <!-- Home link -->
215       <th>&nbsp;&nbsp;&nbsp;<a
216         href="lxml-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
217
218   <!-- Tree link -->
219       <th>&nbsp;&nbsp;&nbsp;<a
220         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
221
222   <!-- Index link -->
223       <th>&nbsp;&nbsp;&nbsp;<a
224         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
225
226   <!-- Help link -->
227       <th>&nbsp;&nbsp;&nbsp;<a
228         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
229
230   <!-- Project homepage -->
231       <th class="navbar" align="right" width="100%">
232         <table border="0" cellpadding="0" cellspacing="0">
233           <tr><th class="navbar" align="center"
234             ><a class="navbar" target="_top" href="/">lxml API</a></th>
235           </tr></table></th>
236   </tr>
237 </table>
238 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
239   <tr>
240     <td align="left" class="footer">
241     Generated by Epydoc 3.0.1
242     on Thu Jul  9 18:29:53 2020
243     </td>
244     <td align="right" class="footer">
245       <a target="mainFrame" href="http://epydoc.sourceforge.net"
246         >http://epydoc.sourceforge.net</a>
247     </td>
248   </tr>
249 </table>
250
251 <script type="text/javascript">
252   <!--
253   // Private objects are initially displayed (because if
254   // javascript is turned off then we want them to be
255   // visible); but by default, we want to hide them.  So hide
256   // them unless we have a cookie that says to show them.
257   checkCookie();
258   // -->
259 </script>
260 </body>
261 </html>