Roxen.git / server / etc / modules / RXML.pmod / PEnt.pike

version» Context lines:

Roxen.git/server/etc/modules/RXML.pmod/PEnt.pike:1:   //! Variant of PXml that parses only entities.   //!   //! This parser is the default for arguments.   //!   //! Created 2000-01-28 by Martin Stjernholm.   //! - //! $Id: PEnt.pike,v 1.22 2001/06/20 23:27:24 mast Exp $ + //! $Id: PEnt.pike,v 1.23 2001/06/29 15:11:29 mast Exp $      //#pragma strict_types // Disabled for now since it doesn't work well enough.      #include <config.h>      inherit RXML.PXml;    -  + constant name = "xml-entity"; +    // Block these to avoid confusion.   constant add_tag = 0;   constant add_tags = 0;   constant add_container = 0;   constant add_containers = 0;      static void init_entities()   {    if (!type->entity_syntax) {    // Don't decode normal entities if we're outputting xml-like stuff.