Not the place for a feature request and not going to happen. It is not supported in libxml2 because it is against the XML specs.

Rob

Freyjkell wrote:
(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).


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to