Copy link to clipboard
Copied
Does anyone know of a PDF validator on-line. I use PAC 2 but I am getting a weird error and it stops testing. the error is
Error while parsing the PDF Document (name too long (6677))
This is the file name;
Registration_Form_Pers_Production-engAug22.pdf
I have had longer names and they pass. any ideas?
Copy link to clipboard
Copied
What is the full path name?
Many OS's have a path and file name length limit.
Copy link to clipboard
Copied
C:\Users\gghjghjgh\Downloads\bhkjhhkgbhk\Registration_Form_Pers_Production-engAug22.pdf
Copy link to clipboard
Copied
This sounds like your accessibility checker error. Can you get a more detailed explanation for your checker?
Have you checked that all characters in you file name are valid for accessible document file names?
Copy link to clipboard
Copied
All characters are valid.
I tried this path as well, same error.
E:\Registration_Form_Pers_Production-engAug22.pdf
Copy link to clipboard
Copied
Note that it doesn't say "file name too long", so I think you may be looking at the wrong cause. The term "name" in a PDF has a specific meaning that you can read about in the PDF specification. This could be what that message is referring to. The maximum length of a name in a PDF is (usually) 127 bytes.
Copy link to clipboard
Copied
You are correct, there are brackets separating that.
Error while parsing the PDF Document (name too long (35404))
Can you clarify this: The term "name" in a PDF has a specific meaning that you can read about in the PDF specification.
I may know different terminology, but what do you mean Read PDF Specification?
Copy link to clipboard
Copied
The PDF specification (aka PDF Reference) can be found here: PDF Reference and Adobe Extensions to the PDF Specification | Adobe Developer Connection
See section 7.3.5 and Table C.1 for more information.
Copy link to clipboard
Copied
This is a very late reply, but I had the same issue just now and was finally able to troubleshoot to narrow it down and solve it. The "name" is referring to a property name or value, not the filename (as George_Johnson mentioned). The number is the object reference in the PDF stream (which you are unlikely to find, so not very helpful). In my case it was a radio button that had lengthy value text. I shortened the value text and voilà !
My troubleshooting method:
Hope this helps you too, or anyone who finds this thread like I did by searching, "Error while parsing the PDF Document (name too long)".
Not enough documentation on these PAC errors!