I am having syntax error at map(*) where 74'th chracter is first '(' do you know why? I run same script basex gui with base 7.9 w/o issue.
declare variable $rawProductsFile as xs:string external; declare variable $schemaFileName as xs:string external; declare variable $tableName as xs:string external; declare variable $outputFileName as xs:string external;
(:(line 7 is this line:) declare function local:getFieldMap ($schemaFileName as xs:string) as map(*)
javax.xml.xquery.XQException: XQJQS001 - Invalid XQuery syntax, syntax does not pass static validation. Root Cause: net.xqj.basex.bin.bx: Encountered " "(" "( "" at line 7, column 74. Was expecting one of: "*" ... "?" ... "external" ... "{" ... "+" ...
at com.ferguson.xquery.RunQueries.queryForFilterData2(RunQueries.java:147) at com.ferguson.endeca.EndecaEngine.processExtractDARFilesExt(EndecaEngine.java:377) at com.ferguson.endeca.EndecaEngine.main(EndecaEngine.java:142) at com.ferguson.xquery.RunQueries.queryForFilterData2(RunQueries.java:147) at com.ferguson.endeca.EndecaEngine.processExtractDARFilesExt(EndecaEngine.java:377) at com.ferguson.endeca.EndecaEngine.main(EndecaEngine.java:142)
On Mon, Oct 6, 2014 at 11:20 AM, Dániel Kiss-Kálmán < kisskalmandaniel@gmail.com> wrote:
Hello Basex-Talkers,
when I try to enter a variable I need the $ char. I use hungarian keyboard, and $ is AltGr + É keyboard combination. The only annoying thing is when I press AltGr + É, $ appears, but just before that cursor jumps to the first row first char position. So $ is smiling as the first char in the first row. No other keboard combination does that, only AltGr + É. So every time I need a variable I use clipboard instead of pressing $ char.
Can onyone make my life a little easier to correct it if it is possible at all? Or help me how to try to remove that cursor jump?
Thanks in advance, Daniel