RelaxNG validator (XML approximate matching with regular hedge grammer)