Incorporated '[WFLY-2900] Performance issue with Xalan transformer and
very large text nodes' reported by n1hility.