W3C home > Mailing lists > Public > www-validator@w3.org > February 2008

Re: RDF embedded in SVG is well formed but breaks the validator

From: ~:'' ありがとうございました。 <j.chetwynd@btinternet.com>
Date: Sat, 16 Feb 2008 16:55:51 +0000
Message-Id: <69130C6B-FFC5-4518-A586-42BAE876E4E7@btinternet.com>
Cc: www-validator@w3.org
To: David Dorward <david@dorward.me.uk>

David,

do you have an example of an SVG+RDF DTD ?

http://peepo.co.uk/index.svg has no DTD which is valid for SVG.
the W3C validator reports it is well-formed XML, but are the SVG and  
RDF valid?

cheers

Jonathan Chetwynd
Accessibility Consultant on Media Literacy and the Internet



On 16 Feb 2008, at 09:22, David Dorward wrote:

On 15 Feb 2008, at 19:27, ~:'' ありがとうございました。  
wrote:
> RDF embedded in SVG is well formed but breaks the validator*
>
> please can you resolve this?

The validator just compares your markup to the DTD your Doctype  
claims you are following. Since you are using:

   <!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN'
   'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'>

...RDF can't be used in the document without it being invalid. You  
need to switch to an SVG+RDF DTD before you can have a valid document.

-- 
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/
Received on Saturday, 16 February 2008 16:56:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:28 GMT