ID:               32426
 User updated by:  jirka at kosek dot cz
 Reported By:      jirka at kosek dot cz
-Status:           Feedback
+Status:           Open
 Bug Type:         DOM XML related
 Operating System: Windows XP
 PHP Version:      5CVS-2005-03-23 (dev)
 New Comment:

Demo script, together with sample XML catalog and test file is located
at:

http://kosek.cz/libxmlbug.zip


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

[2005-03-23 23:44:27] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.



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

[2005-03-23 12:21:52] jirka at kosek dot cz

Description:
------------
When XML document references external entity (such as a DTD) libxml2
can use XML catalog to redirect loading of the entity from HTTP server
to some local location.

XML catalog file should be taken from /etc/catalog or from files
specified in XML_CATALOG_FILES environment variable. This works in
Windows when libxml2 invoked from command-line (e.g. using xmllint
command). However if I use XML related functions in PHP5 under Windows,
catalog files are not taken into account. I even monitored files
accessed by Apache process and there were no attempt to locate catalog
file.

Any idea?



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


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

Reply via email to