On Thu Oct 23 19:58:32 2008, Sergei Golovan wrote:
On Thu, Oct 23, 2008 at 10:38 PM, Curtis King <[EMAIL PROTECTED]>
wrote:
>
> One the of the big strength of the xmpp model is that servers can
route and
> do all the heavy lifting for the business rules, etc by just
parse the outer
> parts of the xml stanza.
XML is such a wondeful language where you can't recognize the outer
part of the stanza without entirely parsing it. So, server has to
parse every byte it receives.
Wrong.
You have to lex, and that's all.
You need to parse, build lookup tables, maintain them dependent on
the document model, and all sort to detect undeclared namespace
prefixes, though. Hence this entire thread, essentially.
Dave.
--
Dave Cridland - mailto:[EMAIL PROTECTED] - xmpp:[EMAIL PROTECTED]
- acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
- http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade