Re: [iText-questions] Mac PDF Photoshop Image Alchemy plug-in XML and stack overflow

2006-06-07 Thread Webber, David (NIH/OD) [C]
Leonard,

I'm going to try and create a new PDF myself that I can send you that
will replicate the problem we're seeing.

Maybe tomorrow now - since I have a bunch of other production to-do's to
handle today first.

Thanks, DW

-Original Message-
From: Leonard Rosenthol [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 06, 2006 4:22 PM
To: Webber, David (NIH/OD) [C]; Post all your questions about iText
here; itext-questions@lists.sourceforge.net
Subject: RE: [iText-questions] Mac PDF Photoshop Image Alchemy plug-in
XML and stack overflow

At 03:55 PM 6/6/2006, Webber, David \(NIH/OD\) [C] wrote:
OK - I'll trim out the surrounding chunk from the PDF and provide that.

 Please do NOT touch the PDF.  In order to diagnose the 
problem, I need to see the EXACT PDF that is causing the problems...


Unfortunately I cannot provide the actual PDF as it's a live production
one

 Meaning that it has content in there that is private? Or 
it's large?  Or...


- and I don't have the original SW that it was created in to build a
sampler with - so yes - this is an exercise in sleuthing to try and
narrow it down to probably cause.

 Well, I can try with a smaller version, but it may not tell 
me everything...


Leonard


---
Leonard Rosenthol
mailto:[EMAIL PROTECTED]
Chief Technical Officer  http://www.pdfsages.com
PDF Sages, Inc.  215-938-7080 (voice)
  215-938-0880 (fax)


___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] Mac PDF Photoshop Image Alchemy plug-in XML and stack overflow

2006-06-06 Thread Leonard Rosenthol


At 09:36 AM 6/6/2006, Webber, David (NIH/OD) [C] wrote:

PDFs created on the Mac using the
Image Alchemy v1.13 product from Handmade Software Inc, - that is a
“plug-in” for Photoshop V3.0 on the Mac – have the embedded XML as
below.
 
I don't
know about Image Alchemy, but many Mac OS applications will write such
metadata into image files. I have not, however, seen that go into
the PDF itself - UNLESS it is inside the image data.
Can you
provide a sample PDF demonstrating this?


This causes iText to throw a “stack
overflow” exception when it hits that page in the PDF.

What do
you mean hits that page? What specific API
call in iText?

LDR




---
Leonard
Rosenthol

mailto:[EMAIL PROTECTED]
Chief Technical
Officer

http://www.pdfsages.com
PDF Sages,
Inc.
215-938-7080 (voice)


215-938-0880 (fax)

___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] Mac PDF Photoshop Image Alchemy plug-in XML and stack overflow

2006-06-06 Thread Webber, David (NIH/OD) [C]
Leonard,

I posted a sample of the XML we're seeing to the bottom of the original
msg here.  It appears to be control code for the printer definitions.
Stack overflow usually indicates some looping condition - and that XML
has lots of child occurrences...

We're using the streaming reader methods; not from the filesystem.  We
get a page at a time - that is how we know which page it's on when it
throws the exception.  Also - that page contains the image created by
the Alchemy plug-in - and of course has the associated XML at that
point.

If I re-print the whole document using Adobe Reader 7 and CutePDF - then
CutePDF creates a new PDF without the XML in it - and we are able to
process that OK - that is why we are assuming the XML is the root cause
of the problem.

Thanks, DW


-Original Message-


 I don't know about Image Alchemy, but 
many Mac OS applications will write such metadata 
into image files.  I have not, however, seen that 
go into the PDF itself - UNLESS it is inside the image data.

 Can you provide a sample PDF demonstrating this?


This causes iText to throw a ?stack overflow? 
exception when it hits that page in the PDF.


 What do you mean hits that page?What specific API call in
iText?


LDR




---
Leonard Rosenthol
mailto:[EMAIL PROTECTED]
Chief Technical Officer  http://www.pdfsages.com
PDF Sages, Inc.  215-938-7080 (voice)
  215-938-0880 (fax)


___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] Mac PDF Photoshop Image Alchemy plug-in XML and stack overflow

2006-06-06 Thread Webber, David (NIH/OD) [C]
Leonard,

OK - I'll trim out the surrounding chunk from the PDF and provide that.

Unfortunately I cannot provide the actual PDF as it's a live production
one - and I don't have the original SW that it was created in to build a
sampler with - so yes - this is an exercise in sleuthing to try and
narrow it down to probably cause.

I can do some diagnostics / debugging if someone can help direct me
toward that.

I'll post something in the morning - its end of day for me here.

Thanks, DW

-Original Message-
From: Leonard Rosenthol [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 06, 2006 3:14 PM
To: Post all your questions about iText here;
itext-questions@lists.sourceforge.net
Cc: Webber, David (NIH/OD) [C]
Subject: Re: [iText-questions] Mac PDF Photoshop Image Alchemy plug-in
XML and stack overflow

At 02:35 PM 6/6/2006, Webber, David (NIH/OD) [C] wrote:
I posted a sample of the XML we're seeing to the bottom of the original
msg here.

 I want to see the XML INSIDE THE PDF...

 Seeing the XML tells me NOTHING about how it lives in the 
PDF...which will determine what (if any) impact it will have on PDF
workflows.


It appears to be control code for the printer definitions.
Stack overflow usually indicates some looping condition - and that XML
has lots of child occurrences...

 iText will NOT parse ANY XML in the PDF...


Leonard


---
Leonard Rosenthol
mailto:[EMAIL PROTECTED]
Chief Technical Officer  http://www.pdfsages.com
PDF Sages, Inc.  215-938-7080 (voice)
  215-938-0880 (fax)


___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] Mac PDF Photoshop Image Alchemy plug-in XML and stack overflow

2006-06-06 Thread Leonard Rosenthol
At 02:35 PM 6/6/2006, Webber, David (NIH/OD) [C] wrote:
I posted a sample of the XML we're seeing to the bottom of the original
msg here.

 I want to see the XML INSIDE THE PDF...

 Seeing the XML tells me NOTHING about how it lives in the 
PDF...which will determine what (if any) impact it will have on PDF workflows.


It appears to be control code for the printer definitions.
Stack overflow usually indicates some looping condition - and that XML
has lots of child occurrences...

 iText will NOT parse ANY XML in the PDF...


Leonard

---
Leonard Rosentholmailto:[EMAIL PROTECTED]
Chief Technical Officer  http://www.pdfsages.com
PDF Sages, Inc.  215-938-7080 (voice)
  215-938-0880 (fax)



___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] Mac PDF Photoshop Image Alchemy plug-in XML and stack overflow

2006-06-06 Thread Leonard Rosenthol
At 03:55 PM 6/6/2006, Webber, David \(NIH/OD\) [C] wrote:
OK - I'll trim out the surrounding chunk from the PDF and provide that.

 Please do NOT touch the PDF.  In order to diagnose the 
problem, I need to see the EXACT PDF that is causing the problems...


Unfortunately I cannot provide the actual PDF as it's a live production
one

 Meaning that it has content in there that is private? Or 
it's large?  Or...


- and I don't have the original SW that it was created in to build a
sampler with - so yes - this is an exercise in sleuthing to try and
narrow it down to probably cause.

 Well, I can try with a smaller version, but it may not tell 
me everything...


Leonard

---
Leonard Rosentholmailto:[EMAIL PROTECTED]
Chief Technical Officer  http://www.pdfsages.com
PDF Sages, Inc.  215-938-7080 (voice)
  215-938-0880 (fax)



___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions