mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
Add the {autoload_known, true} flag to the XML parser options. This
allows modules to extend the known nss/names/attrs with their own data. SVN Revision: 1584
This commit is contained in:
parent
da034b3090
commit
5f7e16eac3
@ -22,6 +22,10 @@
|
||||
* src/mod_roster.erl (push_item), src/mod_roster_odbc.erl (push_item):
|
||||
Fix a bug in #xmlel construction: children must be a list.
|
||||
|
||||
* src/ejabberd_receiver.erl: Add the {autoload_known, true} flag to
|
||||
the XML parser options. This allows modules to extend the known
|
||||
nss/names/attrs with their own data.
|
||||
|
||||
2008-09-25 Jean-Sébastien Pédron <js.pedron@meetic-corp.com>
|
||||
|
||||
* src/jlib.erl (timestamp_to_xml): Create an #xmlel element, not an
|
||||
|
@ -163,6 +163,7 @@ handle_call({become_controller, C2SPid}, _From, State) ->
|
||||
Parser = exmpp_xml:start_parser([
|
||||
{namespace, true},
|
||||
{name_as_atom, true},
|
||||
{autoload_known, true},
|
||||
{maxsize, State#state.max_stanza_size}
|
||||
]),
|
||||
XMLStreamState = exmpp_xmlstream:start(
|
||||
|
Loading…
Reference in New Issue
Block a user