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

XML output without indent: Some spaces are dropped

XMLWordPrintable

    • 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.

            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: