fix(serialize-xml): Prevent unexpected dots in NativeXmlReader.getPath
This commit is contained in:
parent
a1b0df3caa
commit
bf5506d1d0
|
@ -700,9 +700,9 @@ public class NativeXmlReader implements Closeable {
|
|||
case XmlScope.TAG_BODY:
|
||||
case XmlScope.DANGLING_NAME:
|
||||
case XmlScope.NONEMPTY_DOCUMENT:
|
||||
if (first) first = false;
|
||||
else result.append('.');
|
||||
if (pathNames[i] != null) {
|
||||
if (first) first = false;
|
||||
else result.append('.');
|
||||
result.append(pathNames[i]);
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue