ó
úàÜdc @ s¡ d d l Z d d l Z d Z d d d „ ƒ YZ e j d ƒ d Z d Z d Z e ƒ Z e j e e
e ƒ ƒ Z e j ƒ Z
e
j ƒ Z e j e j e j e ƒ e j e ƒ Z e j e ƒ Z e d k sÕ e j rê d
GHe j d ƒ n e j ƒ e j e ƒ Z e j e ƒ Z e d k s(e j r=d GHe j d ƒ n e j ƒ [ [
[ e j ƒ e j ƒ e j d ƒ d k rd GHn d
e j d ƒ GHe j ƒ d 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( ( sH /opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/validSchemas.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( ( sH /opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/validSchemas.pyt handler s ( t __name__t
__module__R R ( ( ( sH /opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/validSchemas.pyR s i s¢
s¹
Raymond
G
Bayliss
s™
G
Bayliss
i s error doing schema validations- Error: document supposer to be schema invalidt OKs Memory leak %d bytes( ( t libxml2t sysR R t debugMemoryt schemat validt invalidt et schemaNewMemParserCtxtt lent ctxt_parsert schemaParset ctxt_schemat schemaNewValidCtxtt
ctxt_validt setValidityErrorHandlerR t parseDoct doct schemaValidateDoct retR t exitt freeDoct schemaCleanupTypest
cleanupParsert
dumpMemory( ( ( sH /opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/validSchemas.pyt sB