<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: expression parse  bug? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/expression-parse-bug/m-p/103984#M72578</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You're using double quotes around your string literal but also including double-quotes in the string literal body… As the (J)UEL specification says:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;In section 1.3, "Literals", the specification states that "Quotes only need to be escaped in a string value enclosed in the same type of quote". This suggests that, e.g., "You could escape a single quote in a double-quoted string, but it's not necessary". JUEL guesses that you can't and that the above should read as "Quotes can only be escaped in a string value enclosed in the same type of quote".&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Try something like this instead:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;${userService.findUsers("{'id':'12'}")&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;${userService.findUsers('{"id":"12"}')&lt;BR /&gt;&lt;BR /&gt;or even&lt;BR /&gt;&lt;BR /&gt;${userService.findUsers("{\"id\":\"12\"}")&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jun 2012 06:32:49 GMT</pubDate>
    <dc:creator>frederikherema1</dc:creator>
    <dc:date>2012-06-27T06:32:49Z</dc:date>
    <item>
      <title>expression parse  bug?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/expression-parse-bug/m-p/103983#M72577</link>
      <description>hi!I encountered some troubles in activiti 5.9.when parse&amp;nbsp; expression the exception isorg.activiti.engine.impl.juel.TreeBuilderException: Error parsing '${userService.findUsers("{"id":"12"}"': syntax error at position 27, encountered 'id', expected ')'‍‍‍‍and the bpmn is… &amp;lt;startEvent id="starteve</description>
      <pubDate>Wed, 27 Jun 2012 02:00:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/expression-parse-bug/m-p/103983#M72577</guid>
      <dc:creator>croc1</dc:creator>
      <dc:date>2012-06-27T02:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: expression parse  bug?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/expression-parse-bug/m-p/103984#M72578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You're using double quotes around your string literal but also including double-quotes in the string literal body… As the (J)UEL specification says:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;In section 1.3, "Literals", the specification states that "Quotes only need to be escaped in a string value enclosed in the same type of quote". This suggests that, e.g., "You could escape a single quote in a double-quoted string, but it's not necessary". JUEL guesses that you can't and that the above should read as "Quotes can only be escaped in a string value enclosed in the same type of quote".&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Try something like this instead:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;${userService.findUsers("{'id':'12'}")&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;${userService.findUsers('{"id":"12"}')&lt;BR /&gt;&lt;BR /&gt;or even&lt;BR /&gt;&lt;BR /&gt;${userService.findUsers("{\"id\":\"12\"}")&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 06:32:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/expression-parse-bug/m-p/103984#M72578</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-06-27T06:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: expression parse  bug?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/expression-parse-bug/m-p/103985#M72579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@frederikheremans&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i have solved the problem,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and the var1[process variable] have to write in front&amp;nbsp; of the string. &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 08:56:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/expression-parse-bug/m-p/103985#M72579</guid>
      <dc:creator>croc1</dc:creator>
      <dc:date>2012-06-27T08:56:58Z</dc:date>
    </item>
  </channel>
</rss>

