Re: How do I make this RDF validate?

> and it seems that I must be missing a declaration
> somewhere?

Kinda. Basically, the (X)HTML specifications developed by the W3C do not
allow for RDF to be used inside any form of XHTML recommended to date.
Considering that RDF is essentially a data-oriented format and XHTML a
document-oriented format, this is a sensible approach. Putting XML RDF into
an XHTML document is worthless because:-

a) XHTML already has methods with which to embed metadata, namely the
<meta/> and <link/> elements, etc.
b) I'd be suprised if there were any processors around that actually did
anything with embedded RDF

So I suggest that you either use the metdata constructs that XHTML (and
indeed, HTML) already contains, or possibly do a worthless extension of
XHTML using XHTML m12n [1], thus enabling a canonical form of RDF to be
embedded (I've actually prepared XHTML modules for this purpose, but not
implemented them).

Here's some background reading:-

http://www.w3.org/2000/07/hs78/
- HyperRDF: Using XHTML Authoring Tools with XSLT to produce RDF Schemas

http://lists.w3.org/Archives/Public/www-rdf-interest/2001Aug/0218
- RDF-In-XHTML; A "New" Approach

http://www.w3.org/TR/html401/struct/global#profiles
- Meta data profiles, HTML 4.01

http://lists.w3.org/Archives/Public/www-rdf-interest/2001Apr/thread#206
http://lists.w3.org/Archives/Public/www-rdf-interest/2001Apr/thread#241
http://lists.w3.org/Archives/Public/www-rdf-interest/2001Apr/thread#274
- Threads From RDF IG, April 2001

Cheers,

[1] http://www.w3.org/TR/xhtml-modularization

--
Kindest Regards,
Sean B. Palmer
@prefix : <http://webns.net/roughterms/> .
:Sean :hasHomepage <http://purl.org/net/sbp/> .

Received on Thursday, 11 October 2001 19:36:13 UTC