Code: Select all
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Title</title>
<link rel="stylesheet" href="style.css">
<script src="script.js"></script>
</head>
<body>
<div>
<p>This is a very simple test of <a href="https://www.oxygenxml.com">oXygen</a> support for XPath in HTML 5</p>
</div>
</body>
</html>
Am I doing something wrong? I thought the idea was that XPath would be possible on valid HTML5 even if it is not well-formed XML?XPath failed due to: The element type "link" must be terminated by the matching end-tag "</link>"