[#44] fix dependency check broken for xml parser

replaying pr #45