ID: 24474
User updated by: grest at interia dot pl
Reported By: grest at interia dot pl
Status: Open
-Bug Type: Doentation 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] [email]magnusphp.net[/email]

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

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

[2003-07-04 10:08:20] [email]magnusphp.net[/email]

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

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

[2003-07-04 10:07:38] [email]derickphp.net[/email]

Making it a doentation 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] [email]rrichardsphp.net[/email]

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

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
[url]http://bugs.php.net/24474[/url]

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