Re: New annotea server in Zope

Charles,

Yes, the bug was in my XPointer parser. I just commited a fix. The
problem comes from the way you code the ID attribute in the Xpointer
portion of your RDF:

For the same image, you propose:

 <a:Annotation
  a:context="http://www.w3.org/#xpointer(id(&amp;quot;logo&amp;quot;)/img[1])"

  And in Amaya, I have:

<a:context>http://www.w3.org/#xpointer(id("logo")/img[1])</a:context>

Although you coded it differently, the RDF parser was able to get it
correctly (good work Raptor and Dave Becket).

However, your error comes from the way you coded your HTML entity. It
should have been &quot; rather than &amp;quot... That gives you an
id value that's illegal and that my parser discards.

-jose

On Mon, Oct 14, 2002 at 12:16:38PM -0400, Charles McCathieNevile wrote:
> 
> Yep, works beautifully. I should figure out what is still not working in my
> ruby script and update the live version -
> http://www.w3.org/2001/sw/Europe/200209/annodemo/annoget.rb
> 
> >
> >> I managed to post an annotation for Amaya (need to configure my annotataion
> >> post tool to be flexible about which port it uses %-\ and when I looked for
> >> that the body had been given a ful URI so maybe this is an old problem that
> >> has been fixed.
> >
> >You annotated the image at the top, right?  This seems to crash my copy
> >of Amaya when I try to load the annotations.  Hmmm.
> 
> Right. Well, I am not sure where the bug is - but I am suspicious that it is
> in Amaya.

Received on Wednesday, 16 October 2002 08:24:24 UTC