# HG changeset patch # User Matthew Wild # Date 1291749545 0 # Node ID 2dcb86c7cee795ed9e0078c1ad7b4c37d296caac # Parent 79f62694d36e7c9d398736f9910387cf1ea558b8 util.xmppstream: Expose ns_separator and ns_pattern diff -r 79f62694d36e -r 2dcb86c7cee7 util/xmppstream.lua --- a/util/xmppstream.lua Tue Dec 07 18:38:22 2010 +0000 +++ b/util/xmppstream.lua Tue Dec 07 19:19:05 2010 +0000 @@ -31,6 +31,9 @@ local ns_separator = "\1"; local ns_pattern = "^([^"..ns_separator.."]*)"..ns_separator.."?(.*)$"; +_M.ns_separator = ns_separator; +_M.ns_pattern = ns_pattern; + function new_sax_handlers(session, stream_callbacks) local xml_handlers = {};