Re: entities in SVG (middle term view)

Andre M. Winter - 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

Received on Monday, 10 October 2005 08:54:38 UTC