gareth      2003/09/04 07:31:05

  Modified:    c/src/xercesc/framework XMLFormatter.cpp
  Log:
  Fix bug #19605. Problem with ']]>'. Patch by David Cargill.
  
  Revision  Changes    Path
  1.14      +3 -4      xml-xerces/c/src/xercesc/framework/XMLFormatter.cpp
  
  Index: XMLFormatter.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/framework/XMLFormatter.cpp,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- XMLFormatter.cpp  30 May 2003 16:11:43 -0000      1.13
  +++ XMLFormatter.cpp  4 Sep 2003 14:31:05 -0000       1.14
  @@ -120,10 +120,9 @@
           { chNull      , chNull       , chNull        , chNull       , chNull        
, chNull }
       ,   { chAmpersand , chCloseAngle , chDoubleQuote , chOpenAngle  , chSingleQuote 
, chNull }
       ,   { chAmpersand , chOpenAngle  , chDoubleQuote , chNull       , chNull        
, chNull }
  -    ,   { chAmpersand , chOpenAngle  , chNull        , chNull       , chNull        
, chNull }
  +    ,   { chAmpersand , chOpenAngle  , chCloseAngle  , chNull       , chNull        
, chNull }
   };
   
  -
   // ---------------------------------------------------------------------------
   //  Local methods
   // ---------------------------------------------------------------------------
  @@ -358,7 +357,7 @@
               //  current source pointer and here all at once.
               //
               const XMLCh* tmpPtr = srcPtr;
  -            while (!inEscapeList(actualEsc, *tmpPtr) && (tmpPtr < endPtr))
  +            while ((tmpPtr < endPtr) && !inEscapeList(actualEsc, *tmpPtr))
                   tmpPtr++;
   
               //
  
  
  

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

Reply via email to