Uploaded image for project: 'DAM Focal'
  1. DAM Focal
  2. RESPDAM-46

Exclude xalan dependencies for smiley support

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 2.1
    • 2.0.6
    • None
    • None

      Steps to reproduce

      1. Just start a vanilla Magnolia with the magnolia-dam-focal module installed
      2.  Create a basic page
      3. Insert the emoji 🌱  into the abstract field of the page dialog
      4. Open JCR app
      5. Export the page as XML

      Expected results

      Expected would be the Decimal HTML Entity code of the seeding emoji → & #127793;

      Actual results

      You get this code: & #55356;& #57137;

      If you try to reimport the page or publish the page, an invalid character exception is thrown.

      Workaround

      With the exclusion of the xalan dependencie the problem seems to be gone. Maybe we have to verify that no other feature of the dam focal module is affected with this exclusion:

      <!-- DAM-Focal -->
      <dependency>
        <groupId>info.magnolia.dam</groupId>
        <artifactId>magnolia-dam-focal-area</artifactId>
        <exclusions>
          <exclusion>
            <groupId>xalan</groupId>
            <artifactId>xalan</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>info.magnolia.dam</groupId>
        <artifactId>magnolia-dam-focal-point</artifactId>
        <exclusions>
          <exclusion>
            <groupId>xalan</groupId>
            <artifactId>xalan</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>info.magnolia.dam</groupId>
        <artifactId>magnolia-dam-focal-hotspot</artifactId>
        <exclusions>
          <exclusion>
            <groupId>xalan</groupId>
            <artifactId>xalan</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      

      Development notes

        Acceptance criteria

              rfalvo Raphael Falvo
              tobias.kerschbaum Tobias Kerschbaum
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD