]> git.tdb.fi Git - ext/subsurface.git/commitdiff
Make the multi-dive files valid XML
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 29 Aug 2011 00:24:53 +0000 (17:24 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 29 Aug 2011 00:24:53 +0000 (17:24 -0700)
They had multiple "root" entries (all called 'dive'), which makes baby
Jesus cry.

So just enclose them all in one root entry (called 'dives') that
magically turns it all into parseable xml.

Yeah, that really helps make the world a better place.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
dives/2011-03-22.xml
dives/2011-07-16.xml
dives/2011-08-06.xml
dives/2011-08-28.xml

index 853e476f5d1102fe31c5a805a0a1559f2da69028..313f0c2bdccf3e9e23d785e127b720bb5007a46b 100644 (file)
@@ -1,3 +1,4 @@
+<dives>
 <dive>
 <number>1</number>
 <size>132</size>
    <event type="9" time="11" flags="0" value="0">surface</event>
 </sample>
 </dive>
+</dives>
index 65b165ecf921ac4dd941761ab98afccade6ef2db..b8cc969d79637514c6e9b96367d7420a8e831e33 100644 (file)
@@ -1,3 +1,4 @@
+<dives>
 <dive>
 <number>1</number>
 <size>729</size>
    <event type="9" time="15" flags="0" value="0">surface</event>
 </sample>
 </dive>
+</dives>
index 8a110c59684bd1da892ecda9e45e163dc572597e..d96f06dca820565b0e857e36ac27c842ff08507e 100644 (file)
@@ -1,3 +1,4 @@
+<dives>
 <dive>
 <number>1</number>
 <size>767</size>
    <event type="9" time="15" flags="0" value="0">surface</event>
 </sample>
 </dive>
+</dives>
index a9488358979b87400fd360fb1d4b260a5f148e2f..1adb0fb23b26ac622d0fbeafaaa9b2cf46171f24 100644 (file)
@@ -1,3 +1,4 @@
+<dives>
 <dive>
 <number>1</number>
 <size>266</size>
    <event type="9" time="14" flags="0" value="0">surface</event>
 </sample>
 </dive>
+</dives>