Importing old format.

Miika Turkia miika.turkia at gmail.com
Thu Feb 7 03:20:24 PST 2013


On Thu, Feb 7, 2013 at 12:14 PM, Linus Torvalds
<torvalds at linux-foundation.org> wrote:
> On Thu, Feb 7, 2013 at 9:09 PM, Dirk Hohndel <dirk at hohndel.org> wrote:
>>
>> Can't you trigger on the DTD?
>>
>> <!DOCTYPE MacDiveLogbook SYSTEM "http://www.mac-dive.com/macdive_logbook.dtd">
>
> That only exists in the new format, not in the old MacDive format.

The samples from MacDive I have seen do not have anything that would
identify them as MacDive logs (except for the new version). At least
the current logic we have to detect XML source cannot distinguish
between MacDive and old Subsurface formats. We need to look more
deeply than just the root tag. I'll have a look into the parse-xml.c
in a few hours to see if I can figure out a solution to this.

miika


More information about the subsurface mailing list