Iteration on foreach may return FALSE for an element if the XMLReader::expand() returned FALSE for the current element