From:             
Operating system: any
PHP version:      Irrelevant
Package:          *XML functions
Bug Type:         Feature/Change Request
Bug description:Add a way to configure where libxml searches for Catalog Files

Description:
------------
Libxml can use catalog files to provide a local cache mechanism allowing to
load the entities associated to public identifiers or remote resources.
There is currently no way to configure the catalog file path from PHP.
Configuring the path in libxml itself seems possible:



> The user can change the default catalog behaviour by redirecting queries
to its own set of catalogs. This can be done by setting the
XML_CATALOG_FILES environment variable to a list of catalogs, an empty one
should deactivate loading the default /etc/xml/catalog default catalog.



It would be nice if PHP's libxml extension would provide a way to set the
path somehow. This could be helpful when validating documents with remote
System Identifiers, like any HTML DTD. Or simply to bundle files with an
application.



Related Resources:



- http://xmlsoft.org/catalog.html

- http://www.w3.org/blog/systeam/2008/02/08/w3c_s_excessive_dtd_traffic

- http://bugs.php.net/48080

- http://bugs.php.net/32426


-- 
Edit bug report at http://bugs.php.net/bug.php?id=53950&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=53950&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=53950&r=trysnapshot53
Try a snapshot (trunk):              
http://bugs.php.net/fix.php?id=53950&r=trysnapshottrunk
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=53950&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=53950&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=53950&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=53950&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=53950&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=53950&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=53950&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=53950&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=53950&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=53950&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=53950&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=53950&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=53950&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=53950&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=53950&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=53950&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=53950&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=53950&r=mysqlcfg

Reply via email to