W3C home > Mailing lists > Public > www-validator@w3.org > October 2017

Re: Https error for xlmns

From: David Dorward <david@dorward.me.uk>
Date: Tue, 31 Oct 2017 09:09:23 +0000
To: "Paul House" <paul.n.house@gmail.com>
Cc: www-validator@w3.org
Message-ID: <ED678F70-93EF-4B5D-8529-9CB0078D6515@dorward.me.uk>
On 30 Oct 2017, at 22:34, Paul House wrote:
> I got an error for including xlmns as follows:
>
> xmlns="https://www.w3.org/2000/svg"
>
> The error says I should only use xmlns="http://www.w3.org/2000/svg"
>
> but isn't https better?

XML Namespaces use URL syntax to help allow them to be globally unique 
identifiers. They are not used to determine where to request a resource 
from.

Since no resource is being requested, there is no request to add 
security to, so there is no benefit to using HTTPS.

Changing the URL to add an `s` character makes it a **different** URL 
and thus a **different** namespace and thus **not** SVG.
Received on Tuesday, 31 October 2017 09:09:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 31 October 2017 09:10:00 UTC