RE: Annotation highlight PB with unique id

Oups, I forgot to attach my two test files.
 
And following Hugh Sasse's comments in his recent email, I also hope my 2 previous comments are of some use for the Amaya team.
 
JL
 
-----Original Message-----
From: www-amaya-request@w3.org [mailto:www-amaya-request@w3.org] On Behalf Of Meunier, Jean-Luc
Sent: mercredi 23 juin 2004 14:47
To: 'www-amaya@w3.org'
Subject: Annotation highlight PB with unique id



        Hi, 

I'm surprised by the behavior of the annotation mechanism when annotated elements have an 'id'. 

In this case, two issues: 
1 - the  annotation symbol (the little orange pen) doesn't appear close to the selection but rather on top left point of the document.

2 - In the list of annotations (from the "View:show links" menu), if I click the left-part of the annotation, then the whole document is highlighted instead of
the selected part. 

In absence of id, the highlight works fine and the little pen is properly positionated. 

My personal problem is that I'm interested in getting xpointer values referring to the element's id rather than expressions like: xpointer(/A[1]/C[1]).
Actually, I probably can compute one from the other. Any hints on how to do this easily? 

I attach two small XML files, identical except that one has unique 'id' on its elements. 

Thanks, 

JL 

Received on Wednesday, 23 June 2004 11:05:34 UTC