You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Julien Nioche (JIRA)" <ji...@apache.org> on 2010/02/16 10:59:27 UTC

[jira] Updated: (TIKA-379) Lang attribute on html tag skipped

     [ https://issues.apache.org/jira/browse/TIKA-379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julien Nioche updated TIKA-379:
-------------------------------

    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.



  was:
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.



        Summary: Lang attribute on html tag skipped   (was: Attribute on html tag not represented in XHTML )

> Lang attribute on html tag skipped 
> -----------------------------------
>
>                 Key: TIKA-379
>                 URL: https://issues.apache.org/jira/browse/TIKA-379
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>            Reporter: Julien Nioche
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.