W3C home > Mailing lists > Public > www-svg@w3.org > January 2011

Re: Re (2): A redundant namespace name in an SVG text.

From: Jonathan Watt <jwatt@jwatt.org>
Date: Mon, 24 Jan 2011 12:01:45 +1300
Message-ID: <4D3CB359.2000002@jwatt.org>
To: peasthope@shaw.ca
CC: www-svg@w3.org
On 24/01/2011 10:06, peasthope@shaw.ca wrote:
> <svg 
> 	xmlns="http://www.w3.org/2000/svg" 
> 	xml:lang="en"
>     width="134"
>     height="242"
> 	overflow="visible" 
> 	style="font-family:Times; font-size:20">
> 	
> 	<svg:text x='40' y='-50' >1</svg:text> 
> </svg>

This isn't valid since you haven't actually bound the namespace name 'svg' to
the namespace 'http://www.w3.org/2000/svg'. Add
xmlns:svg="http://www.w3.org/2000/svg" to the opening tag in /addition/ to what
you currently have (declaration of the default namespace) and see if that helps.
If it doesn't help, it would seem you're hitting a limitation of or bug in the
validator.

Jonathan
Received on Sunday, 23 January 2011 23:02:12 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:47 GMT