#19800 [Opn->Bgs]: DOM XML does not resolve entities

From: Date: Mon, 07 Oct 2002 14:02:30 +0000
Subject: #19800 [Opn->Bgs]: DOM XML does not resolve entities
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-21716@lists.php.net to get a copy of this message
ID: 19800 Updated by: derick@php.net Reported By: anton@fedosin.ru -Status: Open +Status: Bogus Bug Type: DOM XML related Operating System: linux PHP Version: 4.2.3 New Comment: Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Because of this, we hope you add your comments to the original bug instead. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2002-10-07 09:01:39] anton@fedosin.ru 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 this bug report at http://bugs.php.net/?id=19800&edit=1

« previous php.bugs (#21716) next »