From: grest at interia dot pl
Operating system: WinXp
PHP version: 4.3.2
PHP Bug Type: DOM XML related
Bug description: get_element_by_id doesn`t work
Description:
------------
get_element_by_id doesn`t work and always returns NULL.
Reproduce code:
---------------
MY DTD:
<?xml version="1.0" encoding="UTF-8"?>
<!ELEMENT LIST (MOVIE+)>
<!ELEMENT MOVIE (TITLE, ORGTITLE, LOC, INFO)>
<!ATTLIST MOVIE
ID ID #REQUIRED
>
<!ELEMENT TITLE (#PCDATA)>
<!ELEMENT ORGTITLE (#PCDATA)>
<!ELEMENT LOC (#PCDATA)>
<!ELEMENT INFO (#PCDATA)>
--
Edit bug report at http://bugs.php.net/?id=24474&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24474&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=24474&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24474&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24474&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24474&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24474&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24474&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24474&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24474&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24474&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24474&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24474&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24474&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24474&r=gnused