I had tought about that some months. `DomDocument` can test xml schema's, but it has not a very good support. I need to take a further look in the Config component to see if we can test these things