fixing 1324 commit issue on tagged versions

SVN Revision: 1326
This commit is contained in:
Christophe Romain 2008-05-16 14:23:37 +00:00
parent 4613080337
commit 1ca2ba865e
1 changed files with 0 additions and 9 deletions

View File

@ -59,15 +59,6 @@ process_data(CallbackPid, Stack, Data) ->
case Stack of
[El] ->
[El];
%% Merge CDATA nodes if they are contiguous
%% This does not change the semantic: the split in
%% several CDATA nodes depends on the TCP/IP packet
%% fragmentation
[{xmlelement, Name, Attrs,
[{xmlcdata, PreviousCData}|Els]} | Tail] ->
[{xmlelement, Name, Attrs,
[{xmlcdata, concat_binary([PreviousCData, CData])} | Els]} | Tail];
%% No previous CDATA
[{xmlelement, Name, Attrs, Els} | Tail] ->
[{xmlelement, Name, Attrs, [{xmlcdata, CData} | Els]} |
Tail];