Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-3571

Docbook to htmleditor transformation generated 

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • 3.4
    • None
    • None
    • None

      The following stored docbook:

      <article><section><title>Title 1</title><para>Lorem ipsum sit amet</para></section></article>
      

      generate the following html (after docbook2htemleditor.xsl transformation):

      <h1>Title 1</h1><p>Lorem ipsum sit amet</p>
      

      The following stored docbook (with breakline):

      <article>
      <section>
      <title>Title 1</title>
      <para>Lorem ipsum sit amet</para>
      </section>
      </article>
      

      generate the following html

      &#13;<h1>Title 1</h1><p>Lorem ipsum sit amet</p>&#13;
      

      The XML indentation should be ignored.

          [CMS-3571] Docbook to htmleditor transformation generated &#13;

          Unable to reproduce with current code base

          Cédric Damioli added a comment - Unable to reproduce with current code base

          I already tried this, and it worked...

          Did you also try on your side ?

          Cédric Damioli added a comment - I already tried this, and it worked... Did you also try on your side ?

          This is a docbook with breakline.
          Maybe you can update a rich text with this docbbok in JCR repository to reproduce it ?

          Laurence Aumeunier added a comment - This is a docbook with breakline. Maybe you can update a rich text with this docbbok in JCR repository to reproduce it ?

          It is true that Xalan outputs entities when it encounters '\r' characters

          But I cannot reproduce any problem associated with it

          I close this issue for now.
          Please reopen it with a step-by-step way to reproduce it if you can.

          Cédric Damioli added a comment - It is true that Xalan outputs entities when it encounters '\r' characters But I cannot reproduce any problem associated with it I close this issue for now. Please reopen it with a step-by-step way to reproduce it if you can.

            cedric Cédric Damioli
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: