dbertoni    02/04/04 19:45:19

  Modified:    c/src/XSLT ProblemListenerDefault.cpp
  Log:
  Added new header for message classification.
  
  Revision  Changes    Path
  1.9       +6 -1      xml-xalan/c/src/XSLT/ProblemListenerDefault.cpp
  
  Index: ProblemListenerDefault.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/ProblemListenerDefault.cpp,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- ProblemListenerDefault.cpp        4 Apr 2002 06:21:10 -0000       1.8
  +++ ProblemListenerDefault.cpp        5 Apr 2002 03:45:19 -0000       1.9
  @@ -81,6 +81,7 @@
   
   static const char* const     errorHeader = "error: ";
   static const char* const     warningHeader = "warning: ";
  +static const char* const     messageHeader = "message: ";
   
   static const char* const     xslHeader = "XSLT ";
   static const char* const     xmlHeader = "XML ";
  @@ -166,9 +167,13 @@
        {
                pw.print(errorHeader);
        }
  -     else
  +     else if (eWARNING == classification)
        {
                pw.print(warningHeader);
  +     }
  +     else
  +     {
  +             pw.print(messageHeader);
        }
   
        pw.print(msg);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to