<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Compression Discrepancy in XML Files Generated by Talend vs eprocat in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Compression-Discrepancy-in-XML-Files-Generated-by-Talend-vs/m-p/2365916#M129472</link>
    <description>&lt;P&gt;I'm currently working on a project where I'm creating a catalog using the BMEcat new catalog 1.2 version Schema through Talend. I've imported the BMEcat XSD in Talend Studio, created a structure, and used a tHMap to map elements from source to target (BMEcat XML). However, I'm encountering a perplexing issue with the file size and compression ratio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The generated XML file from Talend is approximately 3GB in size. When I compress it using the Deflate algorithm at normal compression level, the resulting ZIP file is around 400MB, reaching only a 12% compression ratio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interestingly, when I create the same catalog using eprocat, the raw file size is also 3GB. However, when I compress it using the Deflate algorithm at normal compression level, the ZIP file is only around 170MB, achieving a 5% compression ratio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Upon inspecting the files, I noticed two main differences:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. **XML Notation:**&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;- Talend: `&amp;lt;?xml version='1.0' encoding='UTF-8'?&amp;gt;&amp;lt;BMECAT xmlns="&lt;A href="http://www.bmecat.org/XMLSchema/1.2/bmecat_new_catalog" target="_blank"&gt;http://www.bmecat.org/XMLSchema/1.2/bmecat_new_catalog&lt;/A&gt;" version="1.2"&amp;gt;`&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;- eprocat: `&amp;lt;?xml version="1.0" encoding="UTF-8" ?&amp;gt; &amp;lt;!DOCTYPE BMECAT SYSTEM "bmecat_new_catalog_1_2.dtd"&amp;gt; &amp;lt;BMECAT version="1.2"&amp;gt;`&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. **File Structure:**&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;- Talend: Single-line XML file without indentation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;- eprocat: Indented XML file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've conducted some tests by changing the XML notation at the top and indenting the Talend-generated file to match the eprocat structure. Despite these adjustments, the compression ratio remains at 12% for the Talend-generated file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**Objective:**&lt;/P&gt;&lt;P&gt;I aim to achieve a similar compression ratio for the Talend-generated file as I do with eprocat (5%). Are there any specific configurations or optimizations in Talend that can be applied to enhance the compression ratio? Any insights or suggestions would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for your assistance!&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 21:11:04 GMT</pubDate>
    <dc:creator>Artemis_Mercury</dc:creator>
    <dc:date>2024-11-15T21:11:04Z</dc:date>
    <item>
      <title>Compression Discrepancy in XML Files Generated by Talend vs eprocat</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Compression-Discrepancy-in-XML-Files-Generated-by-Talend-vs/m-p/2365916#M129472</link>
      <description>&lt;P&gt;I'm currently working on a project where I'm creating a catalog using the BMEcat new catalog 1.2 version Schema through Talend. I've imported the BMEcat XSD in Talend Studio, created a structure, and used a tHMap to map elements from source to target (BMEcat XML). However, I'm encountering a perplexing issue with the file size and compression ratio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The generated XML file from Talend is approximately 3GB in size. When I compress it using the Deflate algorithm at normal compression level, the resulting ZIP file is around 400MB, reaching only a 12% compression ratio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interestingly, when I create the same catalog using eprocat, the raw file size is also 3GB. However, when I compress it using the Deflate algorithm at normal compression level, the ZIP file is only around 170MB, achieving a 5% compression ratio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Upon inspecting the files, I noticed two main differences:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. **XML Notation:**&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;- Talend: `&amp;lt;?xml version='1.0' encoding='UTF-8'?&amp;gt;&amp;lt;BMECAT xmlns="&lt;A href="http://www.bmecat.org/XMLSchema/1.2/bmecat_new_catalog" target="_blank"&gt;http://www.bmecat.org/XMLSchema/1.2/bmecat_new_catalog&lt;/A&gt;" version="1.2"&amp;gt;`&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;- eprocat: `&amp;lt;?xml version="1.0" encoding="UTF-8" ?&amp;gt; &amp;lt;!DOCTYPE BMECAT SYSTEM "bmecat_new_catalog_1_2.dtd"&amp;gt; &amp;lt;BMECAT version="1.2"&amp;gt;`&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. **File Structure:**&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;- Talend: Single-line XML file without indentation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;- eprocat: Indented XML file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've conducted some tests by changing the XML notation at the top and indenting the Talend-generated file to match the eprocat structure. Despite these adjustments, the compression ratio remains at 12% for the Talend-generated file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**Objective:**&lt;/P&gt;&lt;P&gt;I aim to achieve a similar compression ratio for the Talend-generated file as I do with eprocat (5%). Are there any specific configurations or optimizations in Talend that can be applied to enhance the compression ratio? Any insights or suggestions would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for your assistance!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:11:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Compression-Discrepancy-in-XML-Files-Generated-by-Talend-vs/m-p/2365916#M129472</guid>
      <dc:creator>Artemis_Mercury</dc:creator>
      <dc:date>2024-11-15T21:11:04Z</dc:date>
    </item>
  </channel>
</rss>

