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}
%PDF METADATA
%-----------------------------
\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.
