Seems that they fixed it - On my System (v17.1) it also works with XML(...)
Is there some explanation about the differences between Text and XML?
It could make a difference for
is valid()
But I just checked it by destroying the XML syntax a bit and it was still "valid" for the xml(...) case ...
So, actually I don't know what is checked by IsValid()