UI Tabs "not well formed" and "junk after document element"

UI Tabs "not well formed" and "junk after document element"

Using the library 1.3.2 and 1.7.2 (jQuery and jQuery UI respectively) I receive the above errors when retrieving an HTML pages content via a tab call.  Even using the demo included, I receive this error:

"junk after document element"

and it points to the first line.

It seems to be trying to retrieve it as an XML document.  This is both on my custom version (which is really basic) and the demo (which is also pretty basic).  The test is 100% reproducible.  The list would be as follows:

  1. <li><a href="#tabs-1"><span>Home</span></a></li>
  2. <li><a href="#tabs-2"><span>Add</span></a></li>
  3. <li><a href="#tabs-3"><span>Edit</span></a></li>
  4. <li><a href="listPage.html" title="tabs-4"><span>List</span></a></li>

And it will throw the error 100% of the time when clicking "listPage.html".  The error does not stop execution of the page or interfere with functionality, but it is an error nonetheless and interferes with debugging issues and of course is bad form.

Any help, greatly appreciated.

Edit: This is in Firefox, looking at the error console.