20 Apr
2015
20 Apr
'15
10:48 a.m.
Hello! I wonder why I get a syntax error in BaseX for the following code. Is it really not possible to specify this fine granularity for function input types? <code> declare variable $local:ns := "somenamespace declare function local:afunction( $input as element( QName( $local:ns, "elementname" ) ) ) { <function-body /> }; </code> I get error XPST0003 Expecting ')' found '('. Best regards Kristian Kankainen