Proposal of DOM non-standard method: DOMDocument::loadCharacterEntitiesFromDtd($path)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



DOMDocument::loadCharacterEntitiesFromDtd($path);

I like to load character entities (not whole document type definition).

When I try to do that by creating my own DTD with only character
entities, and setting resolveExternals to true, then DTD parser
complains that it didn't occur root definition.

The proposed method, if called before DOMDocument::load/loadXML(), would
get character entities from DTD (and its modules) and apply them during
parsing XML. If called multiply, or if XML contains a DTD reference,
entities put before would be overwritten.

// I sent this post to php.xml.dev, but I didn't get reply for long time.

--
Freyjkell

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux