On 2.8.2005 10:16 Uhr, Ron Korving wrote: > Shouldn't PHP suppress this warning then? Right now 3 warnings are shown for > just one bad statement. I think one warning would suffice. Of course this is > all rather unimportant and very low-priority, but I still think it's a > situation that could be improved. > > You can see the warnings at http://bugs.php.net/bug.php?id=33951
AFAICS these are all libxml2 warnings. We would have to start intercepting those warnings and decide which one we want to show and which not... Too much hassle IMHO. In your scenario, which should be shown? And with the new libxml error handler code in PHP 5.1, the developer can decide, what he wants to show and what not... See http://www.php.net/libxml_use_internal_errors and http://php5.bitflux.org/xml5_1/slide_13.php for some explenation and examples chregu > Ron > > "Rob Richards" <[EMAIL PROTECTED]> schreef in bericht > news:[EMAIL PROTECTED] > >>The warning is being issued from libxml and the URL (which it encodes >>internally) is just there to inform you that it had problems dealing >>with the external entitity. Either surpress the errors when calling >>whichever function or you can use the new error handling for xml in 5.1 >>which wont issue/display errors directly but any can be retrieved after >>the function call. >> >>Rob >> >>Ron Korving wrote: >> >> >>>Yes, spaces are illegal.. Thing is though, the output of the warning has >>>nothing to do with urls (unless it just assumes the stream is always from > > a > >>>remote source or something). >>> >>>I'll post a bugreport. >>> >>>Ron >>> >>> > > -- christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | [EMAIL PROTECTED] | gnupg-keyid 0x5CE1DECB -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php