- From: Toby Inkster <tai@g5n.co.uk>
- Date: Wed, 12 Aug 2009 16:45:19 +0100
- To: martin@weborganics.co.uk
- Cc: RDFa <public-rdf-in-xhtml-tf@w3.org>
On Wed, 2009-08-12 at 16:05 +0100, Martin McEvoy wrote: > the error is Attribute "xmlns:dc" must be declared for element type > "div". ie: > > <dc:div xmlns:dc="http://purl.org/dc/elements/1.1/"> > ... > > </dc:div> No, that's not true at all. <div xmlns:dc="http://purl.org/dc/elements/1.1/"> doesn't place <div> into the DC namespace - <div> remains in the expected XHTML namespace. This is a perfectly legal and proper use of namespaces - it just won't validate properly in DTD-based validators because DTDs can't deal with namespaces (except in a very limited manner). This will be my last message on this matter. -- Toby A Inkster <mailto:mail@tobyinkster.co.uk> <http://tobyinkster.co.uk>
Received on Wednesday, 12 August 2009 15:46:07 UTC