$this->
bogusComment('<![CDATA[' .
$cdata);
return true;
} $cdata .=
$tok;
$tok =
$this->scanner->
next();
} while (!
$this->scanner->
sequenceMatches(']]>'
));
// Consume ]]>
$this->scanner->
consume(3
);
$this->events->
cdata($cdata);
return true;
} // ================================================================
// Non-HTML5
// ================================================================
/**
* Handle a processing instruction.
*
* XML processing instructions are supposed to be ignored in HTML5,
* treated as "bogus comments". However, since we're not a user
* agent, we allow them. We consume until ?> and then issue a
* EventListener::processingInstruction() event.
*
* @return bool
*/