tika-user  

Remove an old adress mail from the list (was : Re: Delivery Status Notification (Failure))

Florent André
Mon, 25 Jan 2010 07:02:02 -0800

On each send to the user ML, the poster receive this mail delivery failure.


Not grave, but a little bit **%$$$!!!ù.

If this is a permanent failure, it could be cool if someone can supress
administra...@net4nuts.com from the ml receiver.

Sign :
Today's tika spam boy ! :) 


administra...@net4nuts.com

On Mon, 25 Jan 2010 20:22:49 +0530, postmas...@net4nuts.com wrote:
> This is an automatically generated Delivery Status Notification.
> 
> Delivery to the following recipients failed.
> 
>        administra...@net4nuts.com
Reporting-MTA: dns;nutshell.Net4Nuts.Com
Received-From-MTA: dns;exchange-pop3-connector.com
Arrival-Date: Mon, 25 Jan 2010 20:22:48 +0530

Final-Recipient: rfc822;administra...@net4nuts.com
Action: failed
Status: 5.2.2
X-Display-Name: Administrator

Hello, 

I use the AutoDetectParser.parse(java.io.InputStream stream,
org.xml.sax.ContentHandler handler, Metadata metadata). 

I use the parse function many times with the same ContentHandler. 

My problem is : 
- on each parse, tika send to the contentHandler the "xml header
definition" (<?xml version="1.0" encoding="UTF-8"?>)

This is a problem for me, because this sending don't allow me to parse the
contentHandler with a SAX element (cocoon transformer).

For example, after using of tika, my output is : 
<root>
<documentparse id="1" <?xml version="1.0" encoding="UTF-8"?>>
<html>
... content from tika
</html>
<documentparse id="2" <?xml version="1.0" encoding="UTF-8"?>>
<html>
... content from tika
</html>
</documentparse>

There is a way to deactivate the xml header sending ? 

Thanks in advance,
++