fixed bug in XML path automaton parser (construction from string)