You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Jukka Zitting (Resolved) (JIRA)" <ji...@apache.org> on 2011/10/05 15:52:34 UTC

[jira] [Resolved] (TIKA-739) For certain DWG files, the Tika content parser outputs garbage

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

Jukka Zitting resolved TIKA-739.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0
         Assignee: Jukka Zitting

I fixed this in revision 1179225 by adding a check for an unexpected property offset value. The result is that Tika is unable to extract anything from this file, but that's already better than returning garbage.
                
> For certain DWG files, the Tika content parser outputs garbage
> --------------------------------------------------------------
>
>                 Key: TIKA-739
>                 URL: https://issues.apache.org/jira/browse/TIKA-739
>             Project: Tika
>          Issue Type: Bug
>            Reporter: John Bartak
>            Assignee: Jukka Zitting
>             Fix For: 1.0
>
>         Attachments: 3D Dacor Modern Kitchen.dwg, SolrErrorMsg.png, extractedContent.xml, screenshot-1.jpg
>
>
> I'm using Solr version 3.4.  After I index the attached file, Solr displays an error message if it is included in the search results because of malformed XML.  When I extract the file using Solr's extractOnly option, I get results back that look corrupted to me (see attached).
> I observed the same behavior with Solr version 3.3.
> The exact URL that I used to extract the content is (before I URL encode it):  http://localhost:8983/solr/update/extract?extractOnly=true&literal.type=file&literal.id=9a7ab433616746aaab526d77564b916f&literal.name=3D Dacor Modern Kitchen.dwg&resource.name=3D Dacor Modern Kitchen.dwg&literal.createddate=2010-08-19T17:32:48.277Z&literal.modifieddate=2010-08-19T17:32:49.996Z&literal.size=452832&literal.versionnumber=0&literal.ownerid=92a7271bfa3c4639993c4652ef7e922b&literal.creatorid=201008051854838&literal.viewerids=201008051854838&literal.viewerids=201006231721543&literal.viewerids=201011041924210

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira