(bool) DOMDocument::keepUnknownCharacterEntities = false;
If set to true (before calling DOMDocument::load() or DOMDocument::loadXML()), when parser will occur an unknown entity, it won't crash, but let it alone. In DOMNode::textContent, DOMNode::getAttribute() and similar, they will be omitted. During importing it to another document, they will be moved without any changes.
It could be useful for editing XHTML documents. DOMDocument::resolveExternals is very slow. Even if DTD is on disk, it includes many crappy code (i.e. references to XML Schema).
-- Freyjkell JID: [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php