textInChildNode should be documented as optional