XML within Apache (was Re: [Fwd: [dav-announce] Release: mod_dav 0.9.6-1.3.4]) (fwd)
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | XML within Apache (was Re: [Fwd: [dav-announce] Release: mod_dav 0.9.6-1.3.4]) (fwd) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-3807@lists.php.net to get a copy of this message | ||
Heads up Stig. Talk about potentially including either expat or libxml in
a future version of Apache over on the Apache list.
---------- Forwarded message ----------
Date: Sun, 31 Jan 1999 11:19:40 -0800
From: Greg Stein <gstein@lyra.org>
Reply-To: new-httpd@apache.org
To: new-httpd@apache.org
Subject: [PHP-DEV] XML within Apache (was Re: [Fwd: [dav-announce] Release: mod_dav
0.9.6-1.3.4])
Daniel Veillard wrote:
>
> > [snip]
> > Maybe Daniel Veillard's libxml (gnome-xml) would do. It is licensed
> > under LGPL and W3C's license (whatever it is called, seems to be
> > BSDish).
It appears to only be licensed under the W3C "IPR" license. The IPR is
much better than LPGL (for Apache's sake).
> > gnome-xml is in GNOME CVS and libxml CVS snapshots are available at
> > ftp://rufus.w3.org/pub/XML
> >
> > Currently used in several GNOME applications.
>
> Note that I don't claim it have the robustness of expat nor the
> wide recognition of the author :-)
>
> But it should be able to parse DAV without problem, I originally wrote
> it *precisely* to check the DAV example in version 5 or 6 of the draft.
hehe. cool.
It would be preferable to have a SAX interface from the parser, because
mod_dav uses its own tree structure. Without that, some serious munging
would need to occur to get mod_dav to work with gnome-xml.
On the other hand, other modules may prefer to receive a DOM-like
structure from the parser (it can certainly simplify a lot of things).
Those modules could use gnome-dom on top of gnome-xml?
btw, I saw a reference to gnome-xml in the current Linux Journal issue,
in the article about GNOME. Kind of funny because it was just last night
that I read it, and I had intended to look up gnome-xml for just this
reason (as a potential expat alternative).
Cheers,
-g
p.s. I stripped Expat down to 19 files and no subdirectories, which
builds libexpat.a. Now to incorporate the thing into the Apache build
process...
--
Greg Stein, http://www.lyra.org/
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net