PHP 8.2.30
Preview: schematron.pxd Size: 1.60 KB
//proc/thread-self/root/opt/cloudlinux/venv/lib/python3.11/site-packages/lxml/includes/schematron.pxd

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)

Directory Contents

Dirs: 5 × Files: 19

Name Size Perms Modified Actions
extlibs DIR
- drwxr-xr-x 2026-02-06 08:01:08
Edit Download
libexslt DIR
- drwxr-xr-x 2026-02-06 08:01:08
Edit Download
libxml DIR
- drwxr-xr-x 2026-02-06 08:01:08
Edit Download
libxslt DIR
- drwxr-xr-x 2026-02-06 08:01:08
Edit Download
- drwxr-xr-x 2026-02-06 08:01:08
Edit Download
1.10 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
96 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download
671 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download
9.88 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
15.00 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
2.80 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
71 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download
2.61 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
1.60 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
19.62 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
139 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download
852 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download
56.64 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
10.61 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
1.66 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
5.66 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
8.15 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
0 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download
0 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).