开发者

XML encoding for '#'

I'm trying to configure this in spring/camel xml:

<c:from uri="mina:upd://localhost:6060?codec=#myCodec&amp;sync=false" />

so i get this excpetion

Unrecognised MINA protocol: upd for uri: mina://upd://localhost:6060?codec=%23myCodec&sync=false

See: %23

I already tried &#23; and &#x23开发者_如何转开发; but it does not work.

Obs: My file is UTF-8 and i declare

<?xml version="1.0" encoding="UTF-8"?>

Any idea?


The protocol should be "udp" I think.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜