ok
Direktori : /opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/ |
Current File : //opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/pushSAXhtml.pyc |
� [��ec @ s d d l Z d d l Z d d l Z e j d � d a d d d � � YZ e � Z e j e d d d � Z d Z e j e e e � d � d Z e j e e e � d � d Z d Z t e k r� d t GHd e GHe j d � n e j � e j d � d k r d GHn d e j d � GHd S( i����Ni t t callbackc B sP e Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z RS( c C s t d a d S( Ns startDocument:( t log( t self( ( sG /opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/pushSAXhtml.pyt startDocument s c C s t d a d S( Ns endDocument:( R ( R ( ( sG /opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/pushSAXhtml.pyt endDocument s c C s t d | | f a d S( Ns startElement %s %s:( R ( R t tagt attrs( ( sG /opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/pushSAXhtml.pyt startElement s c C s t d | a d S( Ns endElement %s:( R ( R R ( ( sG /opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/pushSAXhtml.pyt endElement s c C s t d | a d S( Ns characters: %s:( R ( R t data( ( sG /opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/pushSAXhtml.pyt characters s c C s t d | a d S( Ns warning: %s:( R ( R t msg( ( sG /opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/pushSAXhtml.pyt warning s c C s t d | a d S( Ns error: %s:( R ( R R ( ( sG /opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/pushSAXhtml.pyt error$ s c C s t d | a d S( Ns fatalError: %s:( R ( R R ( ( sG /opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/pushSAXhtml.pyt fatalError( s ( t __name__t __module__R R R R R R R R ( ( ( sG /opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/pushSAXhtml.pyR s s <fooi s test.xmls url='tst'>bi s ar</foo>s� startDocument:startElement html None:startElement body None:startElement foo {'url': 'tst'}:error: Tag foo invalid :characters: bar:endElement foo:endElement body:endElement html:endDocument:s Error got: %ss Exprected: %st OKs Memory leak %d bytes( ( t syst setup_testt libxml2t debugMemoryR R t handlert htmlCreatePushParsert ctxtt chunkt htmlParseChunkt lent Nonet referencet exitt cleanupParser( ( ( sG /opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/pushSAXhtml.pyt <module> s* !