rehamaltamimi / gwtwiki

Automatically exported from code.google.com/p/gwtwiki
0 stars 0 forks source link

Problems with intranet wiki and "byte order mark" #33

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Some intranet wikis send a leading "byte order mark" in their API.php
response body (example http://meta.wikimedia.org/w/api.php)

The SAX parser fails with an exception in this case.

Reference:
http://en.wikipedia.org/wiki/Byte_order_mark

Original issue reported on code.google.com by axelclk@gmail.com on 5 Jan 2010 at 6:37

GoogleCodeExporter commented 8 years ago
Try to avoid problem by searching for start of '<?xml' string.
Change: http://code.google.com/p/gwtwiki/source/detail?r=639

Original comment by axelclk@gmail.com on 5 Jan 2010 at 6:53