W3C home > Mailing lists > Public > www-annotation@w3.org > January to June 2002

Re: Are Amaya's XPointers for SVG correct?

From: Jose Kahan <jose.kahan@w3.org>
Date: Thu, 7 Mar 2002 12:22:07 +0100
To: www-annotation@w3.org
Cc: matthew@mjwilson.demon.co.uk
Message-ID: <20020307122207.K5807@inrialpes.fr>
Hello Matthew,

Sorry it took me some time to get back to you. 

Annotating the line in your SVG example:


Produces the following XPointer in the current Amaya (from CVS):


Although it doesn't include namespaces, it is correct by itself. Which
version of Amaya (and on which platform) were you using when you got the


My guess is that it was a version previous than 5.3 which was missing the
convertion from the internal Amaya name to the external name, because
I was unable to reproduce it. 

What I did was to copy your file locally, then select the line, annotate
it and open the index file that's stored locally. Did you use this same

My previous comment was wrong:

>>The inclusiong of SVG inside HTML can only be done with the SVG keyword.
>>On XHTML, you can also do it with namespaces. However, the name should
>>>be SVG. 

>Are you saying that the element called "svg" has to be converted to
>capitals, "SVG", for inclusion in HTML?

I was completely confused by MathML. There is no SVG element that allows
you to include the SVG XML source inside HTML 4.x documents. You can only 
include an SVG image  thru the object element. Amaya allows to do the same 
thing using the img element. However, the SVG tree is not visible then. You 
can only make an XPointer that points to the element that includes the SVG 

For XHTML and other XML documents, you need to use namespaces to include

For the outstanding question on how does an XPointer that includes namespaces
look like, I got the following example from Henry (I split the line at the
# char, but there is no space there):

        xmlns(x=http//example.com/foo) xpointer(//x:a)"

Amaya is not able yet to handle this kind of XPointers. I'll try to
improve this situation.

Hope this answers (even if belatedly) your questions.

Received on Thursday, 7 March 2002 06:22:47 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:16:55 UTC