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

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

    Attachment: TIKA-379-2.patch

Attached a second patch with a suggested solution for normalising/filtering 
incoming attribute names. the code compiles but the tests fail. The purpose is 
mostly to illustrate the idea before implementing it properly. 
 

> Html elements and attributes not available in XHTML representation 
> -------------------------------------------------------------------
>
>                 Key: TIKA-379
>                 URL: https://issues.apache.org/jira/browse/TIKA-379
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 0.7
>            Reporter: Julien Nioche
>            Priority: Critical
>         Attachments: TIKA-379, TIKA-379-2.patch
>
>
> 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.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to