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>


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?


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, ~:'' ありがとうございました。  
> 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'

...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
Received on Saturday, 16 February 2008 16:56:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:06 UTC