home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 10
/
Fresh_Fish_10_2352.bin
/
new
/
dev
/
lang
/
sgmls
/
src
/
msg.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-07-10
|
20KB
|
259 lines
/*
Severity codes:
I information (not an SGML error at all)
W warning (an SGML markup error but it knows what you mean)
E error
C critical (fatal)
Type codes:
R resource
C ?context/content
M minimization
Q quantity
S syntax
D declaration
U unsupported feature
*/
struct {
char *text;
char severity;
char type;
} messages[] = {
/* 0 */ {0},
/* 1 */ {"%s element not allowed at this point in %s element", 'E', 'C'},
/* 2 */ {"%s markup declaration not permitted here; declaration ended", 'E', 'D'},
/* 3 */ {"Length of name, number, or token exceeded NAMELEN or LITLEN limit", 'E', 'Q'},
/* 4 */ {"Non-SGML character ignored", 'E', 'S'},
/* 5 */ {"%s end-tag ignored: doesn't end any open element (current is %s)", 'E', 'C'},
/* 6 */ {"%s start-tag exceeds open element limit; possible lies from %s on", 'E', 'Q'},
/* 7 */ {"Start-tag omitted from %s with empty content", 'E', 'M'},
/* 8 */ {"Illegal entity end in markup or delimited text", 'E', 'S'},
/* 9 */ {"Incorrect character in markup; markup terminated", 'E', 'S'},
/* 10 */ {"Data not allowed at this point in %s element", 'E', 'C'},
/* 11 */ {"No element declaration for %s end-tag GI; end-tag ignored", 'E', 'C'},
/* 12 */ {"%s name ignored: not a syntactically valid SGML name", 'E', 'S'},
/* 13 */ {"%s = \"%s\" attribute ignored: not defined for this element", 'E', 'C'},
/* 14 */ {"%s = \"%s\" attribute value defaulted: invalid character", 'E', 'S'},
/* 15 */ {"%s = \"%s\" attribute value defaulted: token too long", 'E', 'Q'},
/* 16 */ {"%s = \"%s\" attribute value defaulted: too many tokens", 'E', 'C'},
/* 17 */ {"%s = \"%s\" attribute value defaulted: wrong token type", 'E', 'C'},
/* 18 */ {"%s = \"%s\" attribute value defaulted: token not in group", 'E', 'C'},
/* 19 */ {"Required %s attribute was not specified; may affect processing", 'E', 'C'},
/* 20 */ {"%s end-tag implied by %s end-tag; not minimizable", 'E', 'M'},
/* 21 */ {"%s start-tag implied by %s start-tag; not minimizable", 'W', 'M'},
/* 22 */ {"Possible attributes treated as data because none were defined", 'E', 'C'},
/* 23 */ {"Duplicate specification occurred for \"%s\"; may affect processing", 'E', 'D'},
/* 24 */ {"\"%s\" keyword invalid; declaration terminated", 'E', 'D'},
/* 25 */ {"%s = \"%s\" attribute defaulted: empty string not allowed for token", 'E', 'C'},
/* 26 */ {"Marked section end ignored; not in a marked section", 'E', 'S'},
/* 27 */ {"Marked section start ignored; %s marked sections open already", 'E', 'Q'},
/* 28 */ {"One or more parameters missing; declaration ignored", 'E', 'D'},
/* 29 */ {"\"PUBLIC\" or \"SYSTEM\" required; declaration terminated", 'E', 'D'},
/* 30 */ {"%s element ended prematurely; required %s omitted", 'E', 'C'},
/* 31 */ {"Entity \"%s\" terminated: could not read file", 'E', 'R'},
/* 32 */ {"Could not open file for entity \"%s\"; entity reference ignored", 'E', 'R'},
/* 33 */ {"Insufficient main memory; unable to continue parsing", 'C', 'R'},
/* 34 */ {"%s entity reference ignored; exceeded open entity limit (%s)", 'E', 'Q'},
/* 35 */ {"No declaration for entity \"%s\"; reference ignored", 'E', 'C'},
/* 36 */ {"%s entity reference occurred within own text; reference ignored", 'E', 'C'},
/* 37 */ {"Entity nesting level out of sync", 'E', 'S'},
/* 38 */ {"Parameter entity text cannot have %s keyword; keyword ignored", 'E', 'D'},
/* 39 */ {"%s end-tag implied by %s start-tag; not minimizable", 'W', 'M'},
/* 40 */ {"Start-tag minimization ignored; element has required attribute", 'E', 'D'},
/* 41 */ {"Required %s element cannot be excluded from %s element", 'E', 'C'},
/* 42 */ {"No DOCTYPE declaration; document type is unknown", 'E', 'C'},
/* 43 */ {"Undefined %1$s start-tag GI was used in DTD; \"%1$s O O ANY\" assumed", 'E', 'C'},
/* 44 */ {"Invalid character(s) ignored; attempting to resume DOCTYPE subset", 'E', 'S'},
/* 45 */ {"No declaration for entity \"%s\"; default definition used", 'I', 'C'},
/* 46 */ {"%s end-tag implied by NET delimiter; not minimizable", 'W', 'M'},
/* 47 */ {"%s end-tag implied by data; not minimizable", 'W', 'M'},
/* 48 */ {"%s end-tag implied by short start-tag (no GI); not minimizable", 'W', 'M'},
/* 49 */ {"%s start-tag implied by data; not minimizable", 'W', 'M'},
/* 50 */ {"%s start-tag implied by short start-tag (no GI); not minimizable", 'W', 'M'},
/* 51 */ {"Short end-tag (no GI) ignored: no open elements", 'E', 'C'},
/* 52 */ {"No definition for %1$s document type; \"%1$s O O ANY\" assumed", 'E', 'C'},
/* 53 */ {"No definition for %1$s implied start-tag; \"%1$s O O ANY\" assumed", 'E', 'C'},
/* 54 */ {"%s element ended prematurely; required subelement omitted", 'E', 'C'},
/* 55 */ {"Content model token %s: connectors conflict; first was used", 'E', 'D'},
/* 56 */ {"Duplicate specification occurred for \"%s\"; duplicate ignored", 'E', 'D'},
/* 57 */ {"Bad end-tag in R/CDATA element; treated as short (no GI) end-tag", 'E', 'S'},
/* 58 */ {"Start-tag minimization should be \"-\" for element with declared content", 'I', 'D'},
/* 59 */ {"Reference to PI entity not permitted here; reference ignored", 'E', 'S'},
/* 60 */ {"Non-SGML character found; should have been character reference", 'W', 'S'},
/* 61 */ {"Numeric character reference exceeds 255; reference ignored", 'E', 'S'},
/* 62 */ {"Invalid alphabetic character reference ignored", 'E', 'S'},
/* 63 */ {"Invalid character in minimum literal; character ignored", 'E', 'S'},
/* 64 */ {"Keyword %s ignored; \"%s\" is not a valid marked section keyword", 'E', 'D'},
/* 65 */ {"Parameter entity name longer than (NAMELEN-1); truncated", 'E', 'Q'},
/* 66 */ {"Start-tag length exceeds TAGLEN limit; parsed correctly", 'W', 'Q'},
/* 67 */ {"%s attribute defaulted: FIXED attribute must equal default", 'W', 'C'},
/* 68 */ {"Duplicate specification occurred for \"%s\"; duplicate ignored", 'I', 'D'},
/* 69 */ {"%s = \"%s\" IDREF attribute ignored: referenced ID does not exist", 'E', 'C'},
/* 70 */ {"%s = \"%s\" IDREF attribute ignored: number of IDs in list exceeds GRPCNT limit", 'E', 'Q'},
/* 71 */ {"%s = \"%s\" ID attribute ignored: ID in use for another element", 'E', 'C'},
/* 72 */ {"%s = \"%s\" ENTITY attribute not general entity; may affect processing", 'E', 'C'},
/* 73 */ {"%s = \"%s\" attribute ignored: previously specified in same list", 'W', 'C'},
/* 74 */ {"\"?\" = \"%s\" name token ignored: not in any group in this list", 'E', 'C'},
/* 75 */ {"Normalized attribute specification length over ATTSPLEN limit", 'E', 'Q'},
/* 76 */ {"%s = \"%s\" NOTATION ignored: element content is empty", 'E', 'C'},
/* 77 */ {"%s = \"%s\" NOTATION undefined: may affect processing", 'E', 'C'},
/* 78 */ {"Entity \"%2$s\" has undefined notation \"%1$s\"", 'E', 'C'},
/* 79 */ {"%s = \"%s\" default attribute value not in group; #IMPLIED used", 'E', 'C'},
/* 80 */ {"#CURRENT default value treated as #IMPLIED for %s ID attribute", 'E', 'D'},
/* 81 */ {"ID attribute %s cannot have a default value; treated as #IMPLIED", 'E', 'D'},
/* 82 */ {"%s attribute must be token, not empty string; treated as #IMPLIED", 'E', 'D'},
/* 83 */ {"NOTATION attribute ignored for EMPTY element", 'E', 'D'},
/* 84 */ {"%s = \"%s\" NOTATION ignored: content reference specified", 'E', 'C'},
/* 85 */ {"#CONREF default value treated as #IMPLIED for EMPTY element", 'W', 'D'},
/* 86 */ {"%s = \"%s\" entity not data entity; may affect processing", 'E', 'C'},
/* 87 */ {"End-tag minimization should be \"O\" for EMPTY element", 'I', 'D'},
/* 88 */ {"Formal public identifier \"%s\" invalid; treated as informal", 'E', 'S'},
/* 89 */ {"Out-of-context %2$s start-tag ended %1$s document element (and parse)", 'E', 'C'},
/* 90 */ {"\"%s\" keyword is for unsupported feature; declaration terminated", 'E', 'D'},
/* 91 */ {"Attribute specification list in prolog cannot be empty", 'E', 'D'},
/* 92 */ {"Document ended invalidly within a literal; parsing ended", 'C', 'S'},
/* 93 */ {"General entity \"%s\" in short reference map \"%s\" undeclared", 'E', 'D'},
/* 94 */ {"Could not reopen file to continue entity \"%s\"; entity terminated", 'E', 'R'},
/* 95 */ {"Out-of-con