Re: PHP Relax NG validator ?
David Tolpin <[email protected]> Fri, 5 Mar 2004 13:18:45 +0400 (AMT)
| Newsgroups | gmane.text.xml.relaxng.general |
|---|---|
| Message-ID | <[email protected]> |
> I am hardly a PHP user myself, but PHP is used by an incredible number > of web developers and that would be a very good thing for RELAX NG to be > easy to use in PHP. > > * Is it planed (or already possible) to use libxml RELAX NG > support in PHP? It should be possible to use it. libxml2 provides bindings for PHP, PHP has configuration option to use libxml2. However, http://am.php.net/xml http://am.php.net/xslt the standard PHP extensions, are based on Expat and Sablotron. Ironically enough, 9 of first 10 documents found on 'expat libxml' are about problems. Probably, it just means that it is used by many people. > * And/or is there any plan for RNV bindings in PHP? The distribution provides examples of use of RNV (actually, RVP, the validation engine built without parser, with simple half-dozen commands protocol) with Perl and Python. PHP has proc_open() too, and using RNV with PHP would just mean writing about 100 lines in PHP once. > > Eric (sorry to have triggered that war) > -- No, it was me who triggered it. And I am sorry too. > Tired to type XML tags? > http://wikiml.org I am interested, but is it just the standard wiki syntax, or is it described on the site? I could not find.