Skip to content

Commit 2d09880

Browse files
committed
Fix end tag matching for gml:interior
1 parent be512ba commit 2d09880

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,8 +400,8 @@ fn main() -> std::io::Result<()> {
400400
}
401401
}
402402
else if gmltoewkb {
403-
if gmlpos && (tag == "gml:posList") { gmlpos = false; }
404-
if gmlint && (tag == "gml:interior") { gmlint = false; }
403+
if gmlpos && (tag == "/gml:posList") { gmlpos = false; }
404+
if gmlint && (tag == "/gml:interior") { gmlint = false; }
405405
for i in 0..table.columns.len() {
406406
if path == table.columns[i].path {
407407
gmltoewkb = false;

0 commit comments

Comments
 (0)