PHP 5 DOM module cannot load XML documents containing DTD
Using the following files I get the following errors "Entity 'test1' not defined in..." and "Entity 'test2' not defined in...".
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE test SYSTEM "/Users/josephragsdale/Sites/joerags/development/test.dtd">
I've researched a bit with Google and stumbled across bug 17779 and bug 17390 at bugs.php.net which might be somewhat related to my problem but I'm unsure. From what I can tell the above should work.
<!DOCTYPE test [
<!ENTITY test1 "Test 1">
<!ENTITY test2 "Test 2">
<!ELEMENT test (example)>
<!ELEMENT example (#PCDATA)>
I'm using Apache 1.3.31, PHP 5 RC3, libxml2 2.6.9, and libxslt 1.1.7.