diff -r e0f20546cd68 -r 40e443eacbbd core/xmlhandlers.lua --- a/core/xmlhandlers.lua Thu Oct 23 18:43:00 2008 +0100 +++ b/core/xmlhandlers.lua Fri Oct 24 07:34:13 2008 +0100 @@ -3,6 +3,10 @@ local st = stanza; local tostring = tostring; +local pairs = pairs; +local ipairs = ipairs; +local type = type; +local print = print; local format = string.format; local m_random = math.random; local t_insert = table.insert; @@ -15,6 +19,10 @@ module "xmlhandlers" +local ns_prefixes = { + ["http://www.w3.org/XML/1998/namespace"] = "xml"; + } + function init_xmlhandlers(session, streamopened) local ns_stack = { "" }; local curr_ns = "";