Changeset 111 for trunk/src/xml_error.h


Ignore:
Timestamp:
Apr 26, 2008, 8:13:13 AM (11 years ago)
Author:
cameron
Message:

Consolidation of error handling: xml_error.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/xml_error.h

    r110 r111  
    270270                "Extender  [89]"};
    271271
    272 void ShowConstraintError(XML_Constraint errCode) {
    273         if (errCode < vErr_vc_roottype) {
    274                 fprintf(stderr, "Violation of well-formedness constraint: %s\n", XML_Constraint_Strings[errCode]);
    275         }
    276         else fprintf(stderr, "Violation of validity constraint: %s\n", XML_Constraint_Strings[errCode]);
    277 }
    278 
    279 void ShowSyntaxError(XML_NonTerminal errCode) {
    280         fprintf(stderr, "Syntax error in production: %s\n", XML_NonTerminal_Names[errCode]);
    281 }
     272void ShowConstraintError(XML_Constraint errCode);
     273
     274void ShowSyntaxError(XML_NonTerminal errCode);
     275
     276void NoEncodingError(char * msg);
     277
     278void EncodingError(char * msg, unsigned char * encoding, int lgth);
     279
     280void CharSetValidationError(char * encoding);
     281
     282void IncompleteCodeUnitError();
     283
     284void DeclarationError(int pos);
     285
     286void ImplementationLimitError(char * msg);
     287
     288void ContentModelError();
    282289#endif
Note: See TracChangeset for help on using the changeset viewer.