Check for Well Formed XML