Use of invalid characters for XML tags in names of persistent variables

Is the use of invalid characters for XML tags in names of persistent variables problematic? For instance, could it lead to difficulties when trying to parse the XML later if such characters are used in the names of variables saved to disk, like p.e. when storing variables with path names?

Shouldn't matter, as far as I am aware at least. Invalid characters should be escaped automatically when saved into XML.


Thanks Leo. It seems that they're not escaped when saved.
Even though this doesn't seem to cause issues in Opus when reading the variable back, I wonder if it could cause any other type of problem in another context that I might have overlooked?

Probably best avoided there, although I don't think the XML parser we're using cares about it.