XDXF: Fix some tags handling (issue #349)