W3C home > Mailing lists > Public > www-svg@w3.org > December 2002

SVG 1.2 - SVGWindow

From: Niklas Gustavsson <niklas@protocol7.com>
Date: Sun, 1 Dec 2002 13:27:47 +0100
To: www-svg@w3.org
Message-ID: <ascvc9$k27$1@main.gmane.org>

Hi all!

I've been looking into the proposed SVGWindow interface in SVG 1.2 and have
a few questions:

* How will the SVGWindow work with namespace embedded SVG, in for example
XHTML?

* If possible (I don't know if this is within the powers of W3C) I think
this sentence: "Interface SVGWindow provides a global object for scripts
embedded in a SVG document." should be extended to say that the global
object should be named "window"

* Why are not DOM 3 Load and Save (http://www.w3.org/TR/DOM-Level-3-LS/)
used? I think it makes a lot of sense to have one way of doing these things
within all W3C technologies, even though the current SVG viewers has
getURL/postURL/printNode/parseNode. Viewers will have to be updated to
support SVG 1.2 anyways and authors that today use the extensions should be
aware that this is not according to any spec.

In the current interface, according to what algorithm should printNode work?
DOM3 L&S has a pretty extensive explaination on how to do XML serialization
at http://www.w3.org/TR/DOM-Level-3-LS/load-save.html#LS-DOMWriter.

DOM3 L&S also offers some functionality that does exist in SVGWindow (e.g.
synchronous downloads)

/niklas
http://www.protocol7.com
All men by nature desire to know - Aristotle
Received on Sunday, 1 December 2002 07:32:30 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:24 GMT