jimmejardine / qiqqa-open-source

The open-sourced version of the award-winning Qiqqa research management tool for Windows
GNU General Public License v3.0
375 stars 61 forks source link

(v82.dev) Update XML fails to parse #177

Open GerHobbelt opened 4 years ago

GerHobbelt commented 4 years ago

(Moved this from my own dev fork; having issues there as well is too confusing, not just for users and this dev, but it makes it harder in github as well: too much typing: GerHobbelt#NN (or fetching and pasting links)

(Previously filed as https://github.com/GerHobbelt/qiqqa-open-source/issues/3)

ClientVersionInformation client_version_information = XmlSerializeFile.Deserialize<ClientVersionInformation>(temp_file);

in ClientUpdater.cs fails to parse this XML file as obtained from qiqqa.com:

<?xml version="1.0"?>
<ClientVersionInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <LatestVersion>79</LatestVersion>
  <CompliantFromVersion>79</CompliantFromVersion>
  <ObsoleteToVersion xsi:nil="true" />
  <DownloadLocations>
    <!-- @WEB_BASE@ will be populated with "http://download.qiqqa.com/Content/Client/setup.exe" -->
    <string>@WEB_BASE@</string>
  </DownloadLocations>
  <ReleaseNotes><![CDATA[
To rollback to a previous version, we keep the last few versions (about 10 of them) at
http://download.qiqqa.com/Content/Client/setupXX.exe
where XX should be replaced with the version number (e.g. setup65.exe).

Version 79:
- Can add regularly used user-defined keys to the BibTeX Editor
- Can add regularly used search queries to the Search Boxes.
- Adds Jamatto donate buttons to the PDF Share feature.
- Check out Qiqqa for Web at http://web.qiqqa.com

...

Version 18:
- The first installer version of Qiqqa available for beta testing!
]]></ReleaseNotes>
</ClientVersionInformation>

(XML file is saved in test project data/fixtures/.../gho-issue-0003.xml for regression testing)