summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-08-28 17:24:53 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-08-28 17:24:53 -0700
commitfb214b2b3918120f0cd5aebe7c48a7482d1c1276 (patch)
treeb8540661310fccdb824daf26161558fe41ab1b30
parented45f7cb140a508b6f661f75b2c4803686b0e379 (diff)
downloadsubsurface-fb214b2b3918120f0cd5aebe7c48a7482d1c1276.tar.gz
Make the multi-dive files valid XML
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>
-rw-r--r--dives/2011-03-22.xml2
-rw-r--r--dives/2011-07-16.xml2
-rw-r--r--dives/2011-08-06.xml2
-rw-r--r--dives/2011-08-28.xml2
4 files changed, 8 insertions, 0 deletions
diff --git a/dives/2011-03-22.xml b/dives/2011-03-22.xml
index 853e476f5..313f0c2bd 100644
--- a/dives/2011-03-22.xml
+++ b/dives/2011-03-22.xml
@@ -1,3 +1,4 @@
+<dives>
<dive>
<number>1</number>
<size>132</size>
@@ -33951,3 +33952,4 @@
<event type="9" time="11" flags="0" value="0">surface</event>
</sample>
</dive>
+</dives>
diff --git a/dives/2011-07-16.xml b/dives/2011-07-16.xml
index 65b165ecf..b8cc969d7 100644
--- a/dives/2011-07-16.xml
+++ b/dives/2011-07-16.xml
@@ -1,3 +1,4 @@
+<dives>
<dive>
<number>1</number>
<size>729</size>
@@ -33891,3 +33892,4 @@
<event type="9" time="15" flags="0" value="0">surface</event>
</sample>
</dive>
+</dives>
diff --git a/dives/2011-08-06.xml b/dives/2011-08-06.xml
index 8a110c596..d96f06dca 100644
--- a/dives/2011-08-06.xml
+++ b/dives/2011-08-06.xml
@@ -1,3 +1,4 @@
+<dives>
<dive>
<number>1</number>
<size>767</size>
@@ -34070,3 +34071,4 @@
<event type="9" time="15" flags="0" value="0">surface</event>
</sample>
</dive>
+</dives>
diff --git a/dives/2011-08-28.xml b/dives/2011-08-28.xml
index a94883589..1adb0fb23 100644
--- a/dives/2011-08-28.xml
+++ b/dives/2011-08-28.xml
@@ -1,3 +1,4 @@
+<dives>
<dive>
<number>1</number>
<size>266</size>
@@ -32875,3 +32876,4 @@
<event type="9" time="14" flags="0" value="0">surface</event>
</sample>
</dive>
+</dives>