danielgary / xmlrpcnet

Automatically exported from code.google.com/p/xmlrpcnet
0 stars 0 forks source link

Some option for XML illegal characters #100

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be nice if there were some way to deal with XML illegal characters, so 
that XML-RPC could be used reliably for any valid Unicode string.

For example, a while back when communicating with a PHP service I discovered 
(to my dismay) that characters like BEL and others low on the ASCII scale can 
in fact not be received.

It would be nice if there were a good workaround for this kind of thing, or 
just some way to make these characters not illegal. In the case of XML-RPC it 
is quite important because it means you cannot reliably use XML-RPC to 
communicate with a back-end service if the front-end accepts any valid Unicode 
user data.

Original issue reported on code.google.com by xoc...@gmail.com on 5 Dec 2011 at 1:48

GoogleCodeExporter commented 9 years ago
The PHP service is generating illegal XML and so is not compliant with the 
XML-RPC protocol. 

XML-RPC.NET uses .NET Framework classes for handling XML and so there is no way 
of adding support for illegal Unicode characters such as control characters. 

Original comment by ChasC...@gmail.com on 6 Dec 2011 at 3:36