Add storeSone() method to sone database.
[Sone.git] / src / test / resources / sone-parser / invalid-album.xml
1 <?xml version="1.0" encoding="utf-8" ?>
2 <sone>
3
4         <time>1382419919000</time>
5         <protocol-version>0</protocol-version>
6
7         <client>
8                 <name>Sone</name>
9                 <version>0.8.7</version>
10         </client>
11
12         <profile>
13                 <first-name>First</first-name>
14                 <middle-name>M.</middle-name>
15                 <last-name>Last</last-name>
16                 <birth-day>22</birth-day>
17                 <birth-month>10</birth-month>
18                 <birth-year>2013</birth-year>
19                 <avatar>96431abe-3add-11e3-8a46-67047503bf6d</avatar>
20                 <fields>
21                         <field>
22                                 <field-name>Field1</field-name>
23                                 <field-value>Value1</field-value>
24                         </field>
25                         <field>
26                                 <field-name>Field2</field-name>
27                                 <field-value>Value2</field-value>
28                         </field>
29                 </fields>
30         </profile>
31
32         <posts>
33                 <post>
34                         <id>bbb7ebf0-3adb-11e3-8a0b-630cd8f21cf3</id>
35                         <recipient></recipient>
36                         <time>1382420140000</time>
37                         <text>Hello, World!</text>
38                 </post>
39                 <post>
40                         <id>d8c9586e-3adb-11e3-bb31-171fc040e645</id>
41                         <recipient>0rpD4gL8mszav2trndhIdKIxvKUCNAe2kjA3dLV8CVU</recipient>
42                         <time>1382420181000</time>
43                         <text>Hello, User!</text>
44                 </post>
45         </posts>
46
47         <replies>
48                 <reply>
49                         <id>f09fa448-3adb-11e3-a783-ab54a11aacc4</id>
50                         <post-id>bbb7ebf0-3adb-11e3-8a0b-630cd8f21cf3</post-id>
51                         <time>1382420224000</time>
52                         <text>Talking to myself.</text>
53                 </reply>
54                 <reply>
55                         <id>0a376440-3adc-11e3-8f45-c7cc157436a5</id>
56                         <post-id>11ebe86e-3adc-11e3-b7b9-7f2c88018a33</post-id>
57                         <time>1382420271000</time>
58                         <text>Talking to somebody I can't see.</text>
59                 </reply>
60         </replies>
61
62         <post-likes>
63                 <post-like>bbb7ebf0-3adb-11e3-8a0b-630cd8f21cf3</post-like>
64                 <post-like>305d85e6-3adc-11e3-be45-8b53dd91f0af</post-like>
65         </post-likes>
66
67         <reply-likes>
68                 <reply-like>f09fa448-3adb-11e3-a783-ab54a11aacc4</reply-like>
69                 <reply-like>3ba28960-3adc-11e3-93c7-6713d170f44c</reply-like>
70         </reply-likes>
71
72         <albums>
73                 <album>
74                         <foo>bar</foo>
75                 </album>
76         </albums>
77
78 </sone>