(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.55 and 1.56

version 1.55, 2009/11/30 16:49:46 version 1.56, 2012/07/26 11:14:54
Line 127 
Line 127 
     char replacement;     char replacement;
 }; };
  
 // ATTN: Add support for more entity references  
 static EntityReference _references[] =  
 {  
     { "&", 5, '&' },  
     { "&lt;", 4, '<' },  
     { "&gt;", 4, '>' },  
     { "&quot;", 6, '"' },  
     { "&apos;", 6, '\'' }  
 };  
   
   
 // Implements a check for a whitespace character, without calling // Implements a check for a whitespace character, without calling
 // isspace( ).  The isspace( ) function is locale-sensitive, // isspace( ).  The isspace( ) function is locale-sensitive,
 // and incorrectly flags some chars above 0x7f as whitespace.  This // and incorrectly flags some chars above 0x7f as whitespace.  This
Line 151 
Line 140 
     return CharSet::isXmlWhiteSpace((Uint8)c);     return CharSet::isXmlWhiteSpace((Uint8)c);
 } }
  
 static Uint32 _REFERENCES_SIZE = (sizeof(_references) / sizeof(_references[0]));  
  
 //////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
 // //


Legend:
Removed from v.1.55  
changed lines
  Added in v.1.56

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2