My reading is that outerHTML 's getter runs the fragment serializing algorithm with the "require well-formed" parameter set to true, and the fragment serializing algorithm specifically produces an XML ...
A simple jQuery plugin to get or set a node's outer HTML, a la IE's [formerly] proprietary outerHTML property on elements. Get the outer HTML contents of the first node in the set of matched elements ...