000019333 - 'Error in parsing: File 'file:///C:/xmldsig-core-schema.dtd' not found.' in RSA BSAFE Cert-J when creating XML signature

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000019333
Applies ToRSA BSAFE Cert-J 2.0.1
Issue"Error in parsing: File "file:///C:/xmldsig-core-schema.dtd" not found." in RSA BSAFE Cert-J when creating XML signature
CauseRSA BSAFE Cert-J puts a DTD (Document Type Declaration) in any generated XML Signatures.  Many XML signature implementations might want to DTD validate the <ds:Signature> element.
ResolutionYou can turn off the inclusion of the document type declaration by setting ParserHandler.DTD_LOCATION to "null". To include the declaration but change the location, you can set ParserHandler.DTD_LOCATION="<foo>" where <foo> is the directory location of the xmldsig-core-schema.dtd file.
Legacy Article IDa7604