cplus version of DOM: marpaXml init and release