142 | | The respond for an annotation with unresolved target sources and the respond for an annotation with resolved target sources (see above) are both instances of the same schema element. However, the annotation refers to an obsolete version of the page. Later, having the target source references, the client will ask for the cached representations of the obsolete web-page. |
143 | | |
144 | | The serialization compliant with the strongly-typed schema: |
145 | | |
146 | | {{{#!xml |
147 | | <?xml version="1.0" encoding="UTF-8"?> |
| 142 | The respond for an annotation with unresolved target sources and the respond for an annotation with resolved target sources (see above) are both instances of the same schema element. However, the annotation refers to an obsolete version of the page. Next, having the target source references, the client will ask for the cached representations of the obsolete web-page. |
| 143 | |
| 144 | |
| 145 | {{{#!xml |
| 146 | ?xml version="1.0" encoding="UTF-8"?> |
173 | | <readers> |
174 | | <reader ref="http://dasish.eu/users/UIde1fe1f"/> |
175 | | <reader ref="http://dasish.eu/users/UIdefef"/> |
176 | | <reader ref="http://dasish.eu/users/UIdefff"/> |
177 | | </readers> |
178 | | <writers> |
179 | | <writer ref="http://dasish.eu/users/UIde1fe1f"/> |
180 | | <writer ref="http://dasish.eu/users/UIdefef"/> |
181 | | </writers> |
182 | | </annotation> |
183 | | }}} |
184 | | |
185 | | The serialization compliant with the weakly-typed schema: |
186 | | |
187 | | {{{#!xml |
188 | | <?xml version="1.0" encoding="UTF-8"?> |
189 | | <annotation xmlns="http://www.dasish.eu/ns/addit" |
190 | | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
191 | | xsi:schemaLocation="http://www.dasish.eu/ns/addit http://dasish.eu/DASISH-schema.xsd" |
192 | | URI="http://dasish/annotations/AIDzyy" |
193 | | timeStamp="2013-05-04T18:13:51.0Z"> |
194 | | <owner ref="http://dasish.eu/users/UIde1fe1f"/> |
195 | | <headline>Nativity Facade (old page)</headline> |
196 | | <body type="relation"> |
197 | | <relation>different</relation> |
198 | | <this ref="http://dasish.eu/sources/SIDbbbb"/> |
199 | | <that ref="http://dasish.eu/sources/SIDrrrr"/> |
200 | | </body> |
201 | | <targetSources> |
202 | | <targetSource ref="http://dasish.eu/sources/SIDbbb"> |
203 | | <link>http://en.wikipedia.org/wiki/Sagrada_Fam%C3%ADlia#Nativity_Fa.C3.A7ade</link> |
204 | | <version>29.01.2010</version> |
205 | | </targetSource> |
206 | | <targetSource ref="http://dasish.eu/sources/SIDrrrr"> |
207 | | <link>http://en.wikipedia.org/wiki/Sagrada_Fam%C3%ADlia#Passion_Fa.C3.A7ade</link> |
208 | | <version>29.01.2010</version> |
209 | | </targetSource> |
210 | | </targetSources> |
211 | | <readers> |
212 | | <reader ref="http://dasish.eu/users/UIde1fe1f"/> |
213 | | <reader ref="http://dasish.eu/users/UIdefef"/> |
214 | | <reader ref="http://dasish.eu/users/UIdefff"/> |
215 | | </readers> |
216 | | <writers> |
217 | | <writer ref="http://dasish.eu/users/UIde1fe1f"/> |
218 | | <writer ref="http://dasish.eu/users/UIdefef"/> |
219 | | </writers> |
220 | | </annotation> |
221 | | }}} |
222 | | |
223 | | == Responding GET api/sources/SIDbbb (example usage for unresolvable target sources) == |
| 172 | <permissions ref="http://dasish.eu/permissions/PermissionsListIDutw"/> |
| 173 | </annotation> |
| 174 | }}} |
| 175 | |
| 176 | |
| 177 | == Responding GET api/sources/SIDbbb (continuing with unresolvable target sources) == |