ID:               20637
 Comment by:       jason-dusek at uiowa dot edu
 Reported By:      chris at improbable dot org
 Status:           Bogus
 Bug Type:         DOM XML related
 Operating System: Mac OS X 10.2.2
 PHP Version:      4CVS-2002-11-26 (stable)
 New Comment:

I have a correctly defined schema with id attributes of type xsd:ID,
but get_element_by_id() fails on my data.


Previous Comments:
------------------------------------------------------------------------

[2002-11-26 09:46:38] [EMAIL PROTECTED]

The code from 17629 works fine for me. You have to set the right DTD
for ID to work, as there is no ID attribute by default in XML...

chregu

------------------------------------------------------------------------

[2002-11-26 01:47:53] chris at improbable dot org

DomDocument->get_element_by_id() doesn't work again. This appears to be
the same problem as bugs #16647 and 17629. Test program is the sample in
16647.

This on Mac OS X 10.2.2 with PHP 4.3.0-dev built from
php4-STABLE-200211252030 snapshot and libxml 2.4.28, all built from
source this afternoon.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=20637&edit=1

Reply via email to