[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xmlblaster] problems with \n in publish key



Michael Atighetchi wrote:

My application adds certificates and sigital signatures to the
MsgKeyData on the publishing side and retries these entries on a
subscribing client.


Now, certificats contain \n characters when being published, and I
noticed that upon being delivered to a subscriber, all \n are replaced
with whitespaces (although I use CDATA . see below). Is there a way to
preserve entries that contain \n in MsgKeyData ?

Hmm, i have to investigate myself about this issue, i don't know where they are lost,

Marcel


--- String id is being passed to PublishKey.setClientTags () -----

String id = " <io_identifier> "+
" <type name='"+typename_+"'></type> "+
" <version number='"+version_+"'></version> "+
" </io_identifier> " +
" <![CDATA["+
" <io_signatures> "+
" <certificate cert='"+cert+"'></certificate> "+
" <metadata signature='"+SecurityComponent.signatureToString(meta_sig)+"'></metadata> " +
" <payload signature='"+SecurityComponent.signatureToString(payload_sig)+"'></payload> " +
" <sigsig signature='"+SecurityComponent.signatureToString(sigsig_sig)+"'></sigsig> " +
" </io_signatures> "+
" ]]>";