mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-12-09 12:31:08 +01:00
[core] Fix parseContentDepthWithRoundtrip() and add tests
This commit is contained in:
parent
821bdf6d86
commit
ca497a2199
2 changed files with 38 additions and 3 deletions
|
|
@ -377,10 +377,9 @@ public class PacketParserUtils {
|
|||
outerloop: while (true) {
|
||||
switch (event) {
|
||||
case START_ELEMENT:
|
||||
if (startElementJustSeen) {
|
||||
sb.rightAngleBracket();
|
||||
}
|
||||
startElementJustSeen = true;
|
||||
String openElementTag = parser.getText();
|
||||
sb.append(openElementTag);
|
||||
break;
|
||||
case END_ELEMENT:
|
||||
boolean isEmptyElement = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue