Log.xml: Difference between revisions

10 bytes added ,  19:34, 31 May 2020
m
mNo edit summary
Line 7: Line 7:
The structure Steve Loft created (and I think he regretted this later) is a bit more complicated than that shown below. Each <ROWDATA/> actually has another field not shown that is set by a somewhat complicated algorithm that I eventually worked out but will not fully describe here. Putting it as simply as I can, there is an extra code field, so that when an extra record is created for the same date, the code records how many times each individual field has been changed. Since any external XML editor does not understand this extra field, it cannot edit it, and without that field being correct the weather diary feature in Cumulus 1 cannot read it, and consequently will either not start or will crash out (depending on whether it is stopped or running at time of external edit).  
The structure Steve Loft created (and I think he regretted this later) is a bit more complicated than that shown below. Each <ROWDATA/> actually has another field not shown that is set by a somewhat complicated algorithm that I eventually worked out but will not fully describe here. Putting it as simply as I can, there is an extra code field, so that when an extra record is created for the same date, the code records how many times each individual field has been changed. Since any external XML editor does not understand this extra field, it cannot edit it, and without that field being correct the weather diary feature in Cumulus 1 cannot read it, and consequently will either not start or will crash out (depending on whether it is stopped or running at time of external edit).  


Here is the structure as detected by "XML Notepad 2007":
Here is the incomplete structure as detected by "XML Notepad 2007":
<pre><DATAPACKET Version="2.0">
<pre><DATAPACKET Version="2.0">
<METADATA>
<METADATA>
Line 21: Line 21:
  <ROWDATA/>
  <ROWDATA/>
  </DATAPACKET></pre>
  </DATAPACKET></pre>


== Editing this log ===
== Editing this log ===
5,838

edits