> 2009/9/28 Thorbjørn Ravn Andersen <
thorbjo...@gmail.com>:
>
>
>
>
>
> > I have a situation where I would like to push Java objects serialized
> > to XML across a cometd channel between two Java instances.
>
> > I have tried stripping the chat demo down to a simple program with a
> > MessageListener subscribing to a channel, and a sender routine. I
> > put the above XML string in a map and publish it. I get a map up in
> > the MessageLIstener with the proper key, but the value contains <
> > > and & instead of < > and &. This naturally causes the XML
> > deserialization to fail.
>
> > The full description with code snippets is on
> >
http://stackoverflow.com/questions/1487126/proper-way-to-decode-respo...
>
> > I would like to know if I found a bug in the Java client or if I am
> > intended to decode the <, > and &'s myself? The libraries used is the
> > rc0 distribution.
>
> Please check that you're not using json filters: check for
> WEB-INF/filters.json that does a bunch of default conversions, among
> which the NoMarkupFilter.
It turned out I was not talking to the cometd web application I
thought I was, but to an earlier deployment of the chat room demo
server war, and _that_ used the NoMarkupFilter. Bummer :)
Thank you! That was a great help.
/Thorbjørn