This is an interpreter error than than a script or module error. To be honest there is not much you can do on the programming side to fix it.
Your options boil down too,
In reply to Re: XPath crashing
by Herkum
in thread XPath crashing
by adrianxw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |