W3C home > Mailing lists > Public > www-svg@w3.org > February 2005

SVG12: printNode and parseXML

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sat, 19 Feb 2005 16:19:57 +0100
To: www-svg@w3.org
Message-ID: <421a5237.692461375@smtp.bjoern.hoehrmann.de>

Dear Scalable Vector Graphics Working Group,

  In http://www.w3.org/TR/2004/WD-SVG12-20041027/api.html the printNode
and parseXML methods on the SVGGlobal interface do not make much sense
to me. For parseXML for example it is not clear what happens if the
string is not well-formed XML or whether the DOMConfiguration of the
Document is honored when parsing the string. In fact, it's not even
clear whether the method expects an XML document or an external parsed
entity or something else.

The same goes for printNode, it is not clear whether DOMConfiguration
is honored, what happens if the Node is not serializable, how different
node types are serialized, if an element node is serialized, whether all
attributes are serialized or only specified attributes, whether it is
acceptable for implementations to add computed attribute values, whether
text content is NFC normalized, whether white-space nodes may be added
or removed if those do not change the semantics of the document, and so
on and on and on...

Please change the draft such that all of this is well-defined.

Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Saturday, 19 February 2005 15:20:17 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:02 UTC