1904
1904
# revision_id is set. We must check for this full string, because a
1905
1905
# root node id can legitimately look like 'revision_id' but cannot
1908
1908
firstline = xml.split('\n', 1)[0]
1909
1909
if (not 'revision_id="' in firstline or
1910
1910
'format="7"' not in firstline):