Re: cvs: pear /XML_Transformer Transformer.php

From: Date: Thu, 16 Jan 2003 07:58:38 +0000
Subject: Re: cvs: pear /XML_Transformer Transformer.php
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-12521@lists.php.net to get a copy of this message
On Wednesday 15 January 2003 22:28, alexander.merz@t-online.de wrote: > > <b><?php aha ?></b> > > + xml_set_default_handler($parser, > > '_characterData'); > > Passing a PI as CDATA? Isn't it a security risk to keep the programmer > uninformed about an occured PI? No, because that is never parsed as a PI, and in the case of PHP is never executed. > Propose: >function pi_{$target}($data) {} > >ie: pi_php($data) {} Easily done. Still, once I do that I fear that some Genius will come up with pi_php($data) { return eval($data); } which I do not want to happen under all circumstances for obvious reasons. The PHP namespace is as bad as it gets, no need to build an Autobahn for stupidity. Kristian -- Kristian Köhntopp, NetUSE AG, Dr.-Hell-Straße, D-24107 Kiel Tel: +49 431 386 435 00, Fax: +49 431 386 435 99

« previous php.pear.dev (#12521) next »