<?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 Re: White space error - XML file format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/White-space-error-XML-file-format/m-p/918249#M651896</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know I am replying to a very old post, but I had the same problem.&lt;/P&gt;&lt;P&gt;This is seen when you extract pieces of a large LOB using DBMS_LOB.SUBSTR(DB_XML_FIELD, 4000, 8001) from the database, and joining them in QV to create one field that has the full XML content.&lt;/P&gt;&lt;P&gt;While returning data, Oracle is trimming the leading (and trailing?) white spaces.&lt;/P&gt;&lt;P&gt;To overcome this, I used&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Replace(DBMS_LOB.SUBSTR(DB_XML_FIELD, 4000, 8001),' ','|') as XML_Chunk_2 from the database, and then replace '|' with ' ' on QV side.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Hope this helps.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Nov 2016 09:12:03 GMT</pubDate>
    <dc:creator>vupen</dc:creator>
    <dc:date>2016-11-15T09:12:03Z</dc:date>
    <item>
      <title>White space error - XML file format</title>
      <link>https://community.qlik.com/t5/QlikView/White-space-error-XML-file-format/m-p/918245#M651892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am LOADing data from a web file, in XML format.&lt;/P&gt;&lt;P&gt;The script runs perfectly when I run it locally on my PC.&lt;/P&gt;&lt;P&gt;When I save the model to server and run it, I get:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: Required white space was missing&amp;nbsp; On line number: 1. On column number: 55.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no idea what this error is telling me, so any advice would be welcome.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 08:29:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/White-space-error-XML-file-format/m-p/918245#M651892</guid>
      <dc:creator>richard_chilvers</dc:creator>
      <dc:date>2015-08-11T08:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: White space error - XML file format</title>
      <link>https://community.qlik.com/t5/QlikView/White-space-error-XML-file-format/m-p/918246#M651893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this is helpful: &lt;A href="https://www.google.de/?gws_rd=ssl#q=xml%2C+Required+white+space+was+missing" title="https://www.google.de/?gws_rd=ssl#q=xml%2C+Required+white+space+was+missing"&gt;https://www.google.de/?gws_rd=ssl#q=xml%2C+Required+white+space+was+missing&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 09:41:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/White-space-error-XML-file-format/m-p/918246#M651893</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-08-11T09:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: White space error - XML file format</title>
      <link>https://community.qlik.com/t5/QlikView/White-space-error-XML-file-format/m-p/918247#M651894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Marcus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will take a look in detail, but it seems strange the same model works on my local PC but not the server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 11:15:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/White-space-error-XML-file-format/m-p/918247#M651894</guid>
      <dc:creator>richard_chilvers</dc:creator>
      <dc:date>2015-08-11T11:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: White space error - XML file format</title>
      <link>https://community.qlik.com/t5/QlikView/White-space-error-XML-file-format/m-p/918248#M651895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you the same qv version on server and on the local machine? Further for many things used qv no own functionalities else it used windows system libraries (*.dll) and they could differ to each other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 11:30:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/White-space-error-XML-file-format/m-p/918248#M651895</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-08-11T11:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: White space error - XML file format</title>
      <link>https://community.qlik.com/t5/QlikView/White-space-error-XML-file-format/m-p/918249#M651896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know I am replying to a very old post, but I had the same problem.&lt;/P&gt;&lt;P&gt;This is seen when you extract pieces of a large LOB using DBMS_LOB.SUBSTR(DB_XML_FIELD, 4000, 8001) from the database, and joining them in QV to create one field that has the full XML content.&lt;/P&gt;&lt;P&gt;While returning data, Oracle is trimming the leading (and trailing?) white spaces.&lt;/P&gt;&lt;P&gt;To overcome this, I used&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Replace(DBMS_LOB.SUBSTR(DB_XML_FIELD, 4000, 8001),' ','|') as XML_Chunk_2 from the database, and then replace '|' with ' ' on QV side.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Hope this helps.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 09:12:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/White-space-error-XML-file-format/m-p/918249#M651896</guid>
      <dc:creator>vupen</dc:creator>
      <dc:date>2016-11-15T09:12:03Z</dc:date>
    </item>
  </channel>
</rss>

