[DEV] change default Instance
This commit is contained in:
parent
c7d2b2e871
commit
d97fe2efa7
@ -37,7 +37,7 @@ bool exml::Attribute::iParse(const std::string& _data, int32_t& _pos, bool _case
|
||||
}
|
||||
m_name = std::string(_data, _pos, lastElementName+1-(_pos));
|
||||
if (true == _caseSensitive) {
|
||||
m_name = std::tolower(m_name);
|
||||
m_name = etk::tolower(m_name);
|
||||
}
|
||||
// count white space :
|
||||
exml::filePos tmpPos;
|
||||
|
@ -145,7 +145,7 @@ void exml::Document::displayError() {
|
||||
|
||||
void exml::Document::createError(const std::string& _data, int32_t _pos, const exml::filePos& _filePos, const std::string& _comment) {
|
||||
m_comment = _comment;
|
||||
m_Line = extract_line(_data, _pos);
|
||||
m_Line = etk::extract_line(_data, _pos);
|
||||
m_filePos = _filePos;
|
||||
if (true == m_writeErrorWhenDetexted) {
|
||||
displayError();
|
||||
|
@ -225,7 +225,7 @@ bool exml::Element::subParse(const std::string& _data, int32_t& _pos, bool _case
|
||||
}
|
||||
std::string tmpname = std::string(_data, iii+white+2, endPosName+1-(iii+white+2));
|
||||
if (true == _caseSensitive) {
|
||||
tmpname = std::tolower(tmpname);
|
||||
tmpname = etk::tolower(tmpname);
|
||||
}
|
||||
// Find declaration balise
|
||||
exml::Declaration* declaration = new exml::Declaration(tmpname);
|
||||
@ -328,7 +328,7 @@ bool exml::Element::subParse(const std::string& _data, int32_t& _pos, bool _case
|
||||
}
|
||||
std::string tmpname = std::string(_data, iii+white+2, endPosName+1-(iii+white+2));
|
||||
if (true == _caseSensitive) {
|
||||
tmpname = std::tolower(tmpname);
|
||||
tmpname = etk::tolower(tmpname);
|
||||
}
|
||||
if( tmpname == m_value) {
|
||||
// find end of node :
|
||||
@ -379,7 +379,7 @@ bool exml::Element::subParse(const std::string& _data, int32_t& _pos, bool _case
|
||||
}
|
||||
std::string tmpname = std::string(_data, iii+white+1, endPosName+1-(iii+white+1));
|
||||
if (true == _caseSensitive) {
|
||||
std::tolower(tmpname);
|
||||
etk::tolower(tmpname);
|
||||
}
|
||||
//EXML_INFO("find node named : '" << tmpname << "'");
|
||||
// find text:
|
||||
|
Loading…
x
Reference in New Issue
Block a user