$19 GRAYBYTE WORDPRESS FILE MANAGER $98

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/cpanel/ea-libxml2/include/libxml2/libxml/

HOME
Current File : /opt/cpanel/ea-libxml2/include/libxml2/libxml//schematron.h
/**
 * @file
 * 
 * @brief XML Schematron implementation
 * 
 * interface to the XML Schematron validity checking.
 *
 * @copyright See Copyright for the status of this software.
 *
 * @author Daniel Veillard
 */


#ifndef __XML_SCHEMATRON_H__
#define __XML_SCHEMATRON_H__

#include <libxml/xmlversion.h>

#ifdef LIBXML_SCHEMATRON_ENABLED

#include <libxml/xmlerror.h>
#include <libxml/tree.h>

#ifdef __cplusplus
extern "C" {
#endif

/**
 * Schematron validation options
 */
typedef enum {
    /** quiet no report */
    XML_SCHEMATRON_OUT_QUIET = 1 << 0,
    /** build a textual report */
    XML_SCHEMATRON_OUT_TEXT = 1 << 1,
    /** output SVRL */
    XML_SCHEMATRON_OUT_XML = 1 << 2,
    /** output via xmlStructuredErrorFunc */
    XML_SCHEMATRON_OUT_ERROR = 1 << 3,
    /** output to a file descriptor */
    XML_SCHEMATRON_OUT_FILE = 1 << 8,
    /** output to a buffer */
    XML_SCHEMATRON_OUT_BUFFER = 1 << 9,
    /** output to I/O mechanism */
    XML_SCHEMATRON_OUT_IO = 1 << 10
} xmlSchematronValidOptions;

/** Schematron schema */
typedef struct _xmlSchematron xmlSchematron;
typedef xmlSchematron *xmlSchematronPtr;

/**
 * Signature of an error callback from a Schematron validation
 *
 * @param ctx  the validation context
 * @param msg  the message
 * @param ... extra arguments
 */
typedef void (*xmlSchematronValidityErrorFunc) (void *ctx, const char *msg, ...);

/**
 * Signature of a warning callback from a Schematron validation
 *
 * @param ctx  the validation context
 * @param msg  the message
 * @param ... extra arguments
 */
typedef void (*xmlSchematronValidityWarningFunc) (void *ctx, const char *msg, ...);

/** Schematron parser context */
typedef struct _xmlSchematronParserCtxt xmlSchematronParserCtxt;
typedef xmlSchematronParserCtxt *xmlSchematronParserCtxtPtr;

/** Schematron validation context */
typedef struct _xmlSchematronValidCtxt xmlSchematronValidCtxt;
typedef xmlSchematronValidCtxt *xmlSchematronValidCtxtPtr;

/*
 * Interfaces for parsing.
 */
XMLPUBFUN xmlSchematronParserCtxt *
	    xmlSchematronNewParserCtxt	(const char *URL);
XMLPUBFUN xmlSchematronParserCtxt *
	    xmlSchematronNewMemParserCtxt(const char *buffer,
					 int size);
XMLPUBFUN xmlSchematronParserCtxt *
	    xmlSchematronNewDocParserCtxt(xmlDoc *doc);
XMLPUBFUN void
	    xmlSchematronFreeParserCtxt	(xmlSchematronParserCtxt *ctxt);
/*****
XMLPUBFUN void
	    xmlSchematronSetParserErrors(xmlSchematronParserCtxt *ctxt,
					 xmlSchematronValidityErrorFunc err,
					 xmlSchematronValidityWarningFunc warn,
					 void *ctx);
XMLPUBFUN int
		xmlSchematronGetParserErrors(xmlSchematronParserCtxt *ctxt,
					xmlSchematronValidityErrorFunc * err,
					xmlSchematronValidityWarningFunc * warn,
					void **ctx);
XMLPUBFUN int
		xmlSchematronIsValid	(xmlSchematronValidCtxt *ctxt);
 *****/
XMLPUBFUN xmlSchematron *
	    xmlSchematronParse		(xmlSchematronParserCtxt *ctxt);
XMLPUBFUN void
	    xmlSchematronFree		(xmlSchematron *schema);
/*
 * Interfaces for validating
 */
XMLPUBFUN void
	    xmlSchematronSetValidStructuredErrors(
	                                  xmlSchematronValidCtxt *ctxt,
					  xmlStructuredErrorFunc serror,
					  void *ctx);
/******
XMLPUBFUN void
	    xmlSchematronSetValidErrors	(xmlSchematronValidCtxt *ctxt,
					 xmlSchematronValidityErrorFunc err,
					 xmlSchematronValidityWarningFunc warn,
					 void *ctx);
XMLPUBFUN int
	    xmlSchematronGetValidErrors	(xmlSchematronValidCtxt *ctxt,
					 xmlSchematronValidityErrorFunc *err,
					 xmlSchematronValidityWarningFunc *warn,
					 void **ctx);
XMLPUBFUN int
	    xmlSchematronSetValidOptions(xmlSchematronValidCtxt *ctxt,
					 int options);
XMLPUBFUN int
	    xmlSchematronValidCtxtGetOptions(xmlSchematronValidCtxt *ctxt);
XMLPUBFUN int
            xmlSchematronValidateOneElement (xmlSchematronValidCtxt *ctxt,
			                 xmlNode *elem);
 *******/

XMLPUBFUN xmlSchematronValidCtxt *
	    xmlSchematronNewValidCtxt	(xmlSchematron *schema,
					 int options);
XMLPUBFUN void
	    xmlSchematronFreeValidCtxt	(xmlSchematronValidCtxt *ctxt);
XMLPUBFUN int
	    xmlSchematronValidateDoc	(xmlSchematronValidCtxt *ctxt,
					 xmlDoc *instance);

#ifdef __cplusplus
}
#endif

#endif /* LIBXML_SCHEMATRON_ENABLED */
#endif /* __XML_SCHEMATRON_H__ */

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
1 Jan 1970 8.00 AM
root / root
0
HTMLparser.h
10.363 KB
19 Nov 2025 1.25 AM
root / root
0644
HTMLtree.h
2.637 KB
19 Nov 2025 1.25 AM
root / root
0644
SAX.h
0.386 KB
19 Nov 2025 1.25 AM
root / root
0644
SAX2.h
4.136 KB
19 Nov 2025 1.25 AM
root / root
0644
c14n.h
2.614 KB
19 Nov 2025 1.25 AM
root / root
0644
catalog.h
4.909 KB
19 Nov 2025 1.25 AM
root / root
0644
chvalid.h
4.708 KB
19 Nov 2025 1.25 AM
root / root
0644
debugXML.h
1.616 KB
19 Nov 2025 1.25 AM
root / root
0644
dict.h
1.738 KB
19 Nov 2025 1.25 AM
root / root
0644
encoding.h
9.632 KB
19 Nov 2025 1.25 AM
root / root
0644
entities.h
4.276 KB
19 Nov 2025 1.25 AM
root / root
0644
globals.h
0.577 KB
19 Nov 2025 1.25 AM
root / root
0644
hash.h
6.799 KB
19 Nov 2025 1.25 AM
root / root
0644
list.h
3.066 KB
19 Nov 2025 1.25 AM
root / root
0644
nanoftp.h
0.315 KB
19 Nov 2025 1.25 AM
root / root
0644
nanohttp.h
2.094 KB
19 Nov 2025 1.25 AM
root / root
0644
parser.h
58.893 KB
19 Nov 2025 1.25 AM
root / root
0644
parserInternals.h
13.524 KB
19 Nov 2025 1.25 AM
root / root
0644
pattern.h
2.542 KB
19 Nov 2025 1.25 AM
root / root
0644
relaxng.h
5.913 KB
19 Nov 2025 1.25 AM
root / root
0644
schemasInternals.h
22.715 KB
19 Nov 2025 1.25 AM
root / root
0644
schematron.h
4.159 KB
19 Nov 2025 1.25 AM
root / root
0644
threads.h
1.531 KB
19 Nov 2025 1.25 AM
root / root
0644
tree.h
39.3 KB
19 Nov 2025 1.25 AM
root / root
0644
uri.h
2.663 KB
19 Nov 2025 1.25 AM
root / root
0644
valid.h
11.609 KB
19 Nov 2025 1.25 AM
root / root
0644
xinclude.h
2.808 KB
19 Nov 2025 1.25 AM
root / root
0644
xlink.h
5.035 KB
19 Nov 2025 1.25 AM
root / root
0644
xmlIO.h
11.322 KB
19 Nov 2025 1.25 AM
root / root
0644
xmlautomata.h
3.798 KB
19 Nov 2025 1.25 AM
root / root
0644
xmlerror.h
38.413 KB
19 Nov 2025 1.25 AM
root / root
0644
xmlexports.h
2.357 KB
19 Nov 2025 1.25 AM
root / root
0644
xmlmemory.h
4.932 KB
19 Nov 2025 1.25 AM
root / root
0644
xmlmodule.h
1.131 KB
19 Nov 2025 1.25 AM
root / root
0644
xmlreader.h
12.237 KB
19 Nov 2025 1.25 AM
root / root
0644
xmlregexp.h
2.396 KB
19 Nov 2025 1.25 AM
root / root
0644
xmlsave.h
3.395 KB
19 Nov 2025 1.25 AM
root / root
0644
xmlschemas.h
6.768 KB
19 Nov 2025 1.25 AM
root / root
0644
xmlschemastypes.h
4.436 KB
19 Nov 2025 1.25 AM
root / root
0644
xmlstring.h
5.125 KB
19 Nov 2025 1.25 AM
root / root
0644
xmlunicode.h
0.274 KB
19 Nov 2025 1.25 AM
root / root
0644
xmlversion.h
3.9 KB
19 Nov 2025 1.25 AM
root / root
0644
xmlwriter.h
19.992 KB
19 Nov 2025 1.25 AM
root / root
0644
xpath.h
14.41 KB
19 Nov 2025 1.25 AM
root / root
0644
xpathInternals.h
17.359 KB
19 Nov 2025 1.25 AM
root / root
0644
xpointer.h
0.908 KB
19 Nov 2025 1.25 AM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF