Error when trying to create annotations ?

Hi annotea folks,

I have developed a client for the annotea framework. It used to work very
well and I have created, changed and deleted annotations from the testserver
fine.

But today I started to get strange reply's from the test-server (See my RDF
below error message):

========================================================
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>: Unknown Exception</TITLE>
</HEAD><BODY>
<H1>: Unknown Exception</H1>
 blew its mind.<br>
<PRE>unknown namespace: &quot;&quot;
http://annotest.w3.org/annotations/attribution/1058650431.610446::8:88(319)
context:   &lt;r:type
resource=&#39;http://www.w3.org/2000/10/annotationType#Comment&#39;/&gt;
         ^
W3C::Util::Exception thrown at ../../../W3C/SAX/SAXParseException.pm:159
W3C::SAX::ChainedSAXParseException::new(...) at
../../../W3C/SAX/XmlParser.pm:178
W3C::SAX::XmlParser::wrap(...) at ../../../W3C/SAX/XmlParser.pm:912
W3C::SAX::PerlXmlParser::element(...) at ../../../W3C/SAX/XmlParser.pm:410
W3C::SAX::PerlXmlParser::processTag(...) at
../../../W3C/SAX/XmlParser.pm:340
W3C::SAX::PerlXmlParser::parseDocument(...) at
../../../W3C/SAX/XmlParser.pm:164
W3C::SAX::XmlParser::parse(...) at ../../../W3C/Rdf/CGIApp.pm:262
W3C::Rdf::CGIApp::parse(...) at
/home/annotest/perl/modules/W3C/Annotations/CGI/annotate:445
(eval) at /home/annotest/perl/modules/W3C/Annotations/CGI/annotate:444
W3C::Annotations::CGI::AnnotateScript::execute(...) at
/home/annotest/perl/modules/W3C/Annotations/C
GI/annotate:237
(eval) at /home/annotest/perl/modules/W3C/Annotations/CGI/annotate:227
</PRE>
<P></BODY></HTML>
Status: 500

died with Can't call method "flush" without a package or object reference at
/home/annotest/perl/mod
ules/W3C/Annotations/CGI/annotate line 238.


Session-id: 1058650431.610446
========================================================

The RDF my clients wants to post is very straightforward and has worked
earlier:
========================================================
<r:RDF  xmlns:r='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
  xmlns:d='http://purl.org/dc/elements/1.0/'
  xmlns:a='http://www.w3.org/2000/10/annotation-ns#'
  xmlns:h='http://www.w3.org/1999/xx/http#'
>
<r:Description>  <r:type
resource='http://www.w3.org/2000/10/annotation-ns#Annotation'/>
  <r:type resource='http://www.w3.org/2000/10/annotationType#Comment'/>
  <a:annotates r:resource='http://www.claus-ljunggren.dk'/>
  <a:context>http://www.claus-ljunggren.dk#xpointer(/html[1])</a:context>
  <a:created>2003-07-19T21:38:11.57Z</a:created>
  <d:date>2003-07-19T21:38:11.57Z</d:date>
  <d:creator>filter@privat.dk</d:creator>
  <d:title>JUnitTest</d:title>
  <a:body>
    <r:Description>
      <h:ContentType>text/html</h:ContentType>
      <h:ContentLength>67</h:ContentLength>
      <h:Body
r:parseType='Literal'><html><head><title>JUnitTest</title></head><body>TEST<
/body></html></h:Body>
    </r:Description>
  </a:body>
</r:Description>
</r:RDF>
========================================================

Any suggestions ?

Thanks,
Claus Ljunggren

Received on Saturday, 26 July 2003 06:28:24 UTC