I am busy to migrate from Tomee 8 to Tomee 10. Less easy than expected. Now I am able to run an application on Tomee 10, but a strange translation is done. All LF characters are  replaced by 
. This is the HTML code for the LF. This is annoying, but the pages get displayed correctly. I also notice that all " are replaced by '. The bad part is that it replaces some characters in my JavaScript, which makes it unusable.

On Tomee 8 it works. Here is a snippet:

                  <div class="field is-grouped">
                    <p class="control"><a href="#" onclick="return myfaces.oam.submitForm('cacheForm','cacheForm:bekijkProperties');" id="cacheForm:bekijkProperties" class="button">Bekijken</a>
                    </p>
                    <p class="control"><a href="#" onclick="return myfaces.oam.submitForm('cacheForm','cacheForm:clearProperties');" id="cacheForm:clearProperties" class="button">Leegmaken</a>
                    </p>
                  </div>

On Tomee 10 the same part is:

            <div class='field is-grouped'>&#x0a;
             <p class='control'>
              <script type='text/javascript' src='/doos/jakarta.faces.resource/faces.js.xhtml?ln=jakarta.faces'></script>               <a href='#' onclick='return myfaces.oam.submitForm(&#x27;cacheForm&#x27;,&#x27;cacheForm:bekijkI18nTeksten&#x27;);' id='cacheForm:bekijkI18nTeksten' class='button'>Bekijken</a>&#x0a;
             </p>&#x0a;
             <p class='control'>
              <a href='#' onclick='return myfaces.oam.submitForm(&#x27;cacheForm&#x27;,&#x27;cacheForm:clearI18nTeksten&#x27;);' id='cacheForm:clearI18nTeksten' class='button'>Leegmaken</a>&#x0a;
             </p>&#x0a;
            </div>&#x0a;

Did I miss some parameter to be set?


Kind regards,

Marco

Reply via email to