Description
Some services put BOM entity (actual string '' not just the bytes) as first item on XML stream.
For example try: http://www.google.com/ig/modules/china/ijoke.xml
I am not sure how correct is that behavior, but most browsers support it by ignoring it (FireFox, IE, Chrome).
Attached change handle that special case by ignoring bom entity when parsing gadget spec.
Patch Set 1 #Patch Set 2 : Add test for BOM char #
MessagesTotal messages: 6
|
||||||||||||||||||||||||||||