Changeset 110


Ignore:
Timestamp:
Apr 26, 2008, 6:36:53 AM (11 years ago)
Author:
cameron
Message:

Rename constraint errors XML_Error -> XML_Constraint.

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/engine.c

    r109 r110  
    295295
    296296template <CodeUnit_Base C>
    297 inline void ParsingEngine<C>::WF_Error (XML_Error errCode) {
     297inline void ParsingEngine<C>::WF_Error (XML_Constraint errCode) {
    298298        ShowConstraintError(errCode);
    299299        Error_action(GetCodeUnitPtr(text_or_markup_start), LengthFrom(text_or_markup_start));
     
    302302
    303303template <CodeUnit_Base C>
    304 inline void ParsingEngine<C>::Validity_Error (XML_Error errCode) {
     304inline void ParsingEngine<C>::Validity_Error (XML_Constraint errCode) {
    305305        ShowConstraintError(errCode);
    306306        Error_action(GetCodeUnitPtr(text_or_markup_start), LengthFrom(text_or_markup_start));
  • trunk/src/engine.h

    r109 r110  
    8585        /* Parsing routines. */
    8686
    87         void WF_Error (XML_Error errCode);
    88         void Validity_Error (XML_Error errCode);
     87        void WF_Error (XML_Constraint errCode);
     88        void Validity_Error (XML_Constraint errCode);
    8989        void Syntax_Error (XML_NonTerminal errNT);
    9090       
  • trunk/src/xml_error.h

    r109 r110  
    274274                fprintf(stderr, "Violation of well-formedness constraint: %s\n", XML_Constraint_Strings[errCode]);
    275275        }
    276         else fprintf(stderr, "Violation of validity constraint: %s\n", XML_Error_Strings[errCode]);
     276        else fprintf(stderr, "Violation of validity constraint: %s\n", XML_Constraint_Strings[errCode]);
    277277}
    278278
Note: See TracChangeset for help on using the changeset viewer.