title: Apostrophe not preceded by \
body: <p>I have a string defined in an android application:</p>
  
  <p><code>&lt;string name="search_occurs"&gt;'{string}' occurs {times}&lt;/string&gt;</code></p>
  
  <p>This gives the error: Apostrophe not preceded by \ (in '{string}' occurs {times})</p>
  
  <p>I've tried a number of things to fix this:</p>
  
  <pre><code>&lt;string name="search_occurs"&gt;\'{string}\' occurs {times}&lt;/string&gt;
  &lt;string name="search_occurs"&gt;&amp;apos;{string}&amp;apos; occurs {times}&lt;/string&gt;
  &lt;string name="search_occurs"&gt;&lt;![CDATA['{string}' occurs {times}]]&gt;&lt;/string&gt;
  &lt;string name="search_occurs"&gt;&lt;![CDATA[\'{string}\' occurs {times}]]&gt;&lt;/string&gt;
  </code></pre>
  
  <p>I'm not able to get rid of the error.  What am I missing?</p>