[ Avaa Bypassed ]




Upload:

Command:

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

cdef extern from "libxml/schematron.h":
    ctypedef struct xmlSchematron
    ctypedef struct xmlSchematronParserCtxt
    ctypedef struct xmlSchematronValidCtxt

    ctypedef enum xmlSchematronValidOptions:
        XML_SCHEMATRON_OUT_QUIET     =    1 # quiet no report
        XML_SCHEMATRON_OUT_TEXT      =    2 # build a textual report
        XML_SCHEMATRON_OUT_XML       =    4 # output SVRL
        XML_SCHEMATRON_OUT_ERROR     =    8 # output via xmlStructuredErrorFunc
        XML_SCHEMATRON_OUT_FILE      =  256 # output to a file descriptor
        XML_SCHEMATRON_OUT_BUFFER    =  512 # output to a buffer
        XML_SCHEMATRON_OUT_IO        = 1024 # output to I/O mechanism

    cdef xmlSchematronParserCtxt* xmlSchematronNewDocParserCtxt(
        xmlDoc* doc) nogil
    cdef xmlSchematronParserCtxt* xmlSchematronNewParserCtxt(
        char* filename) nogil
    cdef xmlSchematronValidCtxt* xmlSchematronNewValidCtxt(
        xmlSchematron* schema, int options) nogil

    cdef xmlSchematron* xmlSchematronParse(xmlSchematronParserCtxt* ctxt) nogil
    cdef int xmlSchematronValidateDoc(xmlSchematronValidCtxt* ctxt,
                                      xmlDoc* instance) nogil

    cdef void xmlSchematronFreeParserCtxt(xmlSchematronParserCtxt* ctxt) nogil
    cdef void xmlSchematronFreeValidCtxt(xmlSchematronValidCtxt* ctxt) nogil
    cdef void xmlSchematronFree(xmlSchematron* schema) nogil
    cdef void xmlSchematronSetValidStructuredErrors(
        xmlSchematronValidCtxt* ctxt,
        xmlerror.xmlStructuredErrorFunc error_func, void *data)

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