browserutilities/feedsengine/FeedsServer/XmlUtils/src/XmlUtils.cpp
branchRCL_3
changeset 49 919f36ff910f
parent 48 79859ed3eea9
equal deleted inserted replaced
48:79859ed3eea9 49:919f36ff910f
    13 *
    13 *
    14 * Description:  Misc. libxml2 related utilities.
    14 * Description:  Misc. libxml2 related utilities.
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 
       
    19 
       
    20 #include <charconv.h>
    18 #include <charconv.h>
    21 #include <escapeutils.h>
    19 #include <EscapeUtils.h>
    22 #include <utf.h>
    20 #include <utf.h>
    23 
    21 
    24 #include "CleanupLibXml2.h"  
    22 #include "CleanupLibXml2.h"  
    25 #include "LeakTracker.h"
    23 #include <leaktracker.h>
    26 #include "Logger.h"
    24 #include "Logger.h"
    27 #include "XmlEncoding.h"
    25 #include <xmlencoding.h>
    28 #include "XmlEntity.h"
    26 #include "XmlEntity.h"
    29 #include "XmlUtils.h"
    27 #include <xmlutils.h>
    30 
    28 
    31 // Local data-types
    29 // Local data-types
    32 struct ErrorContext
    30 struct ErrorContext
    33     {
    31     {
    34     TInt   error;
    32     TInt   error;
    35     TBool  retry;
    33     TBool  retry;
    36     };
    34     };
    37 
    35 
    38 // Static variables
    36 // Static variables
    39 static CXmlEntity*  sXmlEntity = NULL;
    37 static CXmlEntity*  sXmlEntity = NULL;
    40 
       
    41 
    38 
    42 // -----------------------------------------------------------------------------
    39 // -----------------------------------------------------------------------------
    43 // EntityResolverL
    40 // EntityResolverL
    44 //
    41 //
    45 // A local function to resolve entities found in the buffer being parsed. 
    42 // A local function to resolve entities found in the buffer being parsed.