MathMLPredefinedSymbol::symbolName vs namespaces in XML

Note: I sent this mail to the list previously, but it was not sent back to me
and did not appear in the archives, so I am resending it. Sorry if you get this
twice.
---------------------------------------------------------------------------

Hi all,

The MathML2 specification defines symbolName as follows:

"symbolName of type DOMString, readonly

    A string giving the name of the MathML element represented. This is a
convenience attribute only; accessing it should be synonymous with accessing
the Element::tagName attribute."

This seems wrong, because tagName is equivalent to Node::qualifiedName for
elements with namespaces. If you use a predefined symbol like this:
<mathml:eq/> then the symbolName will be "mathml:eq", when it really should
just be "eq". Perhaps it should be an alias for Element::localName (or better
yet, to Node::localName, unless it is null, in which case it is an alias to
Element::tagName).

Best regards,
Andrew Miller



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Received on Tuesday, 28 February 2006 19:46:53 UTC