W3C home > Mailing lists > Public > www-svg@w3.org > March 2002

Re[2]: An invalid example in SVG 1.0 Spec. - Chapter 17.1

From: Chris Lilley <chris@w3.org>
Date: Thu, 14 Mar 2002 19:24:05 +0100
Message-ID: <13248383437.20020314192405@w3.org>
To: "Stuart Celarier" <stuart@ferncrk.com>
CC: www-svg@w3.org
On Thursday, 14 March, 2002, 17:26:34, Stuart wrote:

SC> One point still alludes me. Unlike a standard attribute, a namespace
SC> declaration is in scope for all descendents of the element on which it
SC> is declared (unless redeclared in a descendent element).

Other attributes also work like that, for example xml:lang.

SC> In order to
SC> express that a particular namespace must be in scope for a given element
SC> or attribute, isn't it necessary to indicated that the namespace
SC> declaration can appear on any ancestor of that element or attribute
SC> (provided there are no conflicts)?

Yes.

SC> How is this accomplished in a DTD?

With verbosity.

SC> If
SC> SVG is combined with other XML in a document, the namespace could be
SC> declared on a non-SVG element. How can the SVG's DTD indicate that?

The external DTD subset won't indicate that, sure. You would need to
use the internal DTD subset in the instance to do that.



-- 
 Chris                            mailto:chris@w3.org
Received on Thursday, 14 March 2002 13:25:58 GMT

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