XML format change

Miika Turkia miika.turkia at gmail.com
Sun Dec 23 14:04:59 PST 2012


On Sun, Dec 23, 2012 at 10:14 PM, Dirk Hohndel <dirk at hohndel.org> wrote:
> On December 23, 2012 11:29:35 AM Linus Torvalds
> <torvalds at linux-foundation.org> wrote:
>>
>> On Sun, Dec 23, 2012 at 11:13 AM, Miika Turkia <miika.turkia at gmail.com>
>> wrote:
>> >
>> > Is there any need to adapt the XSLT files to the new format?
>>
>> I doubt we need to do so now, since we should parse the old format
>> fine regardless, so the old xslt file should work fine. If it doesn't,
>> then that implies that subsurface itself wouldn't load old subsurface
>> xml files, which would be a serious regression, and so an unacceptable
>> bug regardless of the xslt files.
>
>
> Definitely.
> I was wondering, do we update the version to 2 since this is a bigger change
> or do we keep it at 1 since we are keeping it forward and backward
> compatible?
>
>
>> Of course, potential future settings things might be things we'd want
>> to import (not dive computer nicknames, but if we start adding things
>> like dive log owner name etc part of the settings, I suspect we might
>> import those things).
>
>
> Is there a divelog that stores the libdc device model or deviceid in its
> XML? That would be worth importing...

JDiveLog stores only the information of what DC is configured for
import, not what was actually used for the download. For others, I
have no idea (can't find any of the Suunto logs I received to write
the other xslt).

miika


More information about the subsurface mailing list