[relaxng-user] PHP Relax NG validator ?
David Tolpin
dvd at davidashen.net
Fri Mar 5 13:18:45 ICT 2004
> 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.
More information about the relaxng-user
mailing list