[jdev] My outgoing jabber packet
Anthony Ortiz
anthonypaulo at gmail.com
Fri Mar 11 22:18:39 CST 2005
Hahaha!! True, true... I thought about that briefly but I could not
find a single instance in the jabber specification where nested tags
with the same name occur... I think I even read somewhere that this
would never be the case, though now that you mention it you're raising
some old doubts again. If so, then I would definitely have to throw
out my regex parsing and use a stack mechanism instead since I don't
think regex can handle such a case. Anyone have any thoughts on
whether the jabber spec allows for such unruly contraptions?? :p
Anthony
On Fri, 11 Mar 2005 18:49:39 -0800, JD Conley <jd.conley at coversant.net> wrote:
> Don't forget:
>
> [Packet 1]
> <message>
> <message xmlns="mynamespace"></message>
> [/Packet 1]
>
> [Packet 2]
> </message>
> [/Packet 2]
>
> Throw that one at your RegEx. :)
>
> JD Conley
>
More information about the JDev
mailing list