[JDEV] XML Requirements for Parsing Jabber Messages

Tony Cheung dragonman at asiayeah.com
Sat Nov 2 11:39:02 CST 2002


Hi All,

I would like to know if there is any specific requirement for parsing 
the Jabber messages? I would either make my own XML parser or use a 
third party XML parser.

Specifically,

1) Does the parser need to be multibyte aware? Can I transmit BIG5 
strings in the XML messages? Or should I only use unicode with UTF8 
encoding?

2) Is there any requirement for name entities?

3) Is there any requirement for handling DTDs?

4) Does Jabber require processing instruction?

5) What about XML comments or CDATA sections?

6) Do we need strict XML validation?

I understand Jabber wants Jabber clients to be extremely simply. But I 
think XML parsing is not a simple stuff alone, unless we are only using 
a subset of XML syntaxes or we simply use a full-blown XML parser.

Thank you very much. Any idea?

Best Regards,
Tony Cheung




More information about the JDev mailing list