copied in the XMLParser version of smalltalkhub