XML defines the list of valid characters to be:
   #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]

Which of the following should an IM application perform if the user
(attempts to) enter characters outside of this range?

1) Reject the entry at the UI level - have to check both keypresses,
and clipboard paste
2) UI should filter invalid chars before sending data to xmpp object layer
3) xmpp object layer should filter/reject data
4) xmpp stream layer should filter/reject xmpp object

Also any ideas on the quickest way to perform these operations would
be welcomed.

Thanks

Norman

-- 
- Norman Rasmussen
 - Email: [EMAIL PROTECTED]
 - Home page: http://norman.rasmussen.co.za/

Reply via email to