<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Excel XML error: &#8220;Too many tags&#8221;</title>
	<atom:link href="http://www.pelennorfields.com/matt/2006/02/17/excel-xml-error-too-many-tags/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pelennorfields.com/matt/2006/02/17/excel-xml-error-too-many-tags/</link>
	<description>The Pelennor Fields White Book: Red Book reincarnated</description>
	<pubDate>Sun, 12 Oct 2008 11:19:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Kunal Bhambhani</title>
		<link>http://www.pelennorfields.com/matt/2006/02/17/excel-xml-error-too-many-tags/#comment-28137</link>
		<dc:creator>Kunal Bhambhani</dc:creator>
		<pubDate>Thu, 21 Aug 2008 20:51:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.pelennorfields.com/matt/2006/02/17/excel-xml-error-too-many-tags/#comment-28137</guid>
		<description>&lt;p&gt;In my case I was getting the follwoing error:-
XML ERROR in Workbook Setting
REASON: Too many tags
FILE:   C:\Documents and Settings\mylogin\Local Settings\Temporary Internet Files\Content.IE5\KTEZW9ER\PCAPAnalysis[1].xls
GROUP:  Workbook
TAG:    Worksheet
ATTRIB: Name
VALUE:  Detailed Report&lt;/p&gt;

&lt;p&gt;It does not come up anymore since I changed the name of the file to a dynamically generated random number in the contentdisposition header of the response. I have a web application and having the same filename in the response header some how gave teh above error.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>In my case I was getting the follwoing error:-<br />
XML ERROR in Workbook Setting<br />
REASON: Too many tags<br />
FILE:   C:\Documents and Settings\mylogin\Local Settings\Temporary Internet Files\Content.IE5\KTEZW9ER\PCAPAnalysis[1].xls<br />
GROUP:  Workbook<br />
TAG:    Worksheet<br />
ATTRIB: Name<br />
VALUE:  Detailed Report</p>
<p>It does not come up anymore since I changed the name of the file to a dynamically generated random number in the contentdisposition header of the response. I have a web application and having the same filename in the response header some how gave teh above error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TulsaDev</title>
		<link>http://www.pelennorfields.com/matt/2006/02/17/excel-xml-error-too-many-tags/#comment-27545</link>
		<dc:creator>TulsaDev</dc:creator>
		<pubDate>Tue, 15 Jul 2008 15:06:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.pelennorfields.com/matt/2006/02/17/excel-xml-error-too-many-tags/#comment-27545</guid>
		<description>&lt;p&gt;I also cam across this error while trying to use the CarlosAg.ExcelXmlWriter.&lt;/p&gt;

&lt;p&gt;I had multiple sheets in a workbook, which were named uniquely, but I then added a style, and style names must be unique for each worksheet as well.&lt;/p&gt;

&lt;p&gt;I ended up appending the worksheet name to the style name.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I also cam across this error while trying to use the CarlosAg.ExcelXmlWriter.</p>
<p>I had multiple sheets in a workbook, which were named uniquely, but I then added a style, and style names must be unique for each worksheet as well.</p>
<p>I ended up appending the worksheet name to the style name.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan Painter</title>
		<link>http://www.pelennorfields.com/matt/2006/02/17/excel-xml-error-too-many-tags/#comment-27243</link>
		<dc:creator>Alan Painter</dc:creator>
		<pubDate>Tue, 01 Jul 2008 10:33:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.pelennorfields.com/matt/2006/02/17/excel-xml-error-too-many-tags/#comment-27243</guid>
		<description>&lt;p&gt;I ran into something similar from a .xml written by Excel 2003.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
XML ERROR in Style
REASON: Too many tags
FILE:   MyFileName.xml
GROUP:  Styles
TAG:    Style
ATTRIB: Name
VALUE:  Normal
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Turned out that two Style elements had the same ss:Name attribute values.  Both "Default" and "s21" had ss:Name="Normal".&lt;/p&gt;

&lt;p&gt;I got rid of one of the name attributes ( the one on the Default Style) and Excel read again.  Upon re-writing, the second "Normal" was magically changed to "Normal_".&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I ran into something similar from a .xml written by Excel 2003.</p>
<p><code><br />
XML ERROR in Style<br />
REASON: Too many tags<br />
FILE:   MyFileName.xml<br />
GROUP:  Styles<br />
TAG:    Style<br />
ATTRIB: Name<br />
VALUE:  Normal<br />
</code></p>
<p>Turned out that two Style elements had the same ss:Name attribute values.  Both &#8220;Default&#8221; and &#8220;s21&#8243; had ss:Name=&#8221;Normal&#8221;.</p>
<p>I got rid of one of the name attributes ( the one on the Default Style) and Excel read again.  Upon re-writing, the second &#8220;Normal&#8221; was magically changed to &#8220;Normal_&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian</title>
		<link>http://www.pelennorfields.com/matt/2006/02/17/excel-xml-error-too-many-tags/#comment-26036</link>
		<dc:creator>Adrian</dc:creator>
		<pubDate>Tue, 13 May 2008 14:55:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.pelennorfields.com/matt/2006/02/17/excel-xml-error-too-many-tags/#comment-26036</guid>
		<description>&lt;p&gt;By removing the nameless 'default' tag, I meant.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>By removing the nameless &#8216;default&#8217; tag, I meant.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian</title>
		<link>http://www.pelennorfields.com/matt/2006/02/17/excel-xml-error-too-many-tags/#comment-26033</link>
		<dc:creator>Adrian</dc:creator>
		<pubDate>Tue, 13 May 2008 14:43:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.pelennorfields.com/matt/2006/02/17/excel-xml-error-too-many-tags/#comment-26033</guid>
		<description>&lt;p&gt;My errors were:&lt;/p&gt;

&lt;p&gt;XML ERROR in Style
REASON: Bad Value&lt;/p&gt;

&lt;p&gt;XML ERROR in Style
REASON: Too many tags&lt;/p&gt;

&lt;p&gt;Solved them by removing the  tag at the beginning of the XML.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>My errors were:</p>
<p>XML ERROR in Style<br />
REASON: Bad Value</p>
<p>XML ERROR in Style<br />
REASON: Too many tags</p>
<p>Solved them by removing the  tag at the beginning of the XML.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RL</title>
		<link>http://www.pelennorfields.com/matt/2006/02/17/excel-xml-error-too-many-tags/#comment-25020</link>
		<dc:creator>RL</dc:creator>
		<pubDate>Mon, 28 Apr 2008 18:40:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.pelennorfields.com/matt/2006/02/17/excel-xml-error-too-many-tags/#comment-25020</guid>
		<description>&lt;p&gt;This happened to me recently with a monsterous spreadsheet that had a duplicate 'Default' style (two entries with the same Id tag seems to be the trick). When I exported it, there were two 'Default' styles in the tag, causing an error when re-opening the XML file.  Removing it from the XML eliminated the problem. Now I just have to figure out how to get rid of this odd style.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This happened to me recently with a monsterous spreadsheet that had a duplicate &#8216;Default&#8217; style (two entries with the same Id tag seems to be the trick). When I exported it, there were two &#8216;Default&#8217; styles in the tag, causing an error when re-opening the XML file.  Removing it from the XML eliminated the problem. Now I just have to figure out how to get rid of this odd style.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://www.pelennorfields.com/matt/2006/02/17/excel-xml-error-too-many-tags/#comment-22958</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Tue, 15 Jan 2008 13:49:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.pelennorfields.com/matt/2006/02/17/excel-xml-error-too-many-tags/#comment-22958</guid>
		<description>&lt;p&gt;I got this error when adding cells to a worksheet but not 'trimming' the strings correctly. Adding the cells would work if I did it with a bit of test data statically in the code but when I referenced real data from a row in a dataset I had to 'trim' the strings with the VB.NET function '.trim'. Perhaps it's my particular data but it's worth mentioning.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I got this error when adding cells to a worksheet but not &#8216;trimming&#8217; the strings correctly. Adding the cells would work if I did it with a bit of test data statically in the code but when I referenced real data from a row in a dataset I had to &#8216;trim&#8217; the strings with the VB.NET function &#8216;.trim&#8217;. Perhaps it&#8217;s my particular data but it&#8217;s worth mentioning.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pete The Van</title>
		<link>http://www.pelennorfields.com/matt/2006/02/17/excel-xml-error-too-many-tags/#comment-22445</link>
		<dc:creator>Pete The Van</dc:creator>
		<pubDate>Thu, 06 Dec 2007 09:34:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.pelennorfields.com/matt/2006/02/17/excel-xml-error-too-many-tags/#comment-22445</guid>
		<description>&lt;p&gt;Marvelous work! Exactly my problem too! Thanks.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Marvelous work! Exactly my problem too! Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NGHI</title>
		<link>http://www.pelennorfields.com/matt/2006/02/17/excel-xml-error-too-many-tags/#comment-21586</link>
		<dc:creator>NGHI</dc:creator>
		<pubDate>Sun, 07 Oct 2007 12:07:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.pelennorfields.com/matt/2006/02/17/excel-xml-error-too-many-tags/#comment-21586</guid>
		<description>&lt;p&gt;Yes, that's correct for one bad defined XMLExcel file.
But I get this issue when my website export one XMLExcel file with 5 Sheets.&lt;/p&gt;

&lt;p&gt;If I save this file to local storage then open it - this issue never occurs.
But I chose directly open this file then sometime this issue occur.&lt;/p&gt;

&lt;p&gt;Have you got any idea?&lt;/p&gt;

&lt;p&gt;Thanks &#38; best regards,&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Yes, that&#8217;s correct for one bad defined XMLExcel file.<br />
But I get this issue when my website export one XMLExcel file with 5 Sheets.</p>
<p>If I save this file to local storage then open it - this issue never occurs.<br />
But I chose directly open this file then sometime this issue occur.</p>
<p>Have you got any idea?</p>
<p>Thanks &amp; best regards,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kannan</title>
		<link>http://www.pelennorfields.com/matt/2006/02/17/excel-xml-error-too-many-tags/#comment-18447</link>
		<dc:creator>Kannan</dc:creator>
		<pubDate>Tue, 17 Jul 2007 10:30:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.pelennorfields.com/matt/2006/02/17/excel-xml-error-too-many-tags/#comment-18447</guid>
		<description>&lt;p&gt;Before seeing your solution, I am confused and unable to fix the prob.
Now very happy.
Regards&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Before seeing your solution, I am confused and unable to fix the prob.<br />
Now very happy.<br />
Regards</p>
]]></content:encoded>
	</item>
</channel>
</rss>
