[DEV] update typo toUpper toLower

This commit is contained in:
Edouard DUPIN 2018-04-05 21:31:30 +02:00
parent 018dab1e2e
commit ec1b6f5318
2 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@ bool exml::internal::Attribute::iParse(const etk::String& _data, int32_t& _pos,
}
m_name = etk::String(_data, _pos, lastElementName+1-(_pos));
if (_caseSensitive == true) {
m_name = etk::tolower(m_name);
m_name = etk::toLower(m_name);
}
// count white space :
exml::FilePos tmpPos;

View File

@ -232,7 +232,7 @@ bool exml::internal::Element::subParse(const etk::String& _data, int32_t& _pos,
}
etk::String tmpname = etk::String(_data, iii+white+2, endPosName+1-(iii+white+2));
if (_caseSensitive == true) {
tmpname = etk::tolower(tmpname);
tmpname = etk::toLower(tmpname);
}
// Find declaration balise
ememory::SharedPtr<exml::internal::Declaration> declaration = exml::internal::Declaration::create(tmpname);
@ -331,7 +331,7 @@ bool exml::internal::Element::subParse(const etk::String& _data, int32_t& _pos,
}
etk::String tmpname = etk::String(_data, iii+white+2, endPosName+1-(iii+white+2));
if (_caseSensitive == true) {
tmpname = etk::tolower(tmpname);
tmpname = etk::toLower(tmpname);
}
if( tmpname == m_value) {
// find end of node :
@ -382,7 +382,7 @@ bool exml::internal::Element::subParse(const etk::String& _data, int32_t& _pos,
}
etk::String tmpname = etk::String(_data, iii+white+1, endPosName+1-(iii+white+1));
if (_caseSensitive == true) {
etk::tolower(tmpname);
etk::toLower(tmpname);
}
//EXML_INFO("find node named : '" << tmpname << "'");
// find text: