Software /
code /
verse
Changeset
21:00da62000b83
verse.client: Fixes for new xmlhandlers namespace seperator
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 01 Dec 2009 04:16:11 +0000 |
parents | 20:972066e06f4c |
children | 22:e6fad7c411fe |
files | client.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/client.lua Tue Dec 01 04:14:52 2009 +0000 +++ b/client.lua Tue Dec 01 04:16:11 2009 +0000 @@ -8,7 +8,7 @@ local xmlns_stream = "http://etherx.jabber.org/streams"; -local stream_callbacks = { stream_tag = xmlns_stream.."|stream", +local stream_callbacks = { stream_tag = xmlns_stream.."\1stream", default_ns = "jabber:client" }; function stream_callbacks.streamopened(stream, attr) @@ -33,7 +33,7 @@ local function reset_stream(stream) -- Reset stream - local parser = lxp.new(init_xmlhandlers(stream, stream_callbacks), "|"); + local parser = lxp.new(init_xmlhandlers(stream, stream_callbacks), "\1"); stream.parser = parser; stream.notopen = true;