Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-22010

Bloc CDATA is not generated correctly in xsl transformation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 4.7.1
    • XML: QtXmlPatterns
    • all

    Description

      although this kind of output :

      <xsl:output method="html" version="2.0" encoding="UTF-8" indent="yes"/>

      this bloc :
      <SCRIPT type="text/Javascript">
      <![CDATA[
      function greater(a,b){
      return a > b;
      }]]>
      </SCRIPT>

      is converted to :
      <SCRIPT type="text/Javascript">
      function greater(a,b){
      return a & g t ; b;
      }
      </SCRIPT>

      and so the javascript function don't work

      i would agree with this output is the xsl output is xml like that :

      <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            juvuolle Juha Vuolle (closed Nokia identity) (Inactive)
            sdnetwork le roy arnaud
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes