Google Chrome doesn't render .xhtml file when I response:
http://localhost:56685/simple/OPS/cover.xhtml
But when I use file protocol it renders sucessfully:
file:///C:/Users/Kosha/Downloads/cover.xhtml
Is not a problem with bad url as the browser starts downloading the document to hard disk.
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title/>
<link rel="stylesheet" href="style.css" type="text/css"/>
<link rel="stylesheet" href="style.css" type="text/css"/>
</head>
<body class="cover">
<svg xmlns="http://www.w3.org/2000/svg" class="cover-svg" viewBox="0 0 391 600">
<image height="600" xlink:href="images/cover.jpg" width="391" xmlns:xlink="http://www.w3.org/1999/xlink"/>
</svg>
</body>
</html>