Closed ghost closed 11 years ago
The API returns an XML that looks like the following (this has the results shortened):
<api>
<script/>
<query-continue>
<search sroffset="10"/>
</query-continue>
<query>
<searchinfo totalhits="87768"/>
<search>...</search>
</query>
</api>
i think its the 2 x search element, that breaks the deserializer.
Seems that the XML format changed and search is now an element twice, so setting root element makes sure the right list gets deserialized.