(file) Return to XmlParser.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/XmlParser.cpp between version 1.40 and 1.41

version 1.40, 2006/11/10 18:14:58 version 1.41, 2007/02/28 16:10:06
Line 502 
Line 502 
     }     }
 } }
  
 Boolean XmlParser::next(XmlEntry& entry)  Boolean XmlParser::next(XmlEntry& entry, Boolean includeComment)
 { {
     if (!_putBackStack.isEmpty())     if (!_putBackStack.isEmpty())
     {     {
Line 524 
Line 524 
         _restoreChar = '\0';         _restoreChar = '\0';
     }     }
  
       // Loop until we are done with comments if includeComment is false.
       do
       {
     // Skip over any whitespace:     // Skip over any whitespace:
   
     _skipWhitespace(_line, _current);     _skipWhitespace(_line, _current);
  
     if (!*_current)     if (!*_current)
Line 567 
Line 569 
  
             _stack.pop();             _stack.pop();
         }         }
   
         return true;  
     }     }
     else     else
     {     {
Line 589 
Line 589 
  
         if (nullTerminator)         if (nullTerminator)
             *nullTerminator = '\0';             *nullTerminator = '\0';
           }
       }while (!includeComment && entry.type == XmlEntry::COMMENT);
  
         return true;         return true;
     }     }
 }  
  
 void XmlParser::putBack(XmlEntry& entry) void XmlParser::putBack(XmlEntry& entry)
 { {


Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2