W3C home > Mailing lists > Public > www-svg@w3.org > November 2013

Re: Inline HTML

From: Dr. Olaf Hoffmann <Dr.O.Hoffmann@gmx.de>
Date: Sat, 16 Nov 2013 19:05:54 +0200
To: www-svg@w3.org
Message-Id: <201311161805.55013.Dr.O.Hoffmann@gmx.de>
Hello,

if you do not insist on HTML, 
if you are able to use XHTML or another XML,
you can already put it into a foreignObject, desc or
metadata element.
Viewers with the capability to present XHTML should be
able to present it in SVG as well.
I think, SVG does not exclude, that such XHTML is
interpreted in the same way as XHTML in a separate document.

HTML tag soup inside an XML language like SVG might
be complex - because one needs a specific tag soup parser
for this, not just an XML parser. 
And it might be a lot of work for SVG to define rules for
non XML content to transform it to something meaningful.

Once I suggested something to include just raw data
without any tags for interpretation in SVG, to make such 
data accessible and SVG somehow useful and accessible 
for scientific applications, but this was already rejected to be 
too complex. Rules for tag soup are far more complex as can be
seen by the HTML5 drafts, that try to define some
behaviour for this ;o)

Olaf
Received on Saturday, 16 November 2013 17:06:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:47 UTC