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

Re: [SVGMobile12] Missing namespace puts document in error

From: Chris Lilley <chris@w3.org>
Date: Wed, 26 Oct 2005 11:24:33 +0200
Message-ID: <1143687829.20051026112433@w3.org>
To: Ian Hickson <ian@hixie.ch>
Cc: Andrew Shellshear <Andrew.Shellshear@cisra.canon.com.au>, www-svg@w3.org

On Tuesday, October 25, 2005, 10:10:44 PM, Ian wrote:

IH> On Tue, 25 Oct 2005, Andrew Shellshear wrote:
>> On Fri, 20 May 2005 13:32:15 +0000 (UTC), Ian wrote:
>> > According to section C.4:
>> > 
>> > # The outermost <svg> element must be defined in the SVG namespace (e.g.,
>> > # <svg xmlns="http://www.w3.org/2000/svg">); otherwise the document is 
>> > # in error.
>> > 
>> > This seems like a bogus requirement. If the outermost <svg> element 
>> > _isn't_ in the SVG namespace, then it isn't an <svg> element, and is 
>> > out of the scope of this specification, surely.
>> Because of the history, the SVG WG feels it is necessary to explicitly 
>> say that the namespace declaration must be provided. If it were not for 
>> this history, we would not include the sentence you dislike.

IH> I agree with the sentiment, but I feel the current text is just as 
IH> misleading, because it is technically incorrect ("bogus", as I said 
IH> earlier). Could you rephrase it to something like:

IH>    User agents must only consider elements explicitly placed in the 
IH>    SVG namespace by XML Namespace declarations in the document (e.g.,
IH>    <svg xmlns="http://www.w3.org/2000/svg">) as being SVG elements.

That would work. What we were anxious to avoid was saying something like

  all svg elements must be in the SVG namespace

because that would then impact the Saphenous Venous Grants ML and
St.Vincent and the Grenadines  markup language etc.

IH> The current text is wrong on many counts:

IH>    * The document might not be in error, it might be another language,
IH>      unrelated to SVG.

And we don't want to preclude that case or to constrain it in any way.

IH>    * All the SVG elements must be in the SVG namespace, not just the
IH>      outermost element.


IH>    * The <svg> element must be defined to be in the SVG namespace to
IH>      be treated as SVG even if it isn't the root element, e.g. in
IH>      compound documents.


IH> (I am not satisfied by the WG's current response.)

I think your suggested wording is good. I assume you would be satisfied
if we used it?

 Chris Lilley                    mailto:chris@w3.org
 Chair, W3C SVG Working Group
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG
Received on Wednesday, 26 October 2005 09:24:42 UTC

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