257 | | <readers> |
258 | | <reader ref="http://dasish.eu/users/UIde1fe1f"/> |
259 | | </readers> |
260 | | <writers> |
261 | | <writer ref="http://dasish.eu/users/UIde1fe1f"/> |
262 | | </writers> |
263 | | </annotation> |
264 | | }}} |
265 | | |
266 | | The serialization compliant with the weakly-typed schema: |
267 | | |
268 | | {{{#!xml |
269 | | <?xml version="1.0" encoding="UTF-8"?> |
270 | | <annotation xmlns="http://www.dasish.eu/ns/addit" |
271 | | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
272 | | xsi:schemaLocation="http://www.dasish.eu/ns/addit http://dasish.eu/DASISH-schema.xsd" |
273 | | URI="tempAIDgfgf" |
274 | | timeStamp="2013-05-29T18:13:51.0Z"> |
275 | | <owner ref="http://dasish.eu/users/UIde1fe1f"/> |
276 | | <headline>Comapring English and Catalan Wiki</headline> |
277 | | <body type="relation"> |
278 | | <relation>History</relation> |
279 | | <english ref="http://dasish.eu/sources/SIDaaabbb"/> |
280 | | <catalan ref="tmpSIDefef"/> |
281 | | </body> |
282 | | <targetSources> |
283 | | <targetSource ref="http://dasish.eu/sources/SIDaaabbb"> |
284 | | <link>http://en.wikipedia.org/wiki/Sagrada_Fam%C3%ADlia#History</link> |
285 | | <version>20.04.2012</version> |
286 | | </targetSource> |
287 | | <targetSource xml:id="tmpSIDefef"> |
288 | | <link>http://ca.wikipedia.org/wiki/Temple_Expiatori_de_la_Sagrada_Fam%C3%ADlia#Hist.C3.B2tia</link> |
289 | | <version>20.04.2013</version> |
290 | | </targetSource> |
291 | | </targetSources> |
292 | | <readers> |
293 | | <reader ref="http://dasish.eu/users/UIde1fe1f"/> |
294 | | </readers> |
295 | | <writers> |
296 | | <writer ref="http://dasish.eu/users/UIde1fe1f"/> |
297 | | </writers> |
298 | | </annotation> |
299 | | }}} |
| 251 | <permissions ref="http://dasish.eu/permissions/PermissionsListIDxyz"/> |
| 252 | </annotation> |
| 253 | }}} |
| 254 | |
| 255 | |
326 | | <readers> |
327 | | <reader ref="http://dasish.eu/users/user123"/> |
328 | | </readers> |
329 | | <writers> |
330 | | <writer ref="http://dasish.eu/users/user123"/> |
331 | | </writers> |
332 | | </annotation> |
333 | | }}} |
334 | | |
335 | | The serialization of the POST body for another example (UGOT), compliant with the weakly typed schema. |
336 | | {{{#!xml |
337 | | <?xml version="1.0" encoding="UTF-8"?> |
338 | | <annotation xmlns="http://www.dasish.eu/ns/addit" |
339 | | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
340 | | xmlns:xhtml="http://www.w3.org/1999/xhtml" |
341 | | xsi:schemaLocation="http://www.dasish.eu/ns/addit http://dasish.eu/DASISH-schema.xsd" |
342 | | URI="tempAIDgfgf" |
343 | | timeStamp="2013-04-26T11:23:26.000Z"> |
344 | | <owner ref="http://dasish.eu/users/user123"/> |
345 | | <headline>Douglas Adams - Wikipedia, the free encyclopedia</headline> |
346 | | <body ref="tmpSIDxyxy" type="Note"> |
347 | | <xhtml:span style="background-color:rgb(253,49,31);color:rgb(0,0,0);">Adams was born 1952-03-11</xhtml:span> |
348 | | </body> |
349 | | <targetSources> |
350 | | <targetSource xml:id="tmpSIDxyxy"> |
351 | | <link>http://en.wikipedia.org/wiki/Douglas_adams#xpointer(start-point(string-range(//div[@id="mw-content-text"]/table[1]/tbody[1]/tr[3]/td[1]/text()[1],'',12))/range-to(string-range(//div[@id="mw-content-text"]/table[1]/tbody[1]/tr[3]/td[1]/text()[1],'',25)))</link> |
352 | | <version>2013-04-26T11:23:26.000Z</version> |
353 | | </targetSource> |
354 | | </targetSources> |
355 | | <readers> |
356 | | <reader ref="http://dasish.eu/users/user123"/> |
357 | | </readers> |
358 | | <writers> |
359 | | <writer ref="http://dasish.eu/users/user123"/> |
360 | | </writers> |
361 | | </annotation> |
362 | | }}} |
363 | | |
364 | | '''TODO''': POST response |
| 283 | <permissions ref="http://dasish.eu/permissions/PermissionsListIDabcd"/> |
| 284 | </annotation> |
| 285 | }}} |
| 286 | |
| 287 | |