Description
The following HTML document :
<html lang="fi"><head>document 1 title</head><body>jotain suomeksi</body></html>
is rendered as the following xhtml by Tika :
<?xml version="1.0" encoding="UTF-8"?><html xmlns="http://www.w3.org/1999/xhtml"><head><title/></head><body>document 1 titlejotain suomeksi</body></html>
with the lang attribute getting lost. The lang is not stored in the metadata either.
I will open an issue on Tika and modify TestHTMLLanguageParser so that the tests don't break anymore
Attachments
Attachments
Issue Links
- is blocked by
-
TIKA-379 Html elements and attributes not available in XHTML representation
- Resolved