That is a good question. In this case, I only really care about the body, and I only need to wrap the value in html tags to get it to parse. Later on I rip out the body and discard the html wrapper. Also, the parser is told to handle it like xml, so the omission above doesn't make any functional difference. That I know of anyway.