ok
Direktori : /opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/ |
Current File : //opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/validDTD.pyc |
� [��ec @ s� d d l Z d d l Z d d l Z d Z d d d � � YZ e j d � d Z d Z d Z e j d d � Z e j � Z e � Z e j e j e j e � e j e � Z e j e e � Z e d k s� e j r� d GHe j d � n e j � e j e � Z e j e e � Z e d k s(e j r0d GHn e j � e j � [ [ e j � e j d � d k rqd GHn d e j d � GHd S( i����Ns test stringt ErrorHandlerc B s e Z d � Z d � Z RS( c C s g | _ d S( N( t errors( t self( ( sD /opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/validDTD.pyt __init__ s c C s/ | t k r t d � � n | j j | � d S( Ns. Error handler did not receive correct argument( t ARGt ExceptionR t append( R t msgt data( ( sD /opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/validDTD.pyt handler s ( t __name__t __module__R R ( ( ( sD /opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/validDTD.pyR s i s <!ELEMENT foo EMPTY>s! <?xml version="1.0"?> <foo></foo>s'