bad-1.xql:1:23: warning - obsolate '{' in variable declaration
bad-1.xql:1:29: warning - missing ';' after declaration
bad-1.xql:2:1: warning - replace 'define function' by 'declare function'
bad-1.xql:2:17: warning - defined function must have qualified name
bad-1.xql:3:11: missing ':=' in 'let' clause
bad-1.xql:4:7: node test when focus is undefined
bad-1.xql:5:5: missing 'then'
bad-1.xql:6:3: missing '}' or ','
bad-1.xql:7:2: warning - missing ';' after declaration
bad-1.xql:9:1: non-terminated comment starting here
