java.lang.RuntimeException: Untyped external variable $input

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Using XQuery as XSLT replacement
    via by 3004,
    • java.lang.RuntimeException: Untyped external variable $input at com.bea.xbean.store.XqrlDelegate.throwRuntimeException(XqrlDelegate.java:60) at com.bea.xbean.store.XqrlDelegate.invoke(XqrlDelegate.java:82) at com.bea.xbean.store.XqrlDelegate.compileQuery(XqrlDelegate.java:47) at com.bea.xbean.store.Path.getCompiledQuery(Path.java:194) at com.bea.xbean.store.Path.getQuery(Path.java:172) at com.bea.xbean.store.Path.query(Path.java:214) at com.bea.xbean.store.Type.exec_query(Type.java:943) at com.bea.xbean.values.XmlObjectBase.execQuery(XmlObjectBase.java:360) at com.bea.xbean.values.XmlObjectBase.execQuery(XmlObjectBase.java:342) at com.toyota.xquery.dim.Testing.main(Testing.java:56) Caused by: com.bea.xml.XmlException: Untyped external variable $input at com.bea.xbean.store.XqrlImpl$CompiledQuery.<init>(XqrlImpl.java:277) at com.bea.xbean.store.XqrlImpl.compileQuery(XqrlImpl.java:455) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.bea.xbean.store.XqrlDelegate.invoke(XqrlDelegate.java:78) ... 8 more Caused by: com.bea.xquery.exceptions.XQRLUserException: Untyped external variable $input at com.bea.xquery.compiler.ExternalVariable.checkIfTyped(ExternalVariable.java:73) at com.bea.xquery.xdbcimpl.XqueryStatement.checkTypeExternalVariables(XqueryStatement.java:184) at com.bea.xquery.xdbcimpl.XqueryStatement.compileQuery(XqueryStatement.java:70) at com.bea.xbean.store.XqrlImpl$CompiledQuery.prepare(XqrlImpl.java:310) at com.bea.xbean.store.XqrlImpl$CompiledQuery.<init>(XqrlImpl.java:230) ... 14 more
    No Bugmate found.