Make presence parsing more robust

by allowing 'show' to be an empty element: '<show />'