php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20637 get_element_by_id() regression problem
Submitted: 2002-11-26 01:47 UTC Modified: 2002-11-26 09:46 UTC
From: chris at improbable dot org Assigned:
Status: Not a bug Package: DOM XML related
PHP Version: 4CVS-2002-11-26 (stable) OS: Mac OS X 10.2.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
46 - 42 = ?
Subscribe to this entry?

 
 [2002-11-26 01:47 UTC] 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-26 09:46 UTC] chregu@php.net
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
 [2004-10-13 07:25 UTC] jason-dusek at uiowa dot edu
I have a correctly defined schema with id attributes of type xsd:ID, but get_element_by_id() fails on my data.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 12:01:31 2024 UTC