开发者

XML encoding for '#'

开发者 https://www.devze.com 2023-03-26 11:12 出处:网络
I\'m trying to configure this in spring/camel xml: <c:from uri=\"mina:upd://localhost:6060?codec=#myCodec&amp;sync=false\" />

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

精彩评论

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