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

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 UTC