# Error after creating pdf/a [closed]

I must create my thesis in pdf/a format. I'm using the package pdfx calling in the preamble:

\usepackage[a-1b]{pdfx}


When I open the pdf with Adobe I got the blu bar says me that file is in PDF/A format. Unfortunately when I validate the file using always Adobe I got many strange error. I don't know how to resolve the problem.

here it is the file:

\documentclass[12pt,a4paper,twoside,openright]{book}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,italian]{babel}
\usepackage{mathptmx}

\usepackage[hmargin=3cm,vmargin=3cm,bindingoffset=0.5cm]{geometry}

\usepackage{setspace} %setta l'interlinea a 1,5
\onehalfspacing

\usepackage{lipsum}

%-----------------------------
\usepackage[a-1b]{pdfx}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.xmpdata}
\Title{Ttitle}
\Author{Salvatore Mazzarino}
\Keywords{Mobile Cloud\sep
Energia\sep
Green Networking\sep
Network Coding\sep
User Cooperation\sep
RLNC\sep}
\Org{Università degli Studi di Catania}
\end{filecontents*}
%-----------------------------

\begin{document}

\lipsum[1-4]

\end{document}


Here it is the errors I got:

Validating file "prova.pdf" for conformance level pdfa-1b
The separator after an 'obj' must be an EOL. (2)
The separator before an 'endobj' must be an EOL. (2)
The separator before 'endstream' must be an EOL.
XML line 21:27: Input is not proper UTF-
Bytes: 0xE0 0x20 0x64 0x65.", 1
The value of the key N is 4 but must be 3.
The document does not conform to the requested standard.
The file format (header, trailer, objects, xref, streams) is corrupted.
The document doesn't conform to the PDF reference (missing required entries, wrong value types, etc.).
The document's meta data is either missing or inconsistent or corrupt.
Done.


-

## closed as too localized by Joseph Wright♦Feb 2 '13 at 21:32

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Can you replicate the problem with a small document, say, 1 page with dummy sections using your thesis class file? If not then it should be a content problem. That way you can narrow down the scope. –  percusse Dec 22 '12 at 10:43
Well I resolved the last two problems. It was an png file...the other problem I don't know how to resolve it... –  Mazzy Dec 22 '12 at 10:48
I tried everything...I leave only one page in my thesis and I got always that error... –  Mazzy Dec 22 '12 at 11:06
@HarishKumar please try to validate it online with this validator:pdf-tools.com/pdf/validate-pdfa-online.aspx –  Mazzy Dec 22 '12 at 14:41
I know this problem and how to solve it. It is a general problem of Acrobat's preflight with PDFs generated by pdftex. –  user26372 Feb 25 '13 at 10:22