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 08:46:34 UTC