From: [EMAIL PROTECTED] Operating system: linux PHP version: 4.2.3 PHP Bug Type: DOM XML related Bug description: DOM XML does not resolve entities
l10n.xml: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE l:i18n SYSTEM "l10n.dtd" [ <!ENTITY ru SYSTEM "ru.xml"> <!ENTITY en SYSTEM "en.xml"> ]> <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"> &ru; &en; </l:i18n> l10n.xsl: <xsl:param name="l10n.xml" select="document('../l10n/l10n.xml')"/> <xsl:template match="/"> <xsl:copy-of select="$l10n.xml"/> </xsl:template> If execute l10n.xsl it just prints contents of l10n.xml without resolving &ru; and &en; entities. -- Edit bug report at http://bugs.php.net/?id=19800&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19800&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19800&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19800&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19800&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19800&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19800&r=support Expected behavior: http://bugs.php.net/fix.php?id=19800&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19800&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19800&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19800&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19800&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=19800&r=dst IIS Stability: http://bugs.php.net/fix.php?id=19800&r=isapi