DocumentBuilder - bugfix: do not cast to String