Good day, has anyone tried validating a xml/html template for PDF, before rendering it on the suitelet? render.xmlToPDF does not appear to work since it will not throw any error even if I forcefully remove pdf tag or mess with any tags on xml file. I also tried using xml.Parser.fromString , however it always throws error for any template even if the template works when it's rendered. The error shows as "name":"SSS_XML_DOM_EXCEPTION","message":"The content of elements must consist of well-formed character data or markup. [line 128, column 2]" . thank you