ok
Direktori : /opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/ |
Current File : //opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/schema.pyc |
� [��ec @ s d d l Z d d l Z d d l Z e j d � d Z d Z e j e e e � � Z e j � Z e j � Z e j e � Z e j e � Z e d k r� d GHe j d � n e j � [ [ [ e j � e j � e j d � d k r� d GHn d e j d � GHd S( i����Ni s� <?xml version="1.0" encoding="iso-8859-1"?> <schema xmlns = "http://www.w3.org/2001/XMLSchema"> <element name = "Customer"> <complexType> <sequence> <element name = "FirstName" type = "string" /> <element name = "MiddleInitial" type = "string" /> <element name = "LastName" type = "string" /> </sequence> <attribute name = "customerID" type = "integer" /> </complexType> </element> </schema>s� <?xml version="1.0" encoding="iso-8859-1"?> <Customer customerID = "24332"> <FirstName>Raymond</FirstName> <MiddleInitial>G</MiddleInitial> <LastName>Bayliss</LastName> </Customer> i s error doing schema validationt OKs Memory leak %d bytes( t setup_testt libxml2t syst debugMemoryt schemat instancet schemaNewMemParserCtxtt lent ctxt_parsert schemaParset ctxt_schemat schemaNewValidCtxtt ctxt_validt parseDoct doct schemaValidateDoct rett exitt freeDoct schemaCleanupTypest cleanupParser( ( ( sB /opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/schema.pyt <module> s,