Closed nostneji closed 10 years ago
This problem is a blocker, please check the backend and web server logs in order to understand a reason of that error. Last time I runned the tests was around 26.08.2014 07:33 UTC. I can reproduce this error in my computer every time with DWAN client in Firefox 31.0 browser and with test scripts from https://github.com/DASISH/dwan-testing/tree/master/scripts.
Pls, have a look at my e-mail form 27/06. The correct xml file of the annotation to be sent to webannotator-basic should be like the one below. It must be compliant with the newer version of the schema http://lux17.mpi.nl/schemacat/schemas/s16/files/DASISH-schema.xsd. The frontend for this schema is under development. Stephanie is working on it. Once it is fixed, we update webannotator for shibboleth users as well, so both shibbolized and basic-authentication version will be synchronized. I hope it will happened on tomorrow 26/09, when Stephanie is here.
Moreover, it is a bit strange but in the xml you have sent there is no closing tag for
, but I see opening tag instead. I hope that this is a typo, but not what is sent by the client.<?xml version="1.0" encoding="UTF-8"?> <annotation xmlns="http://www.dasish.eu/ns/addit" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.dasish.eu/ns/addit http://lux17.mpi.nl/schemacat/schemas/s16/files/DASISH-schema.xsd" xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:id="A0000000-0000-0000-2014-072812390200" href="/ds/webannotator-basic/api/annotations/A0000000-0000-0000-2014-072812390200">
<headline>Python's birthday</headline>
<lastModified>2014-07-28T09:37:02.000Z</lastModified>
<body>
<xmlBody>
<mimeType>application/xml+xhtml</mimeType>
<xhtml:span title="December 1989" style="background-color: rgb( 44, 254, 81);color:rgb(0,0,0);">December 1989/xhtml:span
</xmlBody>
</body>
<targets>
<targetInfo href="/ds/webannotator-basic/api/targets/00000000-0000-0000-2014-072812390200">
<link>http://en.wikipedia.org/wiki/Python_(programming_language)#xpointer(start-point(string-range(//div[@id="toc"]/following-sibling::blockquote[1]/p[1]/text()[1],'',23))/range-to(string-range(//div[@id="toc"]/following-sibling::blockquote[1]/p[1]/text()[1],'',36)))</link>
<version>2014-07-28T09:37:02.000Z</version>
</targetInfo>
</targets>
<permissions public="read"/>
It looks like the xml is parsed by the git-hub in its way, so I will sent it to you via the e-mail.
Following our mailing, it seems to be solved. Yes?
Yes, something was changed on Tuesday, because on the morning I still got described error and on the evening the same test run without error.
I used the latest version of client (LRECdemo) with server lux17.mpi.nl/ds/webannotator-basic. Annotation was not saved because server got some syntax error. I verified the sent xml-data against DASISH-schema.xsd and it was ok.
Sent request:
Received response: