DOM SVGNumber and DOMString

Hello,

in the SVG spec, the interface SVGNumber is
specified, and SVGNumberList contain pointers to these
object types. And it's even stated that if an object is already in another
list, it should be removed from that list first before being inserted in a
new list.

I'm just making sure that this is correct (which precludes me from just
using double in C++ COM , but that I have to wrap it inside an
object)

Is that correct?

But what about SVGStringList, which uses DOMString as it's object (but
DOMString is not defined as an interface, but as sequence<unsigned short>,
which would map to BSTR in C++ COM. And there's also no way to create a
DOMString, how can you then implement SVGStringList correctly, maybe there
should be a SVGString that wraps a DOMString ?

--
Sigurd Lerstad

Received on Tuesday, 30 July 2002 01:55:29 UTC