XML format change

Dirk Hohndel dirk at hohndel.org
Sun Dec 23 12:14:24 PST 2012


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...

> So eventually we might want to *extend* the xslt
> files, and take the new format into account.

That's what I was thinking and why I copied Miika

/D




More information about the subsurface mailing list