[XML-SIG] Parsing Control Characters

Paul Prescod paul@prescod.net
Sun, 16 Jul 2000 20:11:54 -0500


Stephen Boyle wrote:
> 
> Hi,
> 
> I am trying to send keystrokes in the body of an XML Message, but the parser
> falls over whenever I send a Control Keys, such as <F1>.

Most control characters are simply disallowed in XML. Send them as two
characters:

["^","F"], ["^","G"] and so forth

-- 
 Paul Prescod - Not encumbered by corporate consensus
It's difficult to extract sense from strings, but they're the only
communication coin we can count on. 
	- http://www.cs.yale.edu/~perlis-alan/quotes.html