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

[xmlblaster] problems with \n in publish key



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 ?

--- 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> "+
	    " ]]>";
	
-- 
matighet at bbn.com   BBN Technologies