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

Re: entities in SVG (middle term view)

From: Robin Berjon <robin.berjon@expway.fr>
Date: Mon, 10 Oct 2005 10:54:31 +0200
Message-ID: <434A2C47.7070603@expway.fr>
To: "Andre M. Winter - Vectoreal.com" <andre.winter@vectoreal.com>
Cc: www-svg@w3.org

Andre M. Winter - Vectoreal.com wrote:
> entities need to be defined in the DOCTYPE-tag, but this one seems to 
> get deprecated. so my question is: will there by an entity-like 
> mechanism in SVG1.2+ or will they remain and in this case how may they 
> be defined.

There will be no DTD for SVG 1.2 but that doesn't prevent you from using 
a DOCTYPE to declare entities though -- so long as you do it without 
pointing to an external subset (usually where the complete DTD is, 
pointed to by the IRI you see in the DOCTYPE) and only have an internal 
subset (what's defined inside the DOCTYPE, local to the document). Not 
all good DOCTYPEs are dead DOCTYPEs, some of them look like that:

   <!DOCTYPE svg [
     <!ENTITY ...>
   ]>

And that's it. Basically all you have to do is drop the public and 
system IDs.

-- 
Robin Berjon
   Senior Research Scientist
   Expway, http://expway.com/
Received on Monday, 10 October 2005 08:54:38 GMT

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