Uploaded image for project: 'Extraction'
  1. Extraction
  2. EXTRACT-153

XML output without indent: Some spaces are dropped

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.8.0
    • 1.7.0
    • None
    • 4.6 M1

      I have the following output configuration :

      <?xml version="1.0" encoding="UTF-8"?>
      <pipeline>
          <label i18n="false">XML sans indentation</label>
          <stylesheets>
              <xslt name="test.xsl"/>
          </stylesheets>
          <out type="xml" indent="no" extension="xml"/>
      </pipeline>

      And test.xsl is like this :

      <?xml version="1.0" encoding="UTF-8"?>
      <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
          <xsl:template match="/">
              <result>Je suis<xsl:text>   </xsl:text>caro</result>
          </xsl:template>
      </xsl:stylesheet>

      Currently, I have the following result :

      <?xml version="1.0" encoding="UTF-8"?><result>Je suiscaro</result>

      Spaces between "Je suis" and "caro" have diseappeared.

          [EXTRACT-153] XML output without indent: Some spaces are dropped

          Bérénice Maurel made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Bérénice Maurel made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Ready to merge [ 10208 ] New: Resolved [ 5 ]
          Bérénice Maurel made changes -
          Status Original: Code review OK [ 10206 ] New: Ready to merge [ 10208 ]
          Cédric Damioli made changes -
          Status Original: Available for review [ 10005 ] New: Code review OK [ 10206 ]
          Cédric Damioli made changes -
          Assignee Original: Cédric Damioli [ cedric ] New: Bérénice Maurel [ bmaurel ]
          Bérénice Maurel made changes -
          Assignee New: Cédric Damioli [ cedric ]
          Bérénice Maurel made changes -
          Assignee Original: Bérénice Maurel [ bmaurel ]
          Bérénice Maurel made changes -
          Status Original: Open [ 1 ] New: Available for review [ 10005 ]
          Bérénice Maurel created issue -

            bmaurel Bérénice Maurel
            bmaurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: