use streamparser method and log a warning if end of element was not found
use local methods (wrapping composed reader)
remove debug slot handler