[ 
https://issues.apache.org/jira/browse/TIKA-1779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14969787#comment-14969787
 ] 

tranquillo commented on TIKA-1779:
----------------------------------

the other differences are only line breakes between xml-nodes:

~/data$ sdiff -s 00012174_1.xml 00012174_2.xml 
                                                              > <meta 
name="Content-Length" content="26845"/>
                                                              > <meta 
name="resourceName" content="00012174.pdf"/>
<body>                                                        | <body><div 
class="page"><p/>
<div class="page">                                            <
<p/>                                                          <
<div class="page">                                            | <div 
class="page"><p/>
<p/>                                                          <
<div class="page">                                            | <div 
class="page"><p/>
<p/>                                                          <
<div class="page">                                            | <div 
class="page"><p/>
<p/>                                                          <
<div class="page">                                            | <div 
class="page"><p/>
<p/>                                                          <
<div class="page">                                            | <div 
class="page"><p/>
<p/>                                                          <
<div class="page">                                            | <div 
class="page"><p/>
<p/>                                                          <


> different outputs between cmd & srv version
> -------------------------------------------
>
>                 Key: TIKA-1779
>                 URL: https://issues.apache.org/jira/browse/TIKA-1779
>             Project: Tika
>          Issue Type: Bug
>          Components: batch
>    Affects Versions: 1.10
>         Environment: Intel Core I5 4GB Ram, Notebook
> OS: debian8, x64, Gnome
> java version "1.8.0_60"
> Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
> Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
> ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux]
>            Reporter: tranquillo
>
> [ruby] I see strange behaviour, a difference between tika runs via console or 
> as a server. The xml output called via the console contains one line more 
> meta (<meta name="Content-Length" content="26845"/> ), but from the cmd-run 
> the complete file is 337 lines long whereas the output from the 
> server-version is 444 lines long.
> The input file is here: 
> http://ratsinfo.dresden.de/getfile.php?id=12174&type=do
> console cmd line:
> $ java -server -Djava.awt.headless=true -jar 'tika-app.jar' --xml 
> '~/data/0012174.pdf'
> the request against the server:
> curl -T '~/data/0012174.pdf' http://localhost:9998/tika --header "Accept: 
> text/xml"
> Is here is a possibility to upload files, please give me a hint, otherwise i 
> put the two files on my server for a while.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to