The source code xxx is broken message

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

joeitaliano
User
Posts: 89
Joined: Wed Dec 29, 2010 8:50 am

The source code xxx is broken message

Post by joeitaliano »

hello

i have opened a document using the viewer and filled some of the form fields and saved the document.

i have now i opened the same document using adobe and also filled the form and and saved it

now when i open the document using the viewer the message "the source document xxx is broken. pdf-xchange cannot use the save for this document..."

any reason

thanks
User avatar
John - Tracker Supp
Site Admin
Posts: 5223
Joined: Tue Jun 29, 2004 10:34 am

Re: The source code xxx is broken message

Post by John - Tracker Supp »

Hi Joe,

can you please provide a sample and advise which of Adobe's products you used to complete the form and save ?

Thanks
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com
joeitaliano
User
Posts: 89
Joined: Wed Dec 29, 2010 8:50 am

Re: The source code xxx is broken message

Post by joeitaliano »

hi john have emailed it you you please confirmed you have received it
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7362
Joined: Wed Mar 25, 2009 10:37 pm

Re: The source code xxx is broken message

Post by Paul - PDF-XChange »

Hi joeitaliano,

we recieved an email with an attachment pdfproblem.old. We will look into this today.


thanks
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
joeitaliano
User
Posts: 89
Joined: Wed Dec 29, 2010 8:50 am

Re: The source code xxx is broken message

Post by joeitaliano »

hi paul just checking if any progress on this one

thanks joe
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7362
Joined: Wed Mar 25, 2009 10:37 pm

Re: The source code xxx is broken message

Post by Paul - PDF-XChange »

Hi Joe,

sorry for not getting back to you on this one. I opened both documents without that error. Can you confirm you are using the current build of the Viewer? 2.5.191.

Also - I believe you are using Win 7 x64. Is that right? I can test on that platform if needed...
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
joeitaliano
User
Posts: 89
Joined: Wed Dec 29, 2010 8:50 am

Re: The source code xxx is broken message

Post by joeitaliano »

hi john

i opened the one that titled .. after adobe and on the bottom left hand side there was an warning symbol. see attachement
You do not have the required permissions to view the files attached to this post.
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7362
Joined: Wed Mar 25, 2009 10:37 pm

Re: The source code xxx is broken message

Post by Paul - PDF-XChange »

Got it, thanks joe,

will test after the week end.

Regards
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
User avatar
Lzcat - Tracker Supp
Site Admin
Posts: 677
Joined: Thu Jun 28, 2007 8:42 am

Re: The source code xxx is broken message

Post by Lzcat - Tracker Supp »

Hi Joe.
Typically we show this warning message when non all pdf objects described in xref tables or streams. In general all pdf objects from document range (from 0 to MaxObjNum) should be described in xref table (or stream), even some of them are not used (they are marked as free), but for some reason Adobe leave holes in pdf documents with XFA forms (yes, some unused objects are not listed in xref). And as always Adobe product prefer to not notify about this as we does.
In most cases you may safe ignore non-critical errors and they will be corrected during save if it is not incremental.
HTH.
Victor
Tracker Software
Project manager

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
joeitaliano
User
Posts: 89
Joined: Wed Dec 29, 2010 8:50 am

Re: The source code xxx is broken message

Post by joeitaliano »

victor

please see attachment zip file

the one with out word bad in the file name i opened and then changed some text and saved it as bad

now what happens is that if i open the bad one with adobe it complains and does not allow me to do anything

can this be fixed please
You do not have the required permissions to view the files attached to this post.
User avatar
Lzcat - Tracker Supp
Site Admin
Posts: 677
Joined: Thu Jun 28, 2007 8:42 am

Re: The source code xxx is broken message

Post by Lzcat - Tracker Supp »

First file (saved using Adobe) contains an Adobe-specific digital signature which allows Adobe Reader to modify the document (without this signature Adobe Reader won't modify the document).

Second file (updated by Viewer) also contains this signature, but there were changes and therefore the Reader treats this document as altered after signing, so the signature is no longer valid (and won't modify it).

This is Adobe specific behaviour, and we can do nothing with this.
PS. Second document is valid and can be edited using Acrobat without any problems.
Victor
Tracker Software
Project manager

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
joeitaliano
User
Posts: 89
Joined: Wed Dec 29, 2010 8:50 am

Re: The source code xxx is broken message

Post by joeitaliano »

victor

when you say it had a digital signature are you tell me that the document when it was created by the developer was created with a digital signature or is adobe getting to smart and putting one there to give people problems

i want to be able to have these document used without problem between adobe and xchange

joe
User avatar
Lzcat - Tracker Supp
Site Admin
Posts: 677
Joined: Thu Jun 28, 2007 8:42 am

Re: The source code xxx is broken message

Post by Lzcat - Tracker Supp »

Adobe puts a signature on the file to make the file editable with Adobe Reader.

We cannot add such signature because Adobe does not allow this.

There is no way to work with the file using any other Viewer and Adobe Reader becuse of the Reader limitaions. If you will use Acrobat instead of Reader - it is possible.

Why - ask Adobe and perhaps ask him them if they intended for the PDF standard to be 'Open' why do this ?
Victor
Tracker Software
Project manager

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
joeitaliano
User
Posts: 89
Joined: Wed Dec 29, 2010 8:50 am

Re: The source code xxx is broken message

Post by joeitaliano »

victor

it is making more sense now

the solutions is not to have the pdf created by client with "reader extension" rights

joe
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19885
Joined: Mon Jan 12, 2009 8:07 am

Re: The source code xxx is broken message

Post by Stefan - PDF-XChange »

Hello Joe,

The solution would indeed be to create your documents without using Adobe products, and then there would be no signature and no issues with the free Adobe Reader.

Best,
Stefan
joeitaliano
User
Posts: 89
Joined: Wed Dec 29, 2010 8:50 am

Re: The source code xxx is broken message

Post by joeitaliano »

hi stefan

i agree but outside my control as client uses only adobe

cheers
User avatar
John - Tracker Supp
Site Admin
Posts: 5223
Joined: Tue Jun 29, 2004 10:34 am

Re: The source code xxx is broken message

Post by John - Tracker Supp »

Hi Joe,

understood - its only since Adobe started offering a few free extra features in their reader to combat the success of our Reader and others - that in the latest release they have chosen to restrict access to documents modified by their free reader if mod's are made - so much for an open PDF Standard !

I should add that Adobe have tried this previously and eventually been forced to remove such restrictions as they proved very unpopular and caused a lot of dissent - do not be surprised if these restrictions quietly dissapear in the future ...
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com
User avatar
John - Tracker Supp
Site Admin
Posts: 5223
Joined: Tue Jun 29, 2004 10:34 am

Re: The source code xxx is broken message

Post by John - Tracker Supp »

Hi Joe,

a little more info - this is possibly not quite as 'nefarious' as first thought/indicated - its actually an error by Adobe when they create the XREF table for the file in the example - they report 'X' number of objects in the table as being present - when in fact there are only 'Y' objects - a cynic might say this is intentional as the net result is we detect an error and want to correct this when opened with our viewer so the file is 100% valid in all PDF compliant tools, but I could not possibly say that...

But by playing by the rules we are in fact shooting ourselves in the foot - as by doing so - we cannot save the PDF with its original valid Digi Sig (Inserted by Adobe when allowing their own Reader to make changes to the file) - it cannot be saved as an incremental update as we are modifying the original XREF to correct the error - which invalidates the signature ...

So - what we need to do is actually identify this very specific type of error and actually not try and play fair and correct the error for the benefit of all - but identify it as an error which will result in problems re-opening in Adobe Reader (only the 'X' versions I should add) if we correct it and consequently actually ignore the issue totally.

Not what we want to do at all - but I think something we will have to try and do - without breaking the option to fix other files with similar issues ...

We are investigating this now and hope to have a satisfactory (well unsatisfactory but functional) solution soon.

Thanks for your patience.
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com
joeitaliano
User
Posts: 89
Joined: Wed Dec 29, 2010 8:50 am

Re: The source code xxx is broken message

Post by joeitaliano »

hi john

totally agree with you and you are correct i did use the x reader

i was also right - i am dealing with the smartest people when it comes to PDF

keep up the good work and i will try to give you more input as i find things so that adobe can have a hard time

cheers
User avatar
John - Tracker Supp
Site Admin
Posts: 5223
Joined: Tue Jun 29, 2004 10:34 am

Re: The source code xxx is broken message

Post by John - Tracker Supp »

Hi Joe,

thanks for the kind words and understanding - we hope to have this resolved in a new release as soon as possible which will not modify these specific files in terms of the incorrect XREF table - but continue to do so for other files where the XREF table is incorrect and no Digi Sig exists.

HTH
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7362
Joined: Wed Mar 25, 2009 10:37 pm

Re: The source code xxx is broken message

Post by Paul - PDF-XChange »

Hi Joe,

I am happy to be able to tell you that your issue (RT#782: Correcting Invalid Adobe XREF table causes problems later in Adobe Reader) was resolved in the most recent build. Please update to the latest build and confirm.
http://www.docu-track.com/knowledgebase ... nt-version

I have closed the ticket. Should you require further action please let me know.

Paul
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
joeitaliano
User
Posts: 89
Joined: Wed Dec 29, 2010 8:50 am

Re: The source code xxx is broken message

Post by joeitaliano »

fantastic

do you know if RT#777: Form fields allow typing beyond visible boundaries is also fixed in that release

many thanks

joe
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19885
Joined: Mon Jan 12, 2009 8:07 am

Re: The source code xxx is broken message

Post by Stefan - PDF-XChange »

Hello Joe,

I am afraid that ticket 777 is still open and there has been no update in it mentioning any fixes in build 192.
I will try to get some more information on it from the devs.

Best,
Stefan
joeitaliano
User
Posts: 89
Joined: Wed Dec 29, 2010 8:50 am

Re: The source code xxx is broken message

Post by joeitaliano »

hi stefan

where can i get a list of the bug fixes for a release so i can check in future

thanks

joe
User avatar
John - Tracker Supp
Site Admin
Posts: 5223
Joined: Tue Jun 29, 2004 10:34 am

Re: The source code xxx is broken message

Post by John - Tracker Supp »

Hi Joe,

its here when ready - the udpated one will be posted later today :

https://www.pdf-xchange.com/PDFXV_history.html
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com