support old sax versions, espacially the one that comes with pyxml