From: Curro A. <cur...@ho...> - 2005-08-08 10:10:01
|
Hi, can you tell me what is wrong in this function?? xquery version "1.0"; module namespace my="mymodule"; declare function my:c1() as xs:string { return string(12) }; the call is: xquery version "1.0"; import module namespace my="mymodule" at "xmldb:exist:///db/modules/mymodule.xq"; my:c1() and the message is: An exception occurred during query execution: error found while loading module my: Syntax error within user defined function my:c1: unexpected token: string [at line 6, column 16]. with fn:string is the same error. |