Hello. I just read a article "rdf in html: approaches" at
"http://infomesh.net/2002/rdfinhtml" (guided by google).
Looking into the "Embed XML RDF Part II: Embrace Validation" part, there
are an example DTD and xhtml page. I don't know much about xhtml
Modularization, but I think this example should be workable in
cut-and-paste fashion for newcomers to use. In fact I copied the example
xhtml file into my website, it won't pass validation. Here is the error
message:
I was not able to extract a character encoding labeling from any of the
valid sources for such information. Without encoding information it is
impossible to validate the document.
And if I add this line of character encoding info (which I often use)
before the example xhtml page:
<?xml version="1.0" encoding="utf-8"?>
I still get error messages at
http://validator.w3.org/check?uri=ht...et%2Ftest.html
which looks like this:
# /Line 9
<http://validator.w3.org/check?uri=http%3A%2F%2Faliweekly.nease.net%2Ftest. html#line-9>,
column 8/: document type does not allow element "RDF
|<rdf:RDF>|
^
# /Line 10
<http://validator.w3.org/check?uri=http%3A%2F%2Faliweekly.nease.net%2Ftest. html#line-10>,
column 24/: there is no attribute "RDF
|<rdf:Property rdf:about="http://purl.org/net/swn#homepage">|
[snip]
Any suggestions to make it validate? Thank you.