ok

Mini Shell

Direktori : /opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/
Upload File :
Current File : //opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/validRNG.pyo

�
[��ec@s�ddlZddlZddlZdZddd��YZejd�dZdZdZej	ee
e��Zej�Z
e
j�Ze�Zejejeje�eje�Zeje�Zed	ks�ejr�d
GHejd�nej�eje�Zeje�Zed	ks4ejrIdGHejd�nej�[[
[ej�ej�ejd�d	kr�dGHnd
ejd�GHdS(i����Nstest 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�<?xml version="1.0"?>
<element name="foo"
         xmlns="http://relaxng.org/ns/structure/1.0"
         xmlns:a="http://relaxng.org/ns/annotation/1.0"
         xmlns:ex1="http://www.example.com/n1"
         xmlns:ex2="http://www.example.com/n2">
  <a:documentation>A foo element.</a:documentation>
  <element name="ex1:bar1">
    <empty/>
  </element>
  <element name="ex2:bar2">
    <empty/>
  </element>
</element>
s�<?xml version="1.0"?>
<foo><pre1:bar1 xmlns:pre1="http://www.example.com/n1"/><pre2:bar2 xmlns:pre2="http://www.example.com/n2"/></foo>s�<?xml version="1.0"?>
<foo><pre1:bar1 xmlns:pre1="http://www.example.com/n1">bad</pre1:bar1><pre2:bar2 xmlns:pre2="http://www.example.com/n2"/></foo>iserror doing RelaxNG validations.Error: document supposed to be RelaxNG invalidtOKsMemory leak %d bytes((t
setup_testtlibxml2tsysRRtdebugMemorytschematvalidtinvalidtrelaxNGNewMemParserCtxttlentrngptrelaxNGParsetrngstrelaxNGNewValidCtxttctxttetsetValidityErrorHandlerR	tparseDoctdoctrelaxNGValidateDoctretRtexittfreeDoctrelaxNGCleanupTypest
cleanupParser(((sD/opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/validRNG.pyt<module>sB
	





Zerion Mini Shell 1.0