W3C home > Mailing lists > Public > www-svg@w3.org > April 2011

[Bug 12558] Support HTML's full set of character entities in SVG

From: <bugzilla@jessica.w3.org>
Date: Thu, 28 Apr 2011 03:56:58 +0000
To: www-svg@w3.org
Message-Id: <E1QFILa-0007yt-J8@jessica.w3.org>

Cameron McCormack <cam@mcc.id.au> changed:

           What    |Removed                     |Added
                 CC|                            |cam@mcc.id.au

--- Comment #1 from Cameron McCormack <cam@mcc.id.au> 2011-04-28 03:56:57 UTC ---
Note that some people replied to the bugmail on www-svg:

One more solution is to have a DTD that defines these entities, and to
reference this from your document.

  <!DOCTYPE svg PUBLIC "blahblah" "http://www.w3.org/somewhere/whatever.dtd">
  <svg xmlns="http://www.w3.org/2000/svg">
    <text y="20">a &minus; b</text>

It's not a great long term solution, since we are moving away from DTDs.  If
processors don't recognise the public ID, then the XML processors will have to
be operating in validating mode to download the DTD, which many won't.

If we want to allow documents like

  <svg xmlns="http://www.w3.org/2000/svg">
    <text y="20">a &minus; b</text>

without the DOCTYPE declaration, then this would require a change at the XML
layer level.  Some people think this is the right way to solve this problem,

Remember that with SVG in text/html, all of HTML's entities will work already:

  <!DOCTYPE html>
    <text y="20">a &minus; b</text>


Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 28 April 2011 03:57:00 UTC

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