title: Can $X{} function used outside queryString?
body: <p>I'm trying to use $X{} outside the queryString like this in jrxml</p>
  
  <pre><code>&lt;parameter name="param_value" class="java.lang.String" isForPrompting="false"&gt;
      &lt;defaultValueExpression&gt;&lt;![CDATA[(" where $X{IN, country,country_param}")]]&gt; &lt;/defaultValueExpression&gt;
  &lt;/parameter&gt;
  
  &lt;queryString&gt;
      &lt;![CDATA[select user_id from user_profile $P{param_value}]]&gt;
  &lt;/queryString&gt;
  </code></pre>
  
  <p>But I'm getting the error while evaluating param_value</p>
  
  <pre><code>Caused by: groovy.lang.MissingPropertyException: No such property: X for class:...
  </code></pre>
  
  <p>Can anyone tell me what's going wrong?</p>