Unfortunately, I have no easy way to debug this. There's nothing obviously wrong with the code. Can you set a breakpoint in ft_module_impl.cpp at line 582 and (1) see which branch of the "if" is taken and (2) see what "lang" is after the "if"? (You can get the string representation of "lang" by doing: iso639_1::string_of[ lang ]
-- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1017924 Title: tokenize-node does not consider the language passed as a parameter Status in Zorba - The XQuery Processor: New Bug description: Under Windows, when the locale in the control panel's "Regions and Languages" is not set to English, the function tokenize-node seems to use it instead of the one supplied as a parameter. This causes the test ft-module-tokenize-node-1 to fail, as it passes "en" to tokenize- node and expects it as well in the output thereof. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/1017924/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp