Re: [PHP-XML-DEV] missing xml_create_parser_ns is major Problem for RDF API Project
[email protected] (Christian Stocker) Wed, 09 Jun 2004 17:01:39 +0200
| Newsgroups | php.xml.dev |
|---|---|
| Message-ID | <[email protected]> |
To make a possible long answer short. The namespace support in the SAX parser of libxml2 < 2.6 is weak. It's a major PITA to implement it correctly. If anyone wants to fix it, go ahead, I don't mind. But IMHO it's a waste of time ;) Furthermore it was decided, that PHP 5.0 won't require libxml2 2.6, but 5.1 will most presumably. I'm not sure, which libxml2 version is included in the windows build, maybe we could provide 2.6 there, but that's Rob desicion, he's the Windows expert for the whole XML-in-PHP stuff ;) chregu On 9.6.2004 16:42 Uhr, Daniel Westphal wrote: > 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 > > > -- View bug report at http://bugs.php.net/?id=28710 > > > > 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 > -- christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | [email protected] | gnupg-keyid 0x5CE1DECB