Mercurial > prosody-hg
comparison util/xmppstream.lua @ 4283:ffaaa3fd3189
Merge 0.8->trunk
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Thu, 02 Jun 2011 00:26:48 +0100 |
| parents | 9808e2b32aa5 f5a46b73432b |
| children | aaa06e68a9e4 |
comparison
equal
deleted
inserted
replaced
| 4279:9808e2b32aa5 | 4283:ffaaa3fd3189 |
|---|---|
| 174 | 174 |
| 175 if lxp_supports_doctype then | 175 if lxp_supports_doctype then |
| 176 xml_handlers.StartDoctypeDecl = restricted_handler; | 176 xml_handlers.StartDoctypeDecl = restricted_handler; |
| 177 end | 177 end |
| 178 xml_handlers.Comment = restricted_handler; | 178 xml_handlers.Comment = restricted_handler; |
| 179 xml_handlers.StartCdataSection = restricted_handler; | |
| 180 xml_handlers.ProcessingInstruction = restricted_handler; | 179 xml_handlers.ProcessingInstruction = restricted_handler; |
| 181 | 180 |
| 182 local function reset() | 181 local function reset() |
| 183 stanza, chardata = nil, {}; | 182 stanza, chardata = nil, {}; |
| 184 stack = {}; | 183 stack = {}; |
