#24474 [Opn]: get_element_by_id doesn`t work

From: Date: Wed, 09 Jul 2003 12:44:27 +0000
Subject: #24474 [Opn]: get_element_by_id doesn`t work
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-43529@lists.php.net to get a copy of this message
 ID:               24474
 User updated by:  grest at interia dot pl
 Reported By:      grest at interia dot pl
 Status:           Open
-Bug Type:         Documentation problem
+Bug Type:         DOM XML related
 Operating System: WinXp
 PHP Version:      4.3.2
 New Comment:

I have installed PHP as Apache 2.0.46 module (earlier i used OmniHttp).
That caused two problems:
1. The functions like domxml_open_file,domxml_xslt_stylesheet_file need
now full path to work, for example
      $filename = "d:\Www\grugar\filmy.xsl";
	$xmldoc =
domxml_open_file("d:\Www\grugar\filmy.xml",DOMXML_LOAD_VALIDATING);

earlier it works fine with  $filename = "filmy.xsl"

Another function like "fopen" work good without full path

2. (MOST IMPORTANT)
get_element_by_id stoped working, and return always null
(earlier with OmniHttp that works fine)

Is this a bug or not? I don`t know, which category of bug should i
choose.
Sorry for my English :)


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

[2003-07-04 10:10:01] magnus@php.net

ops.. we are editing bugs at the same time.. 

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

[2003-07-04 10:08:20] magnus@php.net

still not a bug.. So it should be marked bogus. 

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

[2003-07-04 10:07:38] derick@php.net

Making it a documentation problem then.

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

[2003-07-04 10:06:02] grest at interia dot pl

Thanks, now it works correct :) I didn`t find in the manual the
information about DOMXML_LOAD_VALIDATING.

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

[2003-07-04 09:03:23] rrichards@php.net

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php

open the file using domxml_open_file($fileName, DOMXML_LOAD_VALIDATING)
in order to process the DTD

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/24474

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



Thread (20 messages)

« previous php.bugs (#43529) next »