|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19800 DOM XML does not resolve entities
Submitted: 2002-10-07 09:01 UTC Modified: 2002-10-07 09:02 UTC
From: anton at fedosin dot ru Assigned:
Status: Not a bug Package: DOM XML related
PHP Version: 4.2.3 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: anton at fedosin dot ru
New email:
PHP Version: OS:


 [2002-10-07 09:01 UTC] anton at fedosin dot ru

<?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="">


<xsl:param name="l10n.xml" select="document('../l10n/l10n.xml')"/>

<xsl:template match="/">
<xsl:copy-of select="$l10n.xml"/>

If execute l10n.xsl it just prints contents of l10n.xml without resolving &ru; and &en; entities.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-07 09:02 UTC]
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.
 [2002-10-07 09:02 UTC]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Sep 23 01:03:33 2021 UTC