<li>One and only <reported/> element, which can be understood as a "table header" describing the data to follow.</li>
<li>Zero or more <item/> elements, which can be understood as "table cells" containing data (if any) that matches the request.</li>
<p>The <reported/> element MUST appear before any
<item/> element in the XML document.</p>
<p>The <reported/> element MUST appear before any <item/> element inside the <x/> element.</p>
Older revisions of this XEP (before 2.12.0) did not contain an explicit requirement for the ordering between <reported> and <item>. Implementations are therefore encouraged to be flexible when processing incoming data, as there might still be implementations which do not implement a strict ordering when generating reports.