Changed xpath exp detector to allow spaces