Software /
code /
prosody
Diff
util/xml.lua @ 12121:2162e86029b6
util.xml: Use variable instead of constant for consistency (thanks Thijs)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 26 Dec 2021 20:37:20 +0000 |
parent | 11127:1d9cd1abc660 |
child | 12180:53e0ae770917 |
line wrap: on
line diff
--- a/util/xml.lua Sun Dec 26 00:05:16 2021 +0100 +++ b/util/xml.lua Sun Dec 26 20:37:20 2021 +0000 @@ -64,7 +64,7 @@ function handler:EndElement() stanza:up(); end - local parser = lxp.new(handler, "\1"); + local parser = lxp.new(handler, ns_separator); local ok, err, line, col = parser:parse(xml); if ok then ok, err, line, col = parser:parse(); end --parser:close();