| 422 | === PUT api/annotations/6a01ba7b-2a15-47d4-bf1c-a14b46eb953f/body === |
| 423 | |
| 424 | Request body: |
| 425 | |
| 426 | {{{#!xml |
| 427 | <?xml version="1.0" encoding="UTF-8"?> |
| 428 | <annotationBody xmlns="http://www.dasish.eu/ns/addit" |
| 429 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 430 | xmlns:xhtml="http://www.w3.org/1999/xhtml/" |
| 431 | xsi:schemaLocation="http://www.dasish.eu/ns/addit file:/Users/olhsha/repositories/DASISH/t5.6/schema/trunk/annotator-schema/src/main/resources/DASISH-schema.xsd"> |
| 432 | <xmlBody mimeType="application/xml"> |
| 433 | <any> |
| 434 | <xhtml:span style="background-color:rgb(0,0,153);color:rgb(255,255,255);border: thick solid rgb(0, 0, 153);">Some background information on Sagrada Família. attempt # 1</xhtml:span> |
| 435 | </any> |
| 436 | </xmlBody> |
| 437 | </annotationBody> |
| 438 | }}} |
| 439 | |
| 440 | Response: |
| 441 | |
| 442 | {{{#!xml |
| 443 | <?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
| 444 | <responseBody xmlns="http://www.dasish.eu/ns/addit" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.dasish.eu/ns/addit https://svn.clarin.eu/DASISH/t5.6/schema/trunk/annotator-schema/src/main/resources/DASISH-schema.xsd"> |
| 445 | <annotation headline="Sagrada Famiglia Dutch" ownerRef="http://localhost:8080/annotator-backend/api/users/00000000-0000-0000-0000-000000000113" lastModified="2013-12-19T13:36:47.543945Z" URI="http://localhost:8080/annotator-backend/api/annotations/6a01ba7b-2a15-47d4-bf1c-a14b46eb953f"> |
| 446 | <body> |
| 447 | <xmlBody mimeType="application/xml"> |
| 448 | <any xmlns:xhtml="http://www.w3.org/1999/xhtml/"> |
| 449 | <xhtml:span style="background-color:rgb(0,0,153);color:rgb(255,255,255);border: thick solid rgb(0, 0, 153);">Some background information on Sagrada Família. attempt # 1</xhtml:span> |
| 450 | </any> |
| 451 | </xmlBody> |
| 452 | </body> |
| 453 | <targets> |
| 454 | <targetInfo version="Version 1.0" link="http://nl.wikipedia.org/wiki/Sagrada_Fam%C3%ADlia#Bouw" ref="http://localhost:8080/annotator-backend/api/targets/db66c15c-aa35-4d16-8fc7-619f1fbef128"/> |
| 455 | </targets> |
| 456 | <permissions> |
| 457 | <userWithPermission permission="owner" ref="http://localhost:8080/annotator-backend/api/users/00000000-0000-0000-0000-000000000113"/> |
| 458 | </permissions> |
| 459 | </annotation> |
| 460 | <actionList> |
| 461 | <action message="CREATE_CACHED_REPRESENTATION" object="http://localhost:8080/annotator-backend/api/targets/db66c15c-aa35-4d16-8fc7-619f1fbef128"/> |
| 462 | </actionList> |
| 463 | </responseBody> |
| 464 | }}} |
| 465 | |
| 466 | |