From 1bd950fef558101d7e8080629b7e6c1d86fd0fe9 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Fri, 4 Aug 2017 22:19:34 -0400 Subject: [PATCH] [XML] Make searches for child nodes case insensitive --- src/base/xml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/xml.cpp b/src/base/xml.cpp index fed7a9510..6705ee7b5 100644 --- a/src/base/xml.cpp +++ b/src/base/xml.cpp @@ -865,7 +865,7 @@ std::vector XML_Node::getChildren(const std::string& nm) const { std::vector children_; for (size_t i = 0; i < nChildren(); i++) { - if (child(i).name() == nm) { + if (ba::iequals(child(i).name(), nm)) { children_.push_back(&child(i)); } }