title: XmlMapper: Force entity encoding of > to &gt;
body: <p>I'm using XmlMapper to migrate some XML feed logic from Ruby to Java. One of the diffs I got is the following:</p>
  <p>Old output (from Ruby code):</p>
  <pre><code>&lt;qualification&gt;· Development experience in one or more object-oriented programming languages&amp;lt;br/&amp;gt;&lt;/qualification&gt;
  </code></pre>
  <p>New Output (from XmlMapper.writeValueAsString):</p>
  <pre><code>&lt;qualification&gt;· Development experience in one or more object-oriented programming languages&amp;lt;br/&gt;&lt;/qualification&gt;
  </code></pre>
  <p>Note the <code>&lt;br/&gt;</code> tag in the new output, where the <code>&gt;</code> character is not encoded to <code>&amp;gt;</code>. I realize this is not technically required per XML Specification, but in my case it's a strict requirement due to the way a 3rd-party consumer is handling my data. Is there an easy way to enable XmlMapper to do this?</p>