That seems pretty likely.. <br><br><br><div class="gmail_quote">On Jan 25, 2008 12:37 AM, Elliot Winard &lt;<a href="mailto:enw@laszlosystems.com">enw@laszlosystems.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
D&#39;ya think this is a backwards compatibility thing because Flash always<br>used to support invalid XML that had no root node?<br>-e<br><div><div></div><div class="Wj3C7c"><br>Henry Minsky wrote:<br>&gt;<br>&gt; The Flash 9 runtime defines a class called XMLList, which is like an<br>
&gt; XML DOM object, except it doesn&#39;t need t a root node, it can be a list<br>&gt; of elements.<br>&gt;<br>&gt; This is interesting because it is making explicit something that we&#39;ve<br>&gt; been doing implicitly.<br>
&gt;<br>&gt; In LZX we allow a dataset that looks like<br>&gt;<br>&gt; &lt;dataset&gt;<br>&gt; &nbsp; &nbsp;&lt;foo/&gt;<br>&gt; &nbsp; &nbsp;&lt;bar/&gt;<br>&gt; &nbsp; &nbsp;&lt;baz/&gt;<br>&gt; &lt;/dataset&gt;<br>&gt;<br>&gt; Which makes a dataset which looks like<br>
&gt;<br>&gt; «lz.dataset#0| &lt;foo&gt;&lt;foo/&gt;&lt;bar/&gt;&lt;baz/&gt;&lt;/foo&gt;»<br>&gt;<br>&gt; lzx&gt; foo.childNodes<br>&gt; «Array(3)#1| [&lt;foo/&gt;, &lt;bar/&gt;, &lt;baz/&gt;]»<br>&gt; lzx&gt;<br>&gt;<br>&gt; Because we implicitly make a root node which is never shown.<br>
&gt;<br>&gt; Many times it is useful to represent list data as XML, and you don&#39;t<br>&gt; want to have to force it to have a single root node.<br>&gt;<br>&gt; They apparently decided this was common enough to make a class for it.<br>
&gt; However, the XMLList object throws and error if<br>&gt; you try to do any XML operations on it, you need to iterate over it&#39;s<br>&gt; members if it has length greater than one.<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>
&gt;<br>&gt;<br>&gt; --<br>&gt; Henry Minsky<br>&gt; Software Architect<br></div></div>&gt; <a href="mailto:hminsky@laszlosystems.com">hminsky@laszlosystems.com</a> &lt;mailto:<a href="mailto:hminsky@laszlosystems.com">hminsky@laszlosystems.com</a>&gt;<br>
&gt;<br></blockquote></div><br><br clear="all"><br>-- <br>Henry Minsky<br>Software Architect<br><a href="mailto:hminsky@laszlosystems.com">hminsky@laszlosystems.com</a><br><br>