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

SAX of a richtext value using #valueToSAX do not generate sax events

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      4.3 RC2

      Description

      The input stream of a richtext is saxed as a String data.
      The XML value is not parsed.

      So it is not possible to apply XSL transformation when rendering the value.

      Indeed, when saxing a view with a richtext attribute using DataHolder.dataToSax, the result is currently :

      <attributes>
           <description>
                 "<?xml version="1.0" encoding="UTF-8"?><docbook:article><para>Texte</para></docbook:article>"
           </description>
      </attributes>
       

      It should be :

      <attributes>
           <description>
                <docbook:article>
                        <para>Texte</para>
                </docbook:article>
           </description>
      </attributes>
       

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cbayle Caroline Bayle
                Reporter:
                laurence Laurence Aumeunier
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: