W3C home > Mailing lists > Public > public-html@w3.org > September 2009

Re: More on SVG within HTML pages

From: Jeff Schiller <codedread@gmail.com>
Date: Mon, 7 Sep 2009 16:36:02 -0500
Message-ID: <da131fde0909071436m6ee9d2fu230d07c0beae7cb9@mail.gmail.com>
To: Lachlan Hunt <lachlan.hunt@lachy.id.au>, Boris Zbarsky <bzbarsky@mit.edu>
Cc: HTML WG <public-html@w3.org>
Thanks for the clarification Boris and Lachlan.

Jeff

On Mon, Sep 7, 2009 at 4:26 PM, Lachlan Hunt<lachlan.hunt@lachy.id.au> wrote:
> Jeff Schiller wrote:
>>
>> Maciej wrote:
>>>
>>> (46 errors, specifically about the use of attributes from foreign
>>> namespaces in a way that is not allowed by SVG 1.1 itself.)
>>
>> Am I misunderstanding something?  Actually that use of namespaced
>> attributes and elements is perfectly valid from what I can see.
>
> According to the SVG spec, yes, any namespaced attributes or elements can be
> used anywhere.
>
> http://www.w3.org/TR/SVG/extend.html
>
>> "Attribute "sodipodi:version" is not a valid attribute"
>>
>> Why?  The sodipodi namespace and prefix have been declared on the root
>> element?
>>
>> Is this just a bug in the valdiator?
>
> I suspect the reason for the discrepency is because the W3C validator uses
> DTD based validation, which has inherent limitations in it's ability to
> express conformance requirements when namespaces and prefixes are involved.
>  i.e. There's no way to express in a DTD that any element or attribute with
> any unknown prefix in any namespace is allowed.
>
> --
> Lachlan Hunt - Opera Software
> http://lachy.id.au/
> http://www.opera.com/
>
Received on Monday, 7 September 2009 21:46:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:48 GMT