version 1.8, 1999/04/21 11:12:53
|
version 1.9, 1999/08/02 16:45:50
|
Line 11
|
Line 11
|
#define __XML_VALID_H__ |
#define __XML_VALID_H__ |
#include "tree.h" |
#include "tree.h" |
|
|
|
/** |
|
* an xmlValidCtxt is used for error reporting when validating |
|
*/ |
|
|
|
typedef void (*xmlValidityErrorFunc) (void *ctx, const char *msg, ...); |
|
typedef void (*xmlValidityWarningFunc) (void *ctx, const char *msg, ...); |
|
|
|
typedef struct xmlValidCtxt { |
|
void *userData; /* user specific data block */ |
|
xmlValidityErrorFunc error; /* the callback in case of errors */ |
|
xmlValidityWarningFunc warning; /* the callback in case of warning */ |
|
} xmlValidCtxt, *xmlValidCtxtPtr; |
|
|
|
extern void xmlParserValidityError(void *ctx, const char *msg, ...); |
|
extern void xmlParserValidityWarning(void *ctx, const char *msg, ...); |
|
|
/* |
/* |
* ALl notation declarations are stored in a table |
* ALl notation declarations are stored in a table |
* there is one table per DTD |
* there is one table per DTD |
Line 85 xmlAttributeTablePtr xmlCopyAttributeTab
|
Line 101 xmlAttributeTablePtr xmlCopyAttributeTab
|
void xmlFreeAttributeTable(xmlAttributeTablePtr table); |
void xmlFreeAttributeTable(xmlAttributeTablePtr table); |
void xmlDumpAttributeTable(xmlBufferPtr buf, xmlAttributeTablePtr table); |
void xmlDumpAttributeTable(xmlBufferPtr buf, xmlAttributeTablePtr table); |
|
|
|
/** |
|
* The public function calls related to validity checking |
|
*/ |
|
|
|
int xmlValidateRoot(xmlValidCtxtPtr ctxt, xmlDocPtr doc); |
|
|
#endif /* __XML_VALID_H__ */ |
#endif /* __XML_VALID_H__ */ |