On Sat, Sep 27, 2008 at 5:06 PM, Norman Rasmussen <[EMAIL PROTECTED]> wrote: > If I ever had to write my own xmpp parser, I would use a SAX like parser to > isolate the elements from the input stream, so I knew that they were well > formed, and then I would put them into a fake XML document using the stream > element. i.e. use the stream stanza from the opening of the stream - that > way you get the namespace declarations right for free and element.parent is > 'valid'.
I was actually thinking very seriously of doing this. -- rakaur _______________________________________________ JDev mailing list FAQ: http://www.jabber.org/discussion-lists/jdev-faq Forum: http://www.jabberforum.org/forumdisplay.php?f=20 Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [EMAIL PROTECTED] _______________________________________________
