<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: jQuery, JSON and IE &#8211; Getting Incorrect Array Length</title>
	<atom:link href="http://cssquirrel.com/2008/10/14/jquery-json-and-ie-getting-incorrect-array-length/feed/" rel="self" type="application/rss+xml" />
	<link>http://cssquirrel.com/blog/2008/10/14/jquery-json-and-ie-getting-incorrect-array-length/</link>
	<description>opinions and news on web design</description>
	<lastBuildDate>Thu, 17 May 2012 05:41:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Meag</title>
		<link>http://cssquirrel.com/blog/2008/10/14/jquery-json-and-ie-getting-incorrect-array-length/comment-page-1/#comment-31941</link>
		<dc:creator>Meag</dc:creator>
		<pubDate>Fri, 16 Apr 2010 20:35:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.cssquirrel.com/?p=106#comment-31941</guid>
		<description>Thanks, bud. I could foresee this fix being a big pain in the a$$ - toth for keeping your post up.</description>
		<content:encoded><![CDATA[<p>Thanks, bud. I could foresee this fix being a big pain in the a$$ &#8211; toth for keeping your post up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle Weems</title>
		<link>http://cssquirrel.com/blog/2008/10/14/jquery-json-and-ie-getting-incorrect-array-length/comment-page-1/#comment-23396</link>
		<dc:creator>Kyle Weems</dc:creator>
		<pubDate>Tue, 05 May 2009 22:12:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.cssquirrel.com/?p=106#comment-23396</guid>
		<description>@Charles - I completely agree that IE&#039;s debug information is probably the most useless in the world. It drives me batty.</description>
		<content:encoded><![CDATA[<p>@Charles &#8211; I completely agree that IE&#8217;s debug information is probably the most useless in the world. It drives me batty.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charles St-Pierre</title>
		<link>http://cssquirrel.com/blog/2008/10/14/jquery-json-and-ie-getting-incorrect-array-length/comment-page-1/#comment-23392</link>
		<dc:creator>Charles St-Pierre</dc:creator>
		<pubDate>Tue, 05 May 2009 21:34:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.cssquirrel.com/?p=106#comment-23392</guid>
		<description>[slap my forehead] Of course! Thanks for this article.

And no matter if IE is right in doing this way, I&#039;m still mad at it for giving me useless debug informations.

&quot;is null or not an object&quot; WTH?!?</description>
		<content:encoded><![CDATA[<p>[slap my forehead] Of course! Thanks for this article.</p>
<p>And no matter if IE is right in doing this way, I&#8217;m still mad at it for giving me useless debug informations.</p>
<p>&#8220;is null or not an object&#8221; WTH?!?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerry Carter</title>
		<link>http://cssquirrel.com/blog/2008/10/14/jquery-json-and-ie-getting-incorrect-array-length/comment-page-1/#comment-990</link>
		<dc:creator>Jerry Carter</dc:creator>
		<pubDate>Mon, 08 Dec 2008 15:45:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.cssquirrel.com/?p=106#comment-990</guid>
		<description>Rock it.  That was exactly my issue.  thanks!!!</description>
		<content:encoded><![CDATA[<p>Rock it.  That was exactly my issue.  thanks!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle Weems</title>
		<link>http://cssquirrel.com/blog/2008/10/14/jquery-json-and-ie-getting-incorrect-array-length/comment-page-1/#comment-775</link>
		<dc:creator>Kyle Weems</dc:creator>
		<pubDate>Mon, 10 Nov 2008 17:35:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.cssquirrel.com/?p=106#comment-775</guid>
		<description>@Joe - Well... that&#039;s a good point. I&#039;ll admit, I&#039;m so accustomed to IE interpreting something the wrong way that I often jump to conclusions and assume a behavioral difference between Internet Explorer and any other browser means that IE is behaving incorrectly.

Score a point for IE. And actually, it&#039;s probably lazy programming to include that trailing comma, so I can&#039;t really call IE to task for being strict about it.</description>
		<content:encoded><![CDATA[<p>@Joe &#8211; Well&#8230; that&#8217;s a good point. I&#8217;ll admit, I&#8217;m so accustomed to IE interpreting something the wrong way that I often jump to conclusions and assume a behavioral difference between Internet Explorer and any other browser means that IE is behaving incorrectly.</p>
<p>Score a point for IE. And actually, it&#8217;s probably lazy programming to include that trailing comma, so I can&#8217;t really call IE to task for being strict about it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://cssquirrel.com/blog/2008/10/14/jquery-json-and-ie-getting-incorrect-array-length/comment-page-1/#comment-772</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Sun, 09 Nov 2008 13:29:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.cssquirrel.com/?p=106#comment-772</guid>
		<description>First, I am by no means a fan of Internet Explorer -- I use Firefox as my browser in linux, and I&#039;m a web developer and all versions of IE to date are the bane of my career.  However, this is one of those rare cases where IE is actually interpreting the RFC for JSON (RFC4627) correctly.  Granted, the RFC does not explicitly say that the trailing comma &quot;MUST NOT&quot; exist, or &quot;SHOULD NOT&quot; exist, the grammar used to describe the comma-separated lists clearly shows that a value should come after the value-separator:

&gt;      object = begin-object [ member *( value-separator member ) ] end-object

&gt;      array = begin-array [ value *( value-separator value ) ] end-array

So this is actually Firefox being generous and allowing value-separator to *not* be followed by a value, which is sort of going against the RFC.  For a PHP developer, having a trailing comma with no value following it is allowed, and many developers add it by default in order to prevent parse errors that occur when you add a new element to the list and forget the comma.  But one must admit it&#039;s non-standard and unneeded, so strict interpretation should require that a value follows a value-separator.</description>
		<content:encoded><![CDATA[<p>First, I am by no means a fan of Internet Explorer &#8212; I use Firefox as my browser in linux, and I&#8217;m a web developer and all versions of IE to date are the bane of my career.  However, this is one of those rare cases where IE is actually interpreting the RFC for JSON (RFC4627) correctly.  Granted, the RFC does not explicitly say that the trailing comma &#8220;MUST NOT&#8221; exist, or &#8220;SHOULD NOT&#8221; exist, the grammar used to describe the comma-separated lists clearly shows that a value should come after the value-separator:</p>
<p>&gt;      object = begin-object [ member *( value-separator member ) ] end-object</p>
<p>&gt;      array = begin-array [ value *( value-separator value ) ] end-array</p>
<p>So this is actually Firefox being generous and allowing value-separator to *not* be followed by a value, which is sort of going against the RFC.  For a PHP developer, having a trailing comma with no value following it is allowed, and many developers add it by default in order to prevent parse errors that occur when you add a new element to the list and forget the comma.  But one must admit it&#8217;s non-standard and unneeded, so strict interpretation should require that a value follows a value-separator.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

