Imported Upstream version 4.5.2
[platform/upstream/python-lxml.git] / doc / html / api / lxml.etree.DocumentInvalid-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.DocumentInvalid</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;DocumentInvalid
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.DocumentInvalid-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 DocumentInvalid</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                                       <strong class="uidshort">DocumentInvalid</strong>
77 </pre>
78
79 <hr />
80 <p>Validation error.</p>
81 <p>Raised by all document validators when their <tt class="rst-docutils literal">assertValid(tree)</tt>
82 method fails.</p>
83
84 <!-- ==================== INSTANCE METHODS ==================== -->
85 <a name="section-InstanceMethods"></a>
86 <table class="summary" border="1" cellpadding="3"
87        cellspacing="0" width="100%" bgcolor="white">
88 <tr bgcolor="#70b0f0" class="table-header">
89   <td colspan="2" class="table-header">
90     <table border="0" cellpadding="0" cellspacing="0" width="100%">
91       <tr valign="top">
92         <td align="left"><span class="table-header">Instance Methods</span></td>
93         <td align="right" valign="top"
94          ><span class="options">[<a href="#section-InstanceMethods"
95          class="privatelink" onclick="toggle_private();"
96          >hide private</a>]</span></td>
97       </tr>
98     </table>
99   </td>
100 </tr>
101 <tr>
102     <td width="15%" align="right" valign="top" class="summary">
103       <span class="summary-type">a new object with type S, a subtype of T</span>
104     </td><td class="summary">
105       <table width="100%" cellpadding="0" cellspacing="0" border="0">
106         <tr>
107           <td><span class="summary-sig"><a href="lxml.etree.DocumentInvalid-class.html#__new__" class="summary-sig-name">__new__</a>(<span class="summary-sig-arg">T</span>,
108         <span class="summary-sig-arg">S</span>,
109         <span class="summary-sig-arg">...</span>)</span></td>
110           <td align="right" valign="top">
111             
112             
113           </td>
114         </tr>
115       </table>
116       
117     </td>
118   </tr>
119   <tr>
120     <td colspan="2" class="summary">
121     <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.etree.LxmlError-class.html">LxmlError</a></code></b>:
122       <code><a href="lxml.etree.LxmlError-class.html#__init__">__init__</a></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>__str__</code>,
134       <code>__unicode__</code>
135       </p>
136     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
137       <code>__format__</code>,
138       <code>__hash__</code>,
139       <code>__reduce_ex__</code>,
140       <code>__sizeof__</code>,
141       <code>__subclasshook__</code>
142       </p>
143     </td>
144   </tr>
145 </table>
146 <!-- ==================== PROPERTIES ==================== -->
147 <a name="section-Properties"></a>
148 <table class="summary" border="1" cellpadding="3"
149        cellspacing="0" width="100%" bgcolor="white">
150 <tr bgcolor="#70b0f0" class="table-header">
151   <td colspan="2" class="table-header">
152     <table border="0" cellpadding="0" cellspacing="0" width="100%">
153       <tr valign="top">
154         <td align="left"><span class="table-header">Properties</span></td>
155         <td align="right" valign="top"
156          ><span class="options">[<a href="#section-Properties"
157          class="privatelink" onclick="toggle_private();"
158          >hide private</a>]</span></td>
159       </tr>
160     </table>
161   </td>
162 </tr>
163   <tr>
164     <td colspan="2" class="summary">
165     <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
166       <code>args</code>,
167       <code>message</code>
168       </p>
169     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
170       <code>__class__</code>
171       </p>
172     </td>
173   </tr>
174 </table>
175 <!-- ==================== METHOD DETAILS ==================== -->
176 <a name="section-MethodDetails"></a>
177 <table class="details" border="1" cellpadding="3"
178        cellspacing="0" width="100%" bgcolor="white">
179 <tr bgcolor="#70b0f0" class="table-header">
180   <td colspan="2" class="table-header">
181     <table border="0" cellpadding="0" cellspacing="0" width="100%">
182       <tr valign="top">
183         <td align="left"><span class="table-header">Method Details</span></td>
184         <td align="right" valign="top"
185          ><span class="options">[<a href="#section-MethodDetails"
186          class="privatelink" onclick="toggle_private();"
187          >hide private</a>]</span></td>
188       </tr>
189     </table>
190   </td>
191 </tr>
192 </table>
193 <a name="__new__"></a>
194 <div>
195 <table class="details" border="1" cellpadding="3"
196        cellspacing="0" width="100%" bgcolor="white">
197 <tr><td>
198   <table width="100%" cellpadding="0" cellspacing="0" border="0">
199   <tr valign="top"><td>
200   <h3 class="epydoc"><span class="sig"><span class="sig-name">__new__</span>(<span class="sig-arg">T</span>,
201         <span class="sig-arg">S</span>,
202         <span class="sig-arg">...</span>)</span>
203   </h3>
204   </td><td align="right" valign="top"
205     >&nbsp;
206     </td>
207   </tr></table>
208   
209   
210   <dl class="fields">
211     <dt>Returns: a new object with type S, a subtype of T</dt>
212     <dt>Overrides:
213         object.__new__
214     </dt>
215   </dl>
216 </td></tr></table>
217 </div>
218 <br />
219 <!-- ==================== NAVIGATION BAR ==================== -->
220 <table class="navbar" border="0" width="100%" cellpadding="0"
221        bgcolor="#a0c0ff" cellspacing="0">
222   <tr valign="middle">
223   <!-- Home link -->
224       <th>&nbsp;&nbsp;&nbsp;<a
225         href="lxml-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
226
227   <!-- Tree link -->
228       <th>&nbsp;&nbsp;&nbsp;<a
229         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
230
231   <!-- Index link -->
232       <th>&nbsp;&nbsp;&nbsp;<a
233         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
234
235   <!-- Help link -->
236       <th>&nbsp;&nbsp;&nbsp;<a
237         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
238
239   <!-- Project homepage -->
240       <th class="navbar" align="right" width="100%">
241         <table border="0" cellpadding="0" cellspacing="0">
242           <tr><th class="navbar" align="center"
243             ><a class="navbar" target="_top" href="/">lxml API</a></th>
244           </tr></table></th>
245   </tr>
246 </table>
247 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
248   <tr>
249     <td align="left" class="footer">
250     Generated by Epydoc 3.0.1
251     on Thu Jul  9 18:29:53 2020
252     </td>
253     <td align="right" class="footer">
254       <a target="mainFrame" href="http://epydoc.sourceforge.net"
255         >http://epydoc.sourceforge.net</a>
256     </td>
257   </tr>
258 </table>
259
260 <script type="text/javascript">
261   <!--
262   // Private objects are initially displayed (because if
263   // javascript is turned off then we want them to be
264   // visible); but by default, we want to hide them.  So hide
265   // them unless we have a cookie that says to show them.
266   checkCookie();
267   // -->
268 </script>
269 </body>
270 </html>