[Tex/LaTex] PDF compatibility, how to validate?

pdfpdftexxetex

Possible Duplicate:
PDF conformance tool

I have created PDF-files using XeLaTeX and there has been no problem when I have shared these files with co-workers using Acrobat Reader. But when I tried to upload these files to a special www-based form, I received an error message that basically claimed that my PDF-files were no real PDF-files. Later I checked the beginning of the files and they began with %PDF-1.5 which I believe is according to the standard.

My main question is how I can use XeLaTeX or PDFLaTeX to generate PDF-files compliant to the standard and not causing errors?

Minor followupquestions:
Can XeLaTeX and/or pdfLaTeX generate PDF-files compliant to the standard?
Any thoughts on what caused my problem?
How to check validate a PDF-file?
How to circumvent compatibility issues?

UPDATE

I made some extensive testing and found that the www-based form that received my files in general has no problem with PDF-files generated using XeTeX or pdfTeX. This was what I expected from the start since I believed that XeTeX and pdfTeX followed the open PDF-standard (ISO).

My root cause of my problem described above was a particular EPS-file that was included when producing my PDF-files. Other EPS-files does not cause problem when used with TeX. If the problematic EPS-file is inserted in an ODT-document using LibreOffice and a PDF-file is exported, there is no problem with the PDF-file.

Thus, I have found a compatibility problem between XeTeX/pdfTeX and a particular EPS-file. Any thoughts on how to check for compatibility between EPS and XeTeX/pdfTeX, and how to circumvent problems?

Best Answer

All PDF producing TeX engines (pdfTeX, XeTeX, LuaTeX) typically produce standard-compliant PDFs - iff the standard is ISO 32000-1:2008. Ofther PDF standards like PDF/X or PDF/A are also somewhat possible.