validating HTML5 documents in oXygen 14.2
Posted: Thu Aug 22, 2013 2:55 am
Hi all,
in the current HTML5 specification, there is an example of a very simple HTML5 document at http://www.w3.org/TR/html5/single-page. ... ml-element.
From reading this thread: http://www.oxygenxml.com/forum/topic7698.html, I thought a basic HTML5 document would be marked as valid. The error message I get is
If I add some empty elements such as link, those are also flagged since they don't have end tags. But for this purpose, I want to use the HTML5 syntax if at all possible, not the XHTML syntax. How do I get this to work?
thanks,
Lauren
in the current HTML5 specification, there is an example of a very simple HTML5 document at http://www.w3.org/TR/html5/single-page. ... ml-element.
Code: Select all
<!DOCTYPE html>
<html lang="en">
<head>
<title>Swapping Songs</title>
</head>
<body>
<h1>Swapping Songs</h1>
<p>Tonight I swapped some of the songs I wrote with some friends, who
gave me some of the songs they wrote. I love sharing my music.</p>
</body>
</html>
Code: Select all
System ID: C:\temp\test.html
Main validation file: C:\temp\test.html
Schema: C:\Program Files\Oxygen XML Editor 14\frameworks\xhtml\xhtml5 (epub3)\epub-xhtml-30.nvdl
Engine name: Jing
Severity: error
Description: elements from namespace "" are not allowed
Start location: 2:17
thanks,
Lauren