raw API dump invalid XML

raw API dump invalid XML

As far as I can tell, the raw XML API dump ( http://api.jquery.com/api/) is not being served properly.
That URL returns index.html with content type not set to {text,application}/xml. Also, the document is missing an XML declaration at the top (not sure whether that's a problem though).

This means I can't retrieve and parse it via $.ajax - the following raises a parsererror:
  1. jQuery.ajax({
  2.     type: "GET",
  3.     url: "http://api.jquery.com/api/",
  4.     dataType: "xml",
  5.     success: function(data, status, xhr) {
  6.         console.log("success", arguments);
  7.     },
  8.     error: function(xhr, error, exc) {
  9.         console.log("error", arguments);
  10.     }
  11. });
(running from Firebug on api.jquery.com to avoid same-origin restrictions, or from a file:// URI)

If my assumptions above are correct, I'd appreciate if the server config could be adjusted.


Thanks,

Fred