Using the correct BC version is a good starting point. But the xml
parser is not part of BC ...

Greetings,

Andreas
> Hi,
>
>
> I'll try to sign the PDF later, but iText 5.5.2 uses BC 1.49:
> http://sourceforge.net/p/itext/code/HEAD/tree/trunk/itext/pom.xml#l244
>
> Could you try the 1.49 dependency?
>
> Kind regards,
> Michaël.
>
>
> Valentin Ts. Ivanov schreef op 7/08/2014 12:03:
>> Hi,
>>
>> I use iText5.5.2 and BC1.51 and I found out that I can’t sign some pdf
>> files in Java. I have attached ok.pdf (I sign it successfully) and
>> nok.pdf with the exception on signing :
>>
>> java.lang.AbstractMethodError:
>> javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V
>>
>>         at
>> com.itextpdf.xmp.impl.XMPMetaParser.createDocumentBuilderFactory(_XMPMetaParser.java:423_)
>>
>>         at
>> com.itextpdf.xmp.impl.XMPMetaParser.<clinit>(_XMPMetaParser.java:71_)
>>
>>         at
>> com.itextpdf.xmp.XMPMetaFactory.parseFromBuffer(_XMPMetaFactory.java:167_)
>>
>>         at
>> com.itextpdf.xmp.XMPMetaFactory.parseFromBuffer(_XMPMetaFactory.java:153_)
>>
>>         at
>> com.itextpdf.text.pdf.PdfStamperImp.close(_PdfStamperImp.java:337_)
>>
>>         at
>> com.itextpdf.text.pdf.PdfSignatureAppearance.preClose(_PdfSignatureAppearance.java:1315_)
>>
>>         at
>> com.itextpdf.text.pdf.security.MakeSignature.signDetached(_MakeSignature.java:140_)
>>
>>         at org.btrust.signer.PDFSigner.initSignPDF(_PDFSigner.java:546_)
>>
>> Until now I have used iText5.4.2 and BC1.49 –and had no problems with
>> signig.
>>
>> What could be the reason for that? Can someone try to sign the nok.pdf file?
>>
>> Best Regards
>>
>> Valentin Ivanov
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Infragistics Professional
>> Build stunning WinForms apps today!
>> Reboot your WinForms applications with our WinForms controls.
>> Build a bridge from your legacy apps to the future.
>> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
>>
>>
>>
>> _______________________________________________
>> iText-questions mailing list
>> iText-questions@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/itext-questions
>>
>> iText(R) is a registered trademark of 1T3XT BVBA.
>> Many questions posted to this list can (and will) be answered with a 
>> reference to the iText book: http://www.itextpdf.com/book/
>> Please check the keywords list before you ask for examples: 
>> http://itextpdf.com/themes/keywords.php
>>
>
> ------------------------------------------------------------------------------
> Infragistics Professional
> Build stunning WinForms apps today!
> Reboot your WinForms applications with our WinForms controls. 
> Build a bridge from your legacy apps to the future.
> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> iText(R) is a registered trademark of 1T3XT BVBA.
> Many questions posted to this list can (and will) be answered with a 
> reference to the iText book: http://www.itextpdf.com/book/
> Please check the keywords list before you ask for examples: 
> http://itextpdf.com/themes/keywords.php
>


-- 
Andreas Kühne 
phone: +49 177 293 24 97 
mailto: kue...@trustable.de

Trustable Ltd. Niederlassung Deutschland Ströverstr. 18 - 59427 Unna 
Amtsgericht Hamm HRB 5868

Directors Andreas Kühne, Heiko Veit

Company UK Company No: 5218868 Registered in England and Wales 


------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to