Validating HTML5 and RDFa lite

Oxygen general issues.
whyme
Posts: 93
Joined: Fri Mar 08, 2013 8:58 am

Validating HTML5 and RDFa lite

Post by whyme »

I am unable to get oXygen to validate the recommended use of RDFa + HTML5:

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>
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?
Radu
Posts: 9446
Joined: Fri Jul 09, 2004 5:18 pm

Re: Validating HTML5 and RDFa lite

Post by Radu »

Hi,

Oxygen uses the following NVDL schema to provide validation and content completion for XHTML 5 documents:

OXYGEN_INSTALL_DIR/frameworks/xhtml/xhtml5 (epub3)/epub-xhtml-30.nvdl

The schema does not have support for rdfa extensions.
We will consider adding a schema which has support for them in a future version.
In the meantime if you find a schema for validating XHTML 5 + RDFA, you can associate it to the HTML file and use it instead of ours.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply