01: package com.jclark.xml.parse;
02:
03: /**
04: * The keys of the messages that can be generated by <code>EntityParser</code>.
05: * @see EntityParser
06: * @version $Revision: 1.6 $ $Date: 1998/05/14 02:04:05 $
07: */
08:
09: interface MessageId {
10: /* Using the same name of the identifier as the string saves space
11: in the class file. */
12: static final String MESSAGE_FORMAT = "MESSAGE_FORMAT";
13: static final String PUBID_CHAR = "PUBID_CHAR";
14: static final String ELEMENT_AFTER_DOCUMENT_ELEMENT = "ELEMENT_AFTER_DOCUMENT_ELEMENT";
15: static final String BAD_INITIAL_BYTES = "BAD_INITIAL_BYTES";
16: static final String BAD_DECL_ENCODING = "BAD_DECL_ENCODING";
17: static final String INVALID_XML_DECLARATION = "INVALID_XML_DECLARATION";
18: static final String IGNORE_SECT_CHAR = "IGNORE_SECT_CHAR";
19: static final String INVALID_END_TAG = "INVALID_END_TAG";
20: static final String EPILOG_JUNK = "EPILOG_JUNK";
21: static final String MISMATCHED_END_TAG = "MISMATCHED_END_TAG";
22: static final String MISPLACED_XML_DECL = "MISPLACED_XML_DECL";
23: static final String MISSING_END_TAG = "MISSING_END_TAG";
24: static final String NO_DOCUMENT_ELEMENT = "NO_DOCUMENT_ELEMENT";
25: static final String NOT_WELL_FORMED = "NOT_WELL_FORMED";
26: static final String PE_GROUP_NESTING = "PE_GROUP_NESTING";
27: static final String PE_DECL_NESTING = "PE_DECL_NESTING";
28: static final String INTERNAL_PEREF_ENTVAL = "INTERNAL_PEREF_ENTVAL";
29: static final String RECURSION = "RECURSION";
30: static final String EXTERN_REF_ATTVAL = "EXTERN_REF_ATTVAL";
31: static final String UNDEF_REF = "UNDEF_REF";
32: static final String UNDEF_PEREF = "UNDEF_PEREF";
33: static final String UNPARSED_REF = "UNPARSED_REF";
34: static final String SYNTAX_ERROR = "SYNTAX_ERROR";
35: static final String UNCLOSED_CDATA_SECTION = "UNCLOSED_CDATA_SECTION";
36: static final String UNCLOSED_CONDITIONAL_SECTION = "UNCLOSED_CONDITIONAL_SECTION";
37: static final String UNCLOSED_TOKEN = "UNCLOSED_TOKEN";
38: static final String UNSUPPORTED_ENCODING = "UNSUPPORTED_ENCODING";
39: static final String DUPLICATE_ATTRIBUTE = "DUPLICATE_ATTRIBUTE";
40: static final String XML_TARGET = "XML_TARGET";
41: static final String ILLEGAL_CHAR = "ILLEGAL_CHAR";
42: }
|