As it's the project file you're talking about, not the config file, the ConfigManager is not used.
However, the question remains why an empty xml tag should be invalid or should invalidate any other tags, or why one has to look at the project file's xml in the first place...