src/API/marpaXml/DOM2.c: fix logging that should not happen at this place