ok
Direktori : /opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/ |
Current File : //opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/readererr.pyo |
� [��ec @ s� d d l Z d d l Z d d l Z y d d l Z e j Z Wn d d l Z e j Z n Xe j d � d Z d a d � Z e d � Z e j e � Z e j d � Z e j e d � x e j � d k r� q� Wt e k rd GHd t GHd e GHe j d � n e j d d � e j � d k r;d GHe j d � n [ [ [ e j � e j d � d k rkd GHn d e j d � GHd S( i����Ni so --> (3) test1:1:xmlns: URI foo is not absolute --> (4) test1:1:Opening and ending tag mismatch: c line 1 and a t c C s- t d | | | j � | j � | f a d S( Ns %s (%d) %s:%d:%s( t errt BaseURIt LineNumber( t argt msgt severityt locator( ( sE /opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/readererr.pyt myErrorHandler s s. <a xmlns="foo"><b b1="b1"/><c>content of c</a>t test1s -->t errors received %ss expected %ss GetErrorHandler failedi t OKs Memory leak %d bytes( NN( t setup_testt libxml2t syst StringIOt str_iot iot debugMemoryt expectR R t ft inputBuffert inputt newTextReadert readert SetErrorHandlert Readt exitt Nonet GetErrorHandlert cleanupParser( ( ( sE /opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/readererr.pyt <module> sD