PDF Accessibility | 'Title - Failed' Error in Acrobat Pro while generating PDF using XSL-FO












0















I am generating a PDF document from an XML using XSL template in Apache FOP API. My applications requires the PDF documents to be generated dynamically.



Despite of adding the title (code snippet below), I am getting 'Title - Failed' error when checked for Accessibility (full check) in Adobe Acrobat Pro 11.



<fo:declarations>
<x:xmpmeta xmlns:x="adobe:ns:meta/">
<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/">
<!-- Dublin Core properties go here -->
<dc:title>Document title</dc:title>
<dc:creator>Document author</dc:creator>
<dc:description>Document subject</dc:description>
</rdf:Description>
<rdf:Description rdf:about=""
xmlns:xmp="http://ns.adobe.com/xap/1.0/">
<!-- XMP properties go here -->
<xmp:CreatorTool>Tool used to make the PDF</xmp:CreatorTool>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>
</fo:declarations>









share|improve this question























  • Which FOP version are you using? Is your fo:declarations between your fo:layout-master-set and the first fo:page-sequence?

    – Tony Graham
    Jan 21 '16 at 14:09











  • FOP version 1.1 & yes, I am putting the declaration between the tag blocks mentioned by you.

    – kek
    Jan 22 '16 at 5:01













  • I'm out of ideas, since the only information that I have is xmlgraphics.apache.org/fop/1.1/metadata.html, and you seem to be working from that, too.

    – Tony Graham
    Jan 22 '16 at 8:15











  • Now I am using FOP 2.0, but still no luck with Title-Failing error. :-(

    – kek
    Jan 28 '16 at 14:45
















0















I am generating a PDF document from an XML using XSL template in Apache FOP API. My applications requires the PDF documents to be generated dynamically.



Despite of adding the title (code snippet below), I am getting 'Title - Failed' error when checked for Accessibility (full check) in Adobe Acrobat Pro 11.



<fo:declarations>
<x:xmpmeta xmlns:x="adobe:ns:meta/">
<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/">
<!-- Dublin Core properties go here -->
<dc:title>Document title</dc:title>
<dc:creator>Document author</dc:creator>
<dc:description>Document subject</dc:description>
</rdf:Description>
<rdf:Description rdf:about=""
xmlns:xmp="http://ns.adobe.com/xap/1.0/">
<!-- XMP properties go here -->
<xmp:CreatorTool>Tool used to make the PDF</xmp:CreatorTool>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>
</fo:declarations>









share|improve this question























  • Which FOP version are you using? Is your fo:declarations between your fo:layout-master-set and the first fo:page-sequence?

    – Tony Graham
    Jan 21 '16 at 14:09











  • FOP version 1.1 & yes, I am putting the declaration between the tag blocks mentioned by you.

    – kek
    Jan 22 '16 at 5:01













  • I'm out of ideas, since the only information that I have is xmlgraphics.apache.org/fop/1.1/metadata.html, and you seem to be working from that, too.

    – Tony Graham
    Jan 22 '16 at 8:15











  • Now I am using FOP 2.0, but still no luck with Title-Failing error. :-(

    – kek
    Jan 28 '16 at 14:45














0












0








0








I am generating a PDF document from an XML using XSL template in Apache FOP API. My applications requires the PDF documents to be generated dynamically.



Despite of adding the title (code snippet below), I am getting 'Title - Failed' error when checked for Accessibility (full check) in Adobe Acrobat Pro 11.



<fo:declarations>
<x:xmpmeta xmlns:x="adobe:ns:meta/">
<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/">
<!-- Dublin Core properties go here -->
<dc:title>Document title</dc:title>
<dc:creator>Document author</dc:creator>
<dc:description>Document subject</dc:description>
</rdf:Description>
<rdf:Description rdf:about=""
xmlns:xmp="http://ns.adobe.com/xap/1.0/">
<!-- XMP properties go here -->
<xmp:CreatorTool>Tool used to make the PDF</xmp:CreatorTool>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>
</fo:declarations>









share|improve this question














I am generating a PDF document from an XML using XSL template in Apache FOP API. My applications requires the PDF documents to be generated dynamically.



Despite of adding the title (code snippet below), I am getting 'Title - Failed' error when checked for Accessibility (full check) in Adobe Acrobat Pro 11.



<fo:declarations>
<x:xmpmeta xmlns:x="adobe:ns:meta/">
<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/">
<!-- Dublin Core properties go here -->
<dc:title>Document title</dc:title>
<dc:creator>Document author</dc:creator>
<dc:description>Document subject</dc:description>
</rdf:Description>
<rdf:Description rdf:about=""
xmlns:xmp="http://ns.adobe.com/xap/1.0/">
<!-- XMP properties go here -->
<xmp:CreatorTool>Tool used to make the PDF</xmp:CreatorTool>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>
</fo:declarations>






xsl-fo






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 21 '16 at 11:57









kekkek

133




133













  • Which FOP version are you using? Is your fo:declarations between your fo:layout-master-set and the first fo:page-sequence?

    – Tony Graham
    Jan 21 '16 at 14:09











  • FOP version 1.1 & yes, I am putting the declaration between the tag blocks mentioned by you.

    – kek
    Jan 22 '16 at 5:01













  • I'm out of ideas, since the only information that I have is xmlgraphics.apache.org/fop/1.1/metadata.html, and you seem to be working from that, too.

    – Tony Graham
    Jan 22 '16 at 8:15











  • Now I am using FOP 2.0, but still no luck with Title-Failing error. :-(

    – kek
    Jan 28 '16 at 14:45



















  • Which FOP version are you using? Is your fo:declarations between your fo:layout-master-set and the first fo:page-sequence?

    – Tony Graham
    Jan 21 '16 at 14:09











  • FOP version 1.1 & yes, I am putting the declaration between the tag blocks mentioned by you.

    – kek
    Jan 22 '16 at 5:01













  • I'm out of ideas, since the only information that I have is xmlgraphics.apache.org/fop/1.1/metadata.html, and you seem to be working from that, too.

    – Tony Graham
    Jan 22 '16 at 8:15











  • Now I am using FOP 2.0, but still no luck with Title-Failing error. :-(

    – kek
    Jan 28 '16 at 14:45

















Which FOP version are you using? Is your fo:declarations between your fo:layout-master-set and the first fo:page-sequence?

– Tony Graham
Jan 21 '16 at 14:09





Which FOP version are you using? Is your fo:declarations between your fo:layout-master-set and the first fo:page-sequence?

– Tony Graham
Jan 21 '16 at 14:09













FOP version 1.1 & yes, I am putting the declaration between the tag blocks mentioned by you.

– kek
Jan 22 '16 at 5:01







FOP version 1.1 & yes, I am putting the declaration between the tag blocks mentioned by you.

– kek
Jan 22 '16 at 5:01















I'm out of ideas, since the only information that I have is xmlgraphics.apache.org/fop/1.1/metadata.html, and you seem to be working from that, too.

– Tony Graham
Jan 22 '16 at 8:15





I'm out of ideas, since the only information that I have is xmlgraphics.apache.org/fop/1.1/metadata.html, and you seem to be working from that, too.

– Tony Graham
Jan 22 '16 at 8:15













Now I am using FOP 2.0, but still no luck with Title-Failing error. :-(

– kek
Jan 28 '16 at 14:45





Now I am using FOP 2.0, but still no luck with Title-Failing error. :-(

– kek
Jan 28 '16 at 14:45












2 Answers
2






active

oldest

votes


















0














In Adobe Acrobat If I go to File --> Properties --> Initial View --> Select 'Document Title' in Show, the error is fixed. But I am not able to find anything to do the same thing programmatically, neither in XSL template nor in java code.






share|improve this answer































    0














    It looks like this issue has been fixed, probably in version 2.1. I just upgraded to FOP 2.2 after having this same issue while using version 1.1, and I'm pleased to report that everything works as expected now after opening a dynamically-generated PDF-UA file with Adobe Acrobat XI Pro.






    share|improve this answer























      Your Answer






      StackExchange.ifUsing("editor", function () {
      StackExchange.using("externalEditor", function () {
      StackExchange.using("snippets", function () {
      StackExchange.snippets.init();
      });
      });
      }, "code-snippets");

      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "1"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f34923188%2fpdf-accessibility-title-failed-error-in-acrobat-pro-while-generating-pdf-u%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      In Adobe Acrobat If I go to File --> Properties --> Initial View --> Select 'Document Title' in Show, the error is fixed. But I am not able to find anything to do the same thing programmatically, neither in XSL template nor in java code.






      share|improve this answer




























        0














        In Adobe Acrobat If I go to File --> Properties --> Initial View --> Select 'Document Title' in Show, the error is fixed. But I am not able to find anything to do the same thing programmatically, neither in XSL template nor in java code.






        share|improve this answer


























          0












          0








          0







          In Adobe Acrobat If I go to File --> Properties --> Initial View --> Select 'Document Title' in Show, the error is fixed. But I am not able to find anything to do the same thing programmatically, neither in XSL template nor in java code.






          share|improve this answer













          In Adobe Acrobat If I go to File --> Properties --> Initial View --> Select 'Document Title' in Show, the error is fixed. But I am not able to find anything to do the same thing programmatically, neither in XSL template nor in java code.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 28 '16 at 14:49









          kekkek

          133




          133

























              0














              It looks like this issue has been fixed, probably in version 2.1. I just upgraded to FOP 2.2 after having this same issue while using version 1.1, and I'm pleased to report that everything works as expected now after opening a dynamically-generated PDF-UA file with Adobe Acrobat XI Pro.






              share|improve this answer




























                0














                It looks like this issue has been fixed, probably in version 2.1. I just upgraded to FOP 2.2 after having this same issue while using version 1.1, and I'm pleased to report that everything works as expected now after opening a dynamically-generated PDF-UA file with Adobe Acrobat XI Pro.






                share|improve this answer


























                  0












                  0








                  0







                  It looks like this issue has been fixed, probably in version 2.1. I just upgraded to FOP 2.2 after having this same issue while using version 1.1, and I'm pleased to report that everything works as expected now after opening a dynamically-generated PDF-UA file with Adobe Acrobat XI Pro.






                  share|improve this answer













                  It looks like this issue has been fixed, probably in version 2.1. I just upgraded to FOP 2.2 after having this same issue while using version 1.1, and I'm pleased to report that everything works as expected now after opening a dynamically-generated PDF-UA file with Adobe Acrobat XI Pro.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jan 21 '18 at 15:55









                  Mark CusterMark Custer

                  82




                  82






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Stack Overflow!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f34923188%2fpdf-accessibility-title-failed-error-in-acrobat-pro-while-generating-pdf-u%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Futebolista

                      Feedback on college project

                      Albești (Vaslui)