void XMLTreeBuilder::processProcessingInstruction(const AtomicXMLToken& token) { if (!failOnText()) return; // FIXME: fall back if we can't handle the PI ourself. add(ProcessingInstruction::create(m_document, token.target(), token.data())); }
void XMLTreeBuilder::processCDATA(const AtomicXMLToken& token) { exitText(); add(CDATASection::create(m_document, token.data())); }