1997-11-11 00:52:10 -05:00
|
|
|
|
|
|
|
#include <stddef.h>
|
|
|
|
|
|
|
|
enum WfCheckResult {
|
|
|
|
wellFormed,
|
1997-11-13 04:05:46 -05:00
|
|
|
wellFormedOutsideDtd,
|
1997-11-11 00:52:10 -05:00
|
|
|
noMemory,
|
|
|
|
noElements,
|
|
|
|
invalidToken,
|
|
|
|
unclosedToken,
|
|
|
|
partialChar,
|
|
|
|
tagMismatch,
|
|
|
|
duplicateAttribute,
|
|
|
|
junkAfterDocElement
|
|
|
|
};
|
|
|
|
|
1997-11-12 05:38:58 -05:00
|
|
|
enum WfCheckResult wfCheck(const char *s, size_t n,
|
|
|
|
const char **errorPtr,
|
|
|
|
unsigned long *errorLineNumber,
|
|
|
|
unsigned long *errorColNumber);
|
1997-11-11 00:52:10 -05:00
|
|
|
|