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.XMLSyntaxError</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> ::
47 Class XMLSyntaxError
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.XMLSyntaxError-class.html"
58 target="_top">no frames</a>]</span></td></tr>
63 <!-- ==================== CLASS DESCRIPTION ==================== -->
64 <h1 class="epydoc">Class XMLSyntaxError</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 <a href="lxml.etree.ParseError-class.html">ParseError</a> --+
90 <strong class="uidshort">XMLSyntaxError</strong>
94 Syntax error while parsing an XML document.
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%">
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>
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>
118 <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.SyntaxError</code></b>:
119 <code>__new__</code>,
122 <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
123 <code>__delattr__</code>,
124 <code>__getattribute__</code>,
125 <code>__getitem__</code>,
126 <code>__getslice__</code>,
127 <code>__reduce__</code>,
128 <code>__repr__</code>,
129 <code>__setattr__</code>,
130 <code>__setstate__</code>,
131 <code>__unicode__</code>
133 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
134 <code>__format__</code>,
135 <code>__hash__</code>,
136 <code>__reduce_ex__</code>,
137 <code>__sizeof__</code>,
138 <code>__subclasshook__</code>
143 <!-- ==================== PROPERTIES ==================== -->
144 <a name="section-Properties"></a>
145 <table class="summary" border="1" cellpadding="3"
146 cellspacing="0" width="100%" bgcolor="white">
147 <tr bgcolor="#70b0f0" class="table-header">
148 <td colspan="2" class="table-header">
149 <table border="0" cellpadding="0" cellspacing="0" width="100%">
151 <td align="left"><span class="table-header">Properties</span></td>
152 <td align="right" valign="top"
153 ><span class="options">[<a href="#section-Properties"
154 class="privatelink" onclick="toggle_private();"
155 >hide private</a>]</span></td>
161 <td colspan="2" class="summary">
162 <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.SyntaxError</code></b>:
163 <code>filename</code>,
167 <code>print_file_and_line</code>,
170 <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
174 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
175 <code>__class__</code>
180 <!-- ==================== NAVIGATION BAR ==================== -->
181 <table class="navbar" border="0" width="100%" cellpadding="0"
182 bgcolor="#a0c0ff" cellspacing="0">
185 <th> <a
186 href="lxml-module.html">Home</a> </th>
189 <th> <a
190 href="module-tree.html">Trees</a> </th>
193 <th> <a
194 href="identifier-index.html">Indices</a> </th>
197 <th> <a
198 href="help.html">Help</a> </th>
200 <!-- Project homepage -->
201 <th class="navbar" align="right" width="100%">
202 <table border="0" cellpadding="0" cellspacing="0">
203 <tr><th class="navbar" align="center"
204 ><a class="navbar" target="_top" href="/">lxml API</a></th>
208 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
210 <td align="left" class="footer">
211 Generated by Epydoc 3.0.1 on Tue Jul 31 10:14:18 2012
213 <td align="right" class="footer">
214 <a target="mainFrame" href="http://epydoc.sourceforge.net"
215 >http://epydoc.sourceforge.net</a>
220 <script type="text/javascript">
222 // Private objects are initially displayed (because if
223 // javascript is turned off then we want them to be
224 // visible); but by default, we want to hide them. So hide
225 // them unless we have a cookie that says to show them.