diff options
Diffstat (limited to 'Build/source/extra/expat/xmlwf/wfcheckmessage.c')
-rw-r--r-- | Build/source/extra/expat/xmlwf/wfcheckmessage.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/Build/source/extra/expat/xmlwf/wfcheckmessage.c b/Build/source/extra/expat/xmlwf/wfcheckmessage.c deleted file mode 100644 index 95e811f49dc..00000000000 --- a/Build/source/extra/expat/xmlwf/wfcheckmessage.c +++ /dev/null @@ -1,30 +0,0 @@ -#include "wfcheck.h" - -const char *wfCheckMessage(enum WfCheckResult result) -{ - static const char *message[] = { - 0, - "out of memory", - "syntax error", - "no element found", - "not well-formed", - "unclosed token", - "unclosed token", - "mismatched tag", - "duplicate attribute", - "junk after document element", - "parameter entity reference not allowed within declaration in internal subset", - "undefined entity", - "recursive entity reference", - "asynchronous entity", - "reference to invalid character number", - "reference to binary entity", - "reference to external entity in attribute", - "xml pi not at start of external entity", - "unknown encoding", - "encoding specified in XML declaration is incorrect" - }; - if (result > 0 && result < sizeof(message)/sizeof(message[0])) - return message[result]; - return 0; -} |