Fix for parsing XML elements with comments at the start of a text block.