extended checks for the DOM parser to prevent from accessing uninitialized Objects