W3C home > Mailing lists > Public > www-amaya@w3.org > April to June 2004

RE: Annotation highlight PB with unique id

From: Meunier, Jean-Luc <Jean-Luc.Meunier@xrce.xerox.com>
Date: Wed, 23 Jun 2004 17:03:16 +0200
Message-ID: <B792B80756A1D511B9BD00508BB8CDB202675517@macedoine.grenoble.xrce.xerox.com>
To: "'www-amaya@w3.org'" <www-amaya@w3.org>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:29 UTC