Roxen.git / server / modules / tags / rxmlparse.pike

version» Context lines:

Roxen.git/server/modules/tags/rxmlparse.pike:2:   //   // The main RXML parser. If this module is not added to a configuration,   // no RXML parsing will be done at all for .html files.   //      //This can be turned on when types in dumped files are working properly.   //#pragma strict_types      #define CTX_MISC ([mapping(string:mixed)] RXML_CONTEXT->misc)    - constant cvs_version = "$Id: rxmlparse.pike,v 1.85 2011/03/01 13:14:03 stewa Exp $"; + constant cvs_version = "$Id$";   constant thread_safe = 1;   constant language = roxen->language;      #include <config.h>   #include <module.h>   #include <request_trace.h>      inherit "module";      
Roxen.git/server/modules/tags/rxmlparse.pike:134:    case 0:    case "iso-8859-1":    break;    case "utf-8":    data = utf8_to_string( data );    break;    case "unicode":    data = unicode_to_string( data );    break;    default: -  data = (Locale.Charset.decoder( [string]id->misc->input_charset ) +  data = (Charset.decoder( [string]id->misc->input_charset )    ->feed( data )    ->drain());    break;    }       RXML.Context context;    string rxml;   #ifdef MAY_OVERRIDE_RXML_PARSING    if(id->prestate->norxml)    rxml = data;