You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Chris A. Mattmann (JIRA)" <ji...@apache.org> on 2011/02/14 02:28:57 UTC

[jira] Resolved: (TIKA-596) NetCDF and HDF files don't parse correctly from the command line via tika-app

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

Chris A. Mattmann resolved TIKA-596.
------------------------------------

    Resolution: Fixed

- fixed in r1070359. I added a special NoDocumentMetHandler to check whether or not endDocument was called (will only happen when XHTML output is present). If the endDocument method isn't called, then the output OutputType forces the method to be called and metadata to be output.

> NetCDF and HDF files don't parse correctly from the command line via tika-app
> -----------------------------------------------------------------------------
>
>                 Key: TIKA-596
>                 URL: https://issues.apache.org/jira/browse/TIKA-596
>             Project: Tika
>          Issue Type: Bug
>          Components: packaging, parser
>    Affects Versions: 0.8
>         Environment: while prepping 0.9 RC
>            Reporter: Chris A. Mattmann
>            Assignee: Chris A. Mattmann
>            Priority: Blocker
>              Labels: cmd, error, hdf, line, netcdf, packaging, tika-app
>             Fix For: 0.9
>
>
> The tika-app command line interface seems to be broken for HDF and NetCDF files. For example:
> {noformat}
> [chipotle:trunk/tika-app/target] mattmann% java -jar tika-app-0.9-SNAPSHOT.jar -m /Users/mattmann/src/tika/trunk/tika-parsers/target/test-classes/test-documents/test.he5
> [chipotle:trunk/tika-app/target] mattmann% 
> {noformat}
> and:
> {noformat}
> [chipotle:trunk/tika-app/target] mattmann% java -jar tika-app-0.9-SNAPSHOT.jar -m /Users/mattmann/src/tika/tags/0.8/tika-parsers/src/test/resources/test-documents/sresa1b_ncar_ccsm3_0_run1_200001.nc
> [chipotle:trunk/tika-app/target] mattmann% 
> {noformat}

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira