projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MUC: Include the very last message in serialized form to keep it across eviction...
[prosody.git]
/
fallbacks
/
lxp.lua
diff --git
a/fallbacks/lxp.lua
b/fallbacks/lxp.lua
index 6d3297d1559983b19e0da7edc76ac594b26734ce..ac1c9a03d2ba6889be98b303b9fc9700d7f9770a 100644
(file)
--- a/
fallbacks/lxp.lua
+++ b/
fallbacks/lxp.lua
@@
-61,7
+61,7
@@
local function parser(data, handlers, ns_separator)
while #data == 0 do data = coroutine.yield(); end
return data:sub(1,1);
end
while #data == 0 do data = coroutine.yield(); end
return data:sub(1,1);
end
-
+
local ns = { xml = "http://www.w3.org/XML/1998/namespace" };
ns.__index = ns;
local function apply_ns(name, dodefault)
local ns = { xml = "http://www.w3.org/XML/1998/namespace" };
ns.__index = ns;
local function apply_ns(name, dodefault)
@@
-100,7
+100,7
@@
local function parser(data, handlers, ns_separator)
ns = getmetatable(ns);
return tag;
end
ns = getmetatable(ns);
return tag;
end
-
+
while true do
if peek() == "<" then
local elem = read_until(">"):sub(2,-2);
while true do
if peek() == "<" then
local elem = read_until(">"):sub(2,-2);