Iteration on foreach may return FALSE for an parse error on expand

Hi,

In XmlIterator/XmlIterator.php line 98 the is no control over the result of expand. This makes hard to recover from an error on a node.

Regards,
PS: Thanks for the class. It's been very helpful so far.