BPMN2 diagram editor is using unicode left/right double quotes in java code blocks

Solution Verified - Updated -


  • Using the BPMN2 diagram editor to edit a business process (bpmn2 file). When entering java code into the script field of a script task (or any other script block), double quotes typed by me are saved in the file as unicode left/right double quotes (unicode U+201C and U+201D).

  • Double quote characters in java code typed by the user should be saved as the ASCII double quote character (U+0022). Unicode left/right double quotes aren't valid in Java source code.

  • Workaround is to open the bpmn2 file in an XML editor and fix the quotes.


  • JBoss Developer Studio with BPMN plugin
  • OS X

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content