xml - pdf/a validation: pdfaExtension:schemas/*[1] :: Missing required field 'valueType' in value type 'Schema' -


i have created pdf/a-1b in php tcpdf library, not pass validation (http://www.pdf-tools.com/pdf/validate-pdfa-online.aspx) these errors:

pdfaextension:schemas/[0] :: missing required field 'valuetype' in value type 'schema'. pdfaextension:schemas/[1] :: missing required field 'valuetype' in value type 'schema'. pdfaextension:schemas/*[2] :: missing required field 'valuetype' in value type 'schema'.

<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="adobe xmp core 4.2.1-c043 52.372728, 2009/01/18-15:08:04"> <rdf:rdf xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">     <rdf:description rdf:about="" xmlns:dc="http://purl.org/dc/elements/1.1/">         <dc:format>application/pdf</dc:format>         <dc:title>             <rdf:alt>                 <rdf:li xml:lang="x-default">pdf test</rdf:li>             </rdf:alt>         </dc:title>         <dc:creator>             <rdf:seq>                 <rdf:li>example creator</rdf:li>             </rdf:seq>         </dc:creator>         <dc:description>             <rdf:alt>                 <rdf:li xml:lang="x-default">example description</rdf:li>             </rdf:alt>         </dc:description>         <dc:subject>             <rdf:bag>                 <rdf:li></rdf:li>             </rdf:bag>         </dc:subject>     </rdf:description>     <rdf:description rdf:about="" xmlns:xmp="http://ns.adobe.com/xap/1.0/">         <xmp:createdate>2016-06-12t19:59:46+02:00</xmp:createdate>         <xmp:creatortool>example creator</xmp:creatortool>         <xmp:modifydate>2016-06-12t19:59:46+02:00</xmp:modifydate>         <xmp:metadatadate>2016-06-12t19:59:46+02:00</xmp:metadatadate>     </rdf:description>     <rdf:description rdf:about="" xmlns:pdf="http://ns.adobe.com/pdf/1.3/">         <pdf:keywords></pdf:keywords>         <pdf:producer>example producer</pdf:producer>     </rdf:description>     <rdf:description rdf:about="" xmlns:xmpmm="http://ns.adobe.com/xap/1.0/mm/">         <xmpmm:documentid>uuid:cf05125b-6fc5-54c8-0218-9e2394589e95</xmpmm:documentid>         <xmpmm:instanceid>uuid:cf05125b-6fc5-54c8-0218-9e2394589e95</xmpmm:instanceid>     </rdf:description>     <rdf:description rdf:about="" xmlns:pdfaid="http://www.aiim.org/pdfa/ns/id/">         <pdfaid:part>1</pdfaid:part>         <pdfaid:conformance>b</pdfaid:conformance>     </rdf:description>     <rdf:description rdf:about="" xmlns:pdfaextension="http://www.aiim.org/pdfa/ns/extension/" xmlns:pdfaschema="http://www.aiim.org/pdfa/ns/schema#" xmlns:pdfaproperty="http://www.aiim.org/pdfa/ns/property#">         <pdfaextension:schemas>             <rdf:bag>                 <rdf:li rdf:parsetype="resource">                     <pdfaschema:namespaceuri>http://ns.adobe.com/pdf/1.3/</pdfaschema:namespaceuri>                     <pdfaschema:prefix>pdf</pdfaschema:prefix>                     <pdfaschema:schema>adobe pdf schema</pdfaschema:schema>                      <pdfaschema:property>                         <rdf:seq>                             <rdf:li rdf:parsetype="resource">                                 <pdfaproperty:category>internal</pdfaproperty:category>                                 <pdfaproperty:description>a name object indicating whether document has been modified include trapping information</pdfaproperty:description>                                 <pdfaproperty:name>trapped</pdfaproperty:name>                                 <pdfaproperty:valuetype>text</pdfaproperty:valuetype>                             </rdf:li>                         </rdf:seq>                     </pdfaschema:property>                 </rdf:li>                 <rdf:li rdf:parsetype="resource">                     <pdfaschema:namespaceuri>http://ns.adobe.com/xap/1.0/mm/</pdfaschema:namespaceuri>                     <pdfaschema:prefix>xmpmm</pdfaschema:prefix>                     <pdfaschema:schema>xmp media management schema</pdfaschema:schema>                     <pdfaschema:property>                         <rdf:seq>                             <rdf:li rdf:parsetype="resource">                                 <pdfaproperty:category>internal</pdfaproperty:category>                                 <pdfaproperty:description>uuid based identifier specific incarnation of document</pdfaproperty:description>                                 <pdfaproperty:name>instanceid</pdfaproperty:name>                                 <pdfaproperty:valuetype>uri</pdfaproperty:valuetype>                             </rdf:li>                               <rdf:li rdf:parsetype="resource">                        <pdfaproperty:category>internal</pdfaproperty:category>                        <pdfaproperty:description>the common identifier versions , renditions of document.</pdfaproperty:description>                        <pdfaproperty:name>originaldocumentid</pdfaproperty:name>                        <pdfaproperty:valuetype>uri</pdfaproperty:valuetype>                     </rdf:li>                           </rdf:seq>                     </pdfaschema:property>                 </rdf:li>                 <rdf:li rdf:parsetype="resource">                     <pdfaschema:namespaceuri>http://www.aiim.org/pdfa/ns/id/</pdfaschema:namespaceuri>                     <pdfaschema:prefix>pdfaid</pdfaschema:prefix>                     <pdfaschema:schema>pdf/a id schema</pdfaschema:schema>                     <pdfaschema:property>                         <rdf:seq>                             <rdf:li rdf:parsetype="resource">                                 <pdfaproperty:category>internal</pdfaproperty:category>                                 <pdfaproperty:description>part of pdf/a standard</pdfaproperty:description>                                 <pdfaproperty:name>part</pdfaproperty:name>                                 <pdfaproperty:valuetype>integer</pdfaproperty:valuetype>                             </rdf:li>                             <rdf:li rdf:parsetype="resource">                                 <pdfaproperty:category>internal</pdfaproperty:category>                                 <pdfaproperty:description>amendment of pdf/a standard</pdfaproperty:description>                                 <pdfaproperty:name>amd</pdfaproperty:name>                                 <pdfaproperty:valuetype>text</pdfaproperty:valuetype>                             </rdf:li>                             <rdf:li rdf:parsetype="resource">                                 <pdfaproperty:category>internal</pdfaproperty:category>                                 <pdfaproperty:description>conformance level of pdf/a standard</pdfaproperty:description>                                 <pdfaproperty:name>conformance</pdfaproperty:name>                                 <pdfaproperty:valuetype>text</pdfaproperty:valuetype>                             </rdf:li>                         </rdf:seq>                     </pdfaschema:property>                 </rdf:li>             </rdf:bag>         </pdfaextension:schemas>     </rdf:description>  </rdf:rdf> 

how can fix errors? value missing? where?

thank you

it looks valuetype element may in wrong place or need additional valuetype elements @ root of element describes pdfaschema.

in example, have pdfaschema defined as

<rdf:li rdf:parsetype="resource">     <pdfaschema:namespaceuri>http://ns.adobe.com/pdf/1.3/</pdfaschema:namespaceuri>     <pdfaschema:prefix>pdf</pdfaschema:prefix>     <pdfaschema:schema>adobe pdf schema</pdfaschema:schema>      <pdfaschema:property>         <rdf:seq>             <rdf:li rdf:parsetype="resource">                 <pdfaproperty:category>internal</pdfaproperty:category>                 <pdfaproperty:description>a name object indicating whether document has been modified include trapping information</pdfaproperty:description>                 <pdfaproperty:name>trapped</pdfaproperty:name>                 <pdfaproperty:valuetype>text</pdfaproperty:valuetype>             </rdf:li>         </rdf:seq>     </pdfaschema:property> </rdf:li> 

inside rdf:li element (and other two), looks need additional pdfaschema:valuetype element. not sure correct specification though , acrobat not seem write out these additional elements when converting pdf/a.


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -