| 348 | |
| 349 | |
| 350 | == Editing annotation body == |
| 351 | |
| 352 | === Request: an updated body === |
| 353 | |
| 354 | {{{#!xml |
| 355 | <?xml version="1.0" encoding="UTF-8"?> |
| 356 | <newBody xmlns="http://www.dasish.eu/ns/addit" |
| 357 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 358 | xsi:schemaLocation="http://www.dasish.eu/ns/addit file:/Users/olhsha/repositories/DASISH/t5.6/docs/XMLandXSD/DASISH-schema.xsd" |
| 359 | type="relation" > |
| 360 | <relation>History in English and Catalan</relation> |
| 361 | <english ref="http://dasish.eu/sources/SIDaaabbb"/> |
| 362 | <catalan ref="http://dasish.eu/sources/SIDcxcx"/> |
| 363 | </newBody> |
| 364 | }}} |
| 365 | |
| 366 | === Enveloped respond for updating the annotation body === |
| 367 | |
| 368 | The list of actions is empty because there are cached representations for all the target sources. |
| 369 | {{{#!xml |
| 370 | <?xml version="1.0" encoding="UTF-8"?> |
| 371 | <respondNewAnnotation xmlns="http://www.dasish.eu/ns/addit" |
| 372 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 373 | xsi:schemaLocation="http://www.dasish.eu/ns/addit file:/Users/olhsha/repositories/DASISH/t5.6/docs/XMLandXSD/DASISH-schema.xsd"> |
| 374 | <annotationResponse> |
| 375 | <content> |
| 376 | <annotation xmlns="http://www.dasish.eu/ns/addit" |
| 377 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 378 | xsi:schemaLocation="http://www.dasish.eu/ns/addit http://dasish.eu/DASISH-schema.xsd" |
| 379 | URI="http://dasish.eu/annotations/AIDeegf" |
| 380 | timeStamp="2013-05-29T18:13:51.0Z"> |
| 381 | <owner ref="http://dasish.eu/users/UIde1fe1f"/> |
| 382 | <headline>Comapring English and Catalan Wiki</headline> |
| 383 | <body type="relation"> |
| 384 | <relation>History in English and Catalan</relation> |
| 385 | <english ref="http://dasish.eu/sources/SIDaaabbb"/> |
| 386 | <catalan ref="http://dasish.eu/sources/SIDcxcx"/> |
| 387 | </body> |
| 388 | <targetSources> |
| 389 | <target> |
| 390 | <source ref="http://dasish.eu/sources/SIDaaabbb"> |
| 391 | <link>http://en.wikipedia.org/wiki/Sagrada_Fam%C3%ADlia#History</link> |
| 392 | <version>20.04.2012</version> |
| 393 | </source> |
| 394 | </target> |
| 395 | <target> |
| 396 | <source ref="http://dasish.eu/sources/SIDcxcx"> |
| 397 | <link>http://ca.wikipedia.org/wiki/Temple_Expiatori_de_la_Sagrada_Fam%C3%ADlia#Hist.C3.B2tia</link> |
| 398 | <version>20.04.2013</version> |
| 399 | </source> |
| 400 | </target> |
| 401 | </targetSources> |
| 402 | <permissions ref="http://dasish.eu/permissions/PermissionsListIDxyz"/> |
| 403 | </annotation> |
| 404 | </content> |
| 405 | <actions /> |
| 406 | </annotationResponse> |
| 407 | </respondNewAnnotation> |
| 408 | }}} |