adds a verification that TTML document conforms to timing and structural constraints