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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: chris at improbable dot org
New email:
PHP Version: OS:

 

 [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

Pull Requests

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: Sat Dec 21 14:01:32 2024 UTC