Branch: Tag:

2000-07-05

2000-07-05 23:09:42 by Martin Stjernholm <mast@lysator.liu.se>

Changes to keep up-to-date with RXML.pmod.

Rev: server/etc/modules/Roxen.pmod:1.20

1:   /* -  * $Id: Roxen.pmod,v 1.19 2000/07/02 17:52:16 grubba Exp $ +  * $Id: Roxen.pmod,v 1.20 2000/07/05 23:09:42 mast Exp $    *    * Various helper functions.    *
766:    c->add_scope("var", ([]) );    }    -  // No low_entities are replaced when the result type for the -  // parser is t_xml or t_html. -  mapping(string:string) low_entities = ([]); +        void create (string name)    {    ::create (name);    -  +  // Note: No string entities are replaced when the result type for +  // the parser is t_xml or t_html. +  mapping(string:string) entities = ([]);    for (int i = 0; i < sizeof (replace_entities); i++) {    string chref = replace_entities[i]; -  low_entities[chref[1..sizeof (chref) - 2]] = replace_values[i]; +  entities[chref[1..sizeof (chref) - 2]] = replace_values[i];    } -  +  add_string_entities (entities);    }   } ("entities_tag_set");