Validating HTML5 and RDFa lite
Posted: Fri Mar 08, 2013 9:07 am
I am unable to get oXygen to validate the recommended use of RDFa + HTML5:
as specified here http://www.w3.org/TR/rdfa-in-html/#exte ... ml5-syntax. The problem seems to lie specifically in the use of @vocab. Why?
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Example Document</title>
</head>
<body vocab="http://schema.org/">
<p typeof="Blog"> Welcome to my <a property="url" href="http://example.org/">blog</a>. </p>
</body>
</html>