PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » XML » XML_Tree » Bug #597

Feature Request: External XML Entities properly parsed

Details

Request #597Feature Request: External XML Entities properly parsed
Submitted2004-01-18 23:26 UTC
Fromspam at nsc-ev dot de
Assignedbernd
StatusSuspended
PackageXML_Tree
PHP VersionIrrelevant
OSAny
Roadmaps(Not assigned)

Comments

[2004-01-18 23:26 UTC] spam at nsc-ev dot de

Description:
------------
It seems XML_Tree does not parse external Entities.

Example:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE study SYSTEM "../test.dtd" [
<!ENTITY a SYSTEM "a.xml">
<!ENTITY b SYSTEM "b.xml">
<!ENTITY c SYSTEM "c.xml">
]>

<roooot>
&a;
</roooot>

later trying to recognize the Altova's (XMLspy) parser seem to recognize it and just replaces each apperance &a; with the content of the corresponding XMl file and validates properly. More code on request.

[2004-06-06 18:38 UTC] xe at parkstudios dot net

Hi Stephan, Davey:

I am the author of the report and you're absolutely right, this is a feature request. Anyway, it would be kinda lovely to have this, because it avoids a lot of coping and referencing around XML_Tree-subtrees manually.

Thanks,
Matthias