I have reports with xml-data adapter. The report contains a subreport.
Trying to put the following expression in the Data Source Expression
throws an error in the expression editor that says:
Current expression is not valid. Please verify it!
I can save the report definition and it works at the runtime (that means: the report with subreport is printed correctly).
So I think this is an error in Jaspersoft Studio.
(by the way:
If I write the call without parentheses arround the typecast:
the expression is valid in Jaspersoft Studio but this will throw an exception at runtime.