ID:               28710
 User updated by:  mail at d-westphal dot de
-Summary:          missing xml_create_parser_ns major Problem for RDF API
                   Project
 Reported By:      mail at d-westphal dot de
-Status:           Bogus
+Status:           Open
 Bug Type:         XML related
 Operating System: WIN32
 PHP Version:      5CVS-2004-06-09 (dev)
 New Comment:

Hi Derick,
you're totally right, the problem is the compiled win32 distribution
(it ships with libxml2 2.5.11 already compiled in). But if the 5.0
win32/binary-release will still contain only the 2.5.11 libxml2, then
all php-apps using the xml_parser_create_ns command will stop working
under win-systems (and i don't guess lots of people will (or can)
self-compile under windows, when there's a win32/binary-distribution)
!

Please correct me if I'm wrong or shift the bug-report to the right
category

Thanks and cheers,

Daniel


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

[2004-06-09 16:56:37] [EMAIL PROTECTED]

This is not a real bug in PHP, you'll just have to use libxml2 2.6.

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

[2004-06-09 16:22:20] mail at d-westphal dot de

Description:
------------
Hello,

my name is Daniel Westphal and I'm working at the "RDF API FOR
PHP"(RAP) - Project (http://www.wiwiss.fu-berlin.de/suhl/bizer/rdfapi/
,
http://sourceforge.net/projects/rdfapi-php/ ). RAP is
the leading PHP toolkit for parsing, searching,manipulating,
serializing and serving RDF models.

We checked the compatibility of our code with the new php5/zend2
engine(PHP Version 5.0.0RC3RC2) and encountered problems when trying to
use our xml/rdf-parser. Our rdf-parser uses the SAX
xml_create_parser_ns function and works well with php 4.3.7.

I read a blog (http://blog.bitflux.ch/p1658.html) and a thread at
php-cvs
(http://marc.theaimsgroup.com/?l=php-cvs&m=107749629522874&w=2)
which was dealing with this problem of using libxml2 2.5.11 and not
2.6.x  and  the mentioned function. The discussion seems to end with
credo, that no one is using this parser with namespace support and so
it's just a minor problem and not required to be fixed until the 5.0
release.

But it's major problem for our project and its users!

Our users (about 1200 downloads yet) use RAP mainly on servers where
they are having no possibility to manual upgrade to a higher libxml2
version, because of missing administrator-rights.  Thus it is esential
for our project to have a working  xml_create_parser_ns function in the
standard PHP5 release.

So it would be great (and highly appriciated by the PHP RDF community)
if somebody could have a look and get the function working again.


Thanks and cheers,

Daniel

Actual result:
--------------
Warning: xml_parser_create_ns() [function.xml-parser-create-ns]: is
broken with libxml2 2.5.11. Please upgrade to libxml2 2.6 in
C:\!htdocs\rdfapi-php\api\syntax\RdfParser.php on line 2218


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


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

Reply via email to