ok

Mini Shell

Direktori : /opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/
Upload File :
Current File : //opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/indexes.pyo

�
[��ec@s�ddlZddlZddlZejd�daddd��YZeddddd	�Zejed
dd�ad
Z	dZ
x3e
dkr�tje	ee	�d�e
dZ
q�WdZ	tje	ee	�d�daeddddd	�ZdZ	ejee	ee	�d�adZ	dZ
x3e
dkr^tje	ee	�d�e
dZ
q,WdZ	tje	ee	�d�daej
�ejd�dkr�dGHndejd�GHdS(i����NitcallbackcBs>eZd�Zd�Zd�Zd�Zd�Zd�ZRS(cCs:||_||_||_||_||_d|_dS(Ni(tstartdtstartetendetenddtdeltatcount(tselfRRRRR((sC/opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/indexes.pyt__init__
s					cCsAtj�|jkr=dtj�|jfGHtjd�ndS(Ns/document start at wrong index: %d expecting %d
i(tctxttbyteConsumedRtsystexit(R((sC/opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/indexes.pyt
startDocumentscCs]|j|j|jd|j}tj�|krYdtj�|fGHtjd�ndS(Nis-document end at wrong index: %d expecting %d
(RRRRR	R
RR(Rtexpect((sC/opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/indexes.pytendDocuments
"cCsa|dkr]|j|j|j}tj�|kr]dtj�|fGHtjd�q]ndS(Ntbar1s.element start at wrong index: %d expecting %d
i(RRRR	R
RR(RttagtattrsR((sC/opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/indexes.pytstartElement$scCsq|dkrm|j|j|j}tj�|krZdtj�|fGHtjd�n|jd|_ndS(NRs,element end at wrong index: %d expecting %d
i(RRRR	R
RR(RRR((sC/opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/indexes.pyt
endElement.scCsdS(N((Rtdata((sC/opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/indexes.pyt
characters8s(t__name__t
__module__RR
RRRR(((sC/opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/indexes.pyRs				
	
ii
ii�i�s<foo>
istest.xmls�  <bar1>chars1</bar1>
  <bar2>chars2</bar2>
  <bar3>chars3</bar3>
  <bar4>chars4</bar4>
  <bar5>chars5</bar5>
  <bar6>&lt;s6</bar6>
  <bar7>chars7</bar7>
  <bar8>&#38;8</bar8>
  <bar9>chars9</bar9>
i's</foo>i+i9iGs2<?xml version="1.0" encoding="ISO-8859-1"?>
<foo>
s�  <bar1>chars1</bar1>
  <bar2>chars2</bar2>
  <bar3>chars3</bar3>
  <bar4>ch�rs4</bar4>
  <bar5>chars5</bar5>
  <bar6>&lt;s6</bar6>
  <bar7>chars7</bar7>
  <bar8>&#38;8</bar8>
  <bar9>tr�s 9</bar9>
tOKsMemory leak %d bytes((Rt
setup_testtlibxml2tdebugMemorytNoneR	RthandlertcreatePushParsertchunktit
parseChunktlent
cleanupParser(((sC/opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/indexes.pyt<module>s<
2




Zerion Mini Shell 1.0