Comments shouldn't be part of SimpleXMLElement's children.

This is obviously not true for libxml2.

I have provided a testcase and a fix.