On Fri, Aug 19, 2011 at 12:27, Nicolai Scheer <sc...@planetavent.de> wrote:
>
>
> Hi again!
>
> Please excuse if this is a duplicate, my web
> mailer choked on that one :/
>
> ----------
>
> I've
> noticed, that some of the libxml return codes
> get
> "simplified" when used in xmlreader which can be quite
> problematic.
>
> I opened a bug report about this behaviour:
> https://bugs.php.net/bug.php?id=55459
>
> The question is, wether
> this is considered a bug at all or is
> rather seen as a change request.
>
> Throughout the whole xmlreader
> extension libxml's 1, 0, -1 return
> codes are simply mapped to
> true/false.
>
> The fix is trivial, but
> I don't know if
> changing the return code of these php functions might
> break existing
> code.
>
> I'm short of a really easy way of working
> around
> that problem. Of course I could rename the xmlreader extension, fix
> it and could load a fixed version, but that seems awkward.

Use libxml_get_errors()

-Hannes

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to