version 1.1, 2012/02/21 23:37:58
|
version 1.1.1.2, 2014/06/15 19:53:38
|
Line 92 typedef xmlSchema *xmlSchemaPtr;
|
Line 92 typedef xmlSchema *xmlSchemaPtr;
|
* |
* |
* Signature of an error callback from an XSD validation |
* Signature of an error callback from an XSD validation |
*/ |
*/ |
typedef void (XMLCDECL *xmlSchemaValidityErrorFunc) (void *ctx, const char *msg, ...) LIBXML_ATTR_FORMAT(2,3); | typedef void (XMLCDECL *xmlSchemaValidityErrorFunc) |
| (void *ctx, const char *msg, ...) LIBXML_ATTR_FORMAT(2,3); |
|
|
/** |
/** |
* xmlSchemaValidityWarningFunc: |
* xmlSchemaValidityWarningFunc: |
Line 102 typedef void (XMLCDECL *xmlSchemaValidityErrorFunc) (v
|
Line 103 typedef void (XMLCDECL *xmlSchemaValidityErrorFunc) (v
|
* |
* |
* Signature of a warning callback from an XSD validation |
* Signature of a warning callback from an XSD validation |
*/ |
*/ |
typedef void (XMLCDECL *xmlSchemaValidityWarningFunc) (void *ctx, const char *msg, ...) LIBXML_ATTR_FORMAT(2,3); | typedef void (XMLCDECL *xmlSchemaValidityWarningFunc) |
| (void *ctx, const char *msg, ...) LIBXML_ATTR_FORMAT(2,3); |
|
|
/** |
/** |
* A schemas validation context |
* A schemas validation context |
Line 113 typedef xmlSchemaParserCtxt *xmlSchemaParserCtxtPtr;
|
Line 115 typedef xmlSchemaParserCtxt *xmlSchemaParserCtxtPtr;
|
typedef struct _xmlSchemaValidCtxt xmlSchemaValidCtxt; |
typedef struct _xmlSchemaValidCtxt xmlSchemaValidCtxt; |
typedef xmlSchemaValidCtxt *xmlSchemaValidCtxtPtr; |
typedef xmlSchemaValidCtxt *xmlSchemaValidCtxtPtr; |
|
|
|
/** |
|
* xmlSchemaValidityLocatorFunc: |
|
* @ctx: user provided context |
|
* @file: returned file information |
|
* @line: returned line information |
|
* |
|
* A schemas validation locator, a callback called by the validator. |
|
* This is used when file or node informations are not available |
|
* to find out what file and line number are affected |
|
* |
|
* Returns: 0 in case of success and -1 in case of error |
|
*/ |
|
|
|
typedef int (XMLCDECL *xmlSchemaValidityLocatorFunc) (void *ctx, |
|
const char **file, unsigned long *line); |
|
|
/* |
/* |
* Interfaces for parsing. |
* Interfaces for parsing. |
*/ |
*/ |
Line 171 XMLPUBFUN int XMLCALL
|
Line 189 XMLPUBFUN int XMLCALL
|
XMLPUBFUN int XMLCALL |
XMLPUBFUN int XMLCALL |
xmlSchemaSetValidOptions (xmlSchemaValidCtxtPtr ctxt, |
xmlSchemaSetValidOptions (xmlSchemaValidCtxtPtr ctxt, |
int options); |
int options); |
|
XMLPUBFUN void XMLCALL |
|
xmlSchemaValidateSetFilename(xmlSchemaValidCtxtPtr vctxt, |
|
const char *filename); |
XMLPUBFUN int XMLCALL |
XMLPUBFUN int XMLCALL |
xmlSchemaValidCtxtGetOptions(xmlSchemaValidCtxtPtr ctxt); |
xmlSchemaValidCtxtGetOptions(xmlSchemaValidCtxtPtr ctxt); |
|
|
Line 210 XMLPUBFUN xmlSchemaSAXPlugPtr XMLCALL
|
Line 231 XMLPUBFUN xmlSchemaSAXPlugPtr XMLCALL
|
void **user_data); |
void **user_data); |
XMLPUBFUN int XMLCALL |
XMLPUBFUN int XMLCALL |
xmlSchemaSAXUnplug (xmlSchemaSAXPlugPtr plug); |
xmlSchemaSAXUnplug (xmlSchemaSAXPlugPtr plug); |
|
|
|
|
|
XMLPUBFUN void XMLCALL |
|
xmlSchemaValidateSetLocator (xmlSchemaValidCtxtPtr vctxt, |
|
xmlSchemaValidityLocatorFunc f, |
|
void *ctxt); |
|
|
#ifdef __cplusplus |
#ifdef __cplusplus |
} |
} |
#endif |
#endif |