Validation Error for SVG

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Validation Error for SVG

Jamie Gill

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 xlink:href="/images/sterling_logo.svg" 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

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

--

PS Website Design Ltd

Office: + 44 (0) 1943 605 894
Web: 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 company.