*sigh* wrong and stupid fix in bug 277929 makes a lot of XPath functions fail.
Created attachment 198430 [details] [diff] [review] Patch Fixes the offset-error, instead of the original "insert a space before name" *sigh*. (also removes the unnecessary else statements...) I also added a warning so it's easier to detect that the scanner returns an error token.
This was checked in to trunk quite a while ago
checked into MOZILLA_1_8_BRANCH via bug 323691. Leaving open for now until it gets into 1.8.0
verified fixed in MOZILLA_1_8_BRANCH