We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 335e287 commit 44aabddCopy full SHA for 44aabdd
DOM/Sources/Parser.XML.Path.swift
@@ -50,6 +50,7 @@ package extension XMLParser {
50
}
51
52
func parsePathSegments(_ data: String) throws -> [Segment] {
53
+ guard !data.isEmpty else { return [] }
54
55
var segments = Array<Segment>()
56
0 commit comments