3 Replies Latest reply: Sep 7, 2012 1:22 AM by petmal85 RSS

    XMP property neither predefined nor defined in extension schema

    petmal85 Community Member

      Hello.

       

      When I try to export a PDF/A-1b from a source PDF that also contains metadata from http://purl.org/dc/terms/ namespace, such as,

       

      <rdf:Description rdf:about="" xmlns:dcterms="http://purl.org/dc/terms/">

           <dcterms:alternative>Alternative Title</dcterms:alternative>

      </rdf:Description>

       

      I get an error saying that: "XMP property neither predefined nor defined in extension schema". At the moment I delete all dcterms elements the document exports correctly.

       

      What's wrong?

       

      Thanks.

        • 1. Re: XMP property neither predefined nor defined in extension schema
          PierrotRobert

          And how do you delete the uneeded elements ?

          • 2. Re: XMP property neither predefined nor defined in extension schema
            Dave Merchant CommunityMVP

            PDF/A only permits a subset of the XMP schema, if the document has anything else in it the standards check will fail. It's not Acrobat's fault, it's the way the ISO standard was written.

             

            In Acrobat Pro there's a preflight fixup called "Make document XMP Metadata compliant with PDF/A-1" that usually works, but it's not perfect. I have a feeling things will get better in future but right now the best option is to change the metadata before you try converting to PDF/A  (PDF properties > additional metadata > advanced) or edit it via an application such as Bridge.

            • 3. Re: XMP property neither predefined nor defined in extension schema
              petmal85 Community Member

              I finally managed to find a workaround which silences the error message! You can always define the "unknown" elements in an extension schema (see the example below) added to the metadata.

               

              <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://purl.org/dc/terms/</pdfaSchema:namespaceURI>

                          <pdfaSchema:prefix>dcterms</pdfaSchema:prefix>

                          <pdfaSchema:schema>Dublin Core Metadata Terms</pdfaSchema:schema>

                          <pdfaSchema:property>

                            <rdf:Seq>

                              <rdf:li rdf:parseType="Resource">

                                <pdfaProperty:category>external</pdfaProperty:category>

                                <pdfaProperty:description>An alternative name for the resource.</pdfaProperty:description>

                                <pdfaProperty:name>alternative</pdfaProperty:name>

                                <pdfaProperty:valueType>Text</pdfaProperty:valueType>

                              </rdf:li>

                              <rdf:li rdf:parseType="Resource">

                                <pdfaProperty:category>external</pdfaProperty:category>

                                <pdfaProperty:description>Date of submission of the resource.</pdfaProperty:description>

                                <pdfaProperty:name>dateSubmitted</pdfaProperty:name>

                                <pdfaProperty:valueType>Date</pdfaProperty:valueType>

                              </rdf:li>

                              <rdf:li rdf:parseType="Resource">

                                <pdfaProperty:category>external</pdfaProperty:category>

                                <pdfaProperty:description>A list of subunits of the resource.</pdfaProperty:description>

                                <pdfaProperty:name>tableOfContents</pdfaProperty:name>

                                <pdfaProperty:valueType>Seq Text</pdfaProperty:valueType>

                              </rdf:li>

                              <rdf:li rdf:parseType="Resource">

                                <pdfaProperty:category>external</pdfaProperty:category>

                                <pdfaProperty:description>A summary of the resource.</pdfaProperty:description>

                                <pdfaProperty:name>abstract</pdfaProperty:name>

                                <pdfaProperty:valueType>Text</pdfaProperty:valueType>

                              </rdf:li>

                              <rdf:li rdf:parseType="Resource">

                                <pdfaProperty:category>external</pdfaProperty:category>

                                <pdfaProperty:description>A related resource that is referenced, cited, or otherwise pointed to by the described resource.</pdfaProperty:description>

                                <pdfaProperty:name>references</pdfaProperty:name>

                                <pdfaProperty:valueType>Bag Text</pdfaProperty:valueType>

                              </rdf:li>

                              <rdf:li rdf:parseType="Resource">

                                <pdfaProperty:category>external</pdfaProperty:category>

                                <pdfaProperty:description>A person or organization owning or managing rights over the resource.</pdfaProperty:description>

                                <pdfaProperty:name>rightsholder</pdfaProperty:name>

                                <pdfaProperty:valueType>Text</pdfaProperty:valueType>

                              </rdf:li>

                              <rdf:li rdf:parseType="Resource">

                                <pdfaProperty:category>external</pdfaProperty:category>

                                <pdfaProperty:description>A class of entity for whom the resource is intended or useful.</pdfaProperty:description>

                                <pdfaProperty:name>audience</pdfaProperty:name>

                                <pdfaProperty:valueType>Text</pdfaProperty:valueType>

                              </rdf:li>

                              <rdf:li rdf:parseType="Resource">

                                <pdfaProperty:category>external</pdfaProperty:category>

                                <pdfaProperty:description>A class of entity, defined in terms of progression through an educational or training context, for which the described resource is intended.</pdfaProperty:description>

                                <pdfaProperty:name>educationlevel</pdfaProperty:name>

                                <pdfaProperty:valueType>Text</pdfaProperty:valueType>

                              </rdf:li>

                              <rdf:li rdf:parseType="Resource">

                                <pdfaProperty:category>external</pdfaProperty:category>

                                <pdfaProperty:description>The size or duration of the resource.</pdfaProperty:description>

                                <pdfaProperty:name>extent</pdfaProperty:name>

                                <pdfaProperty:valueType>Bag Text</pdfaProperty:valueType>

                              </rdf:li>

                            </rdf:Seq>

                          </pdfaSchema:property>

                        </rdf:li>

                      </rdf:Bag>

                    </pdfaExtension:schemas>

                  </rdf:Description>