W3C home > Mailing lists > Public > www-validator@w3.org > November 2014

Validation Error for SVG

From: Jamie Gill <jamie@pswebsitedesign.com>
Date: Thu, 13 Nov 2014 17:25:35 +0000
Message-ID: <CANGZAU9Swtw3Hk8tb65zQVeKPMURV3y_CmBG6oc3h-00sTXySg@mail.gmail.com>
To: www-validator@w3.org
Hi there,

I hope your well I have received the following error on your validation
system :-

*Attribute src not allowed on element image at this point.*

For this line of code :-

*<svg width="300px" height="50px">      <image
src="/images/sterling-gosling_logo.png" width="300px" height="50px"
/> </svg>*
I understand the validation on the basis of xlink and src been in the same
tag. However this is an extremely good fallback for earlier version of IE
instead of having an SVG and then IMG tags in conditional statements
creating unnecessary lines of code for a fallback.

Is there any reason why this would be or why it is not allowed to validate
this way? Obviously I take pride in my code validating and wondered if this
is something that maybe passed to validate in the future? The URL for my
document is :-

*http://www.sterlinggostling.co.uk <http://www.sterlinggostling.co.uk>*

Thank you for your time I look forward to your reply,


*PS Website Design Ltd*

*Office*: + 44 (0) 1943 605 894
*Web: www.pswebsitedesign.com <http://www.pswebsitedesign.com/>*

PS Website Design Ltd is registered in England and Wales. Registered
Office:Suite 4, 10 - 12 The Grove, Ilkley West Yorkshire LS29 9EG. Company
Registration Number: 7041239.

The information in the message, plus any associated files, is confidential
and intended only for the use of the individual or entity to which it is
addressed. If you are not the intended recipient you are hereby notified
that any copying, printing or distribution of this message and associated
files is strictly prohibited. Please notify us immediately (by replying to
the message) if you have received this message in error. Please then delete
the message from your computer.

Any costs and or offers within this message are solely for information and
are not to be considered as a binding contract. The content of any e-mail
attachment may contain viruses. Whilst PS Website Design Ltd have taken
reasonable precaution to minimise risk they will not be liable for any
damage sustained as a result of software viruses.

Opinions expressed in this email are those of the writer and not the
Received on Friday, 14 November 2014 08:40:06 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 September 2016 06:30:31 UTC