ó úàÜdc@s¡ddlZddlZdZddd„ƒYZejdƒdZdZdZejee eƒƒZ e j ƒZ e j ƒZeƒZejejejeƒejeƒZejeƒZed ksÕejrêd GHejdƒnejƒejeƒZejeƒZed ks(ej r=d GHejdƒnejƒ[ [ [ejƒejƒejdƒd krd GHnd ejdƒGHejƒdS(iÿÿÿÿNs test stringt ErrorHandlercBseZd„Zd„ZRS(cCs g|_dS(N(terrors(tself((sD/opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/validRNG.pyt__init__ scCs/|tkrtdƒ‚n|jj|ƒdS(Ns.Error handler did not receive correct argument(tARGt ExceptionRtappend(Rtmsgtdata((sD/opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/validRNG.pythandler s (t__name__t __module__RR (((sD/opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/validRNG.pyRs is¡ A foo element. s‡ s• badiserror doing RelaxNG validations.Error: document supposed to be RelaxNG invalidtOKsMemory leak %d bytes((tlibxml2tsysRRt debugMemorytschematvalidtinvalidtrelaxNGNewMemParserCtxttlentrngpt relaxNGParsetrngstrelaxNGNewValidCtxttctxttetsetValidityErrorHandlerR tparseDoctdoctrelaxNGValidateDoctretRtexittfreeDoctrelaxNGCleanupTypest cleanupParsert dumpMemory(((sD/opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/validRNG.pytsB