LibXML error objects
| From: | Aidan Lister | Date: | Sun, 24 Jul 2005 04:21:23 +0000 |
| Subject: | LibXML error objects | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-2651@lists.php.net to get a copy of this message | ||
Hi,
The LibXML error objects would benefit from a couple of improvements.
1) $message should be trimmed. At the moment, all messages have a \n
affixed. Although this isn't the end of the world, would it be too difficult
to fix?.
2) Create a libxml_error_set_object method, so custom error objects can be
used.
3) Add a generic __toString method
Thanks,
Aidan