I'am trying to add comment inside the document, at the begining of document and when coment reach some amount of bits it is not loaded at all.

After some time of reviewing, I found a problematic method Configuration::IsValidConfigFile it peeks only small portion of configuration file and that portion may not cover important tags like root, shell, or menu.

I thinking maybe it would be better to do check with XML parse tools?
I'am trying to add comment inside the document, at the begining of document and when coment reach some amount of bits it is not loaded at all.
After some time of reviewing, I found a problematic method Configuration::IsValidConfigFile it peeks only small portion of configuration file and that portion may not cover important tags like
root,shell, ormenu.I thinking maybe it would be better to do check with XML parse tools?