You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Olof Oberg <mi...@pedgr571.sn.umu.se> on 1999/01/31 20:00:06 UTC
Re: [Fwd: [dav-announce] Release: mod_dav 0.9.6-1.3.4]
> Ralf S. Engelschall wrote:
[snip]
> Expat is MPL, but has recently picked up an option for electing to use
> the GPL instead. The MPL 1.0 is "undesirable" for Apache, and GPL is
> incompatible. Once MPL 2.0 comes out, then it may be okay to package
> with Apache.
>
> If Expat is determined as compatible with Apache, then it can certainly
> be stripped down. I believe there are only a dozen relevant files. I
> will investigate creating an Expat library for Apache, along the
> src/expat/ line that you suggest. Despite any compatibility issue, it
> could be a nice choice for "third party" modules.
>
> Regardless, I've already received interest from a company that doesn't
> like the MPL, so they want to build in an option to use other XML
> parsers. This may be an approach for Apache/XML integration.
[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).
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.
Btw, is there a DTD available for the proposed XML based config format?
/Olof
--
#############################################################
# S-mail: Olof Oberg # mill@pedgr571.sn.umu.se #
# Pedagoggr. 7A # mill@ludd.luth.se #
# S-907 30 Umea # tdv94oog@cs.umu.se #
# Phone: 090-197395 # http://pedgr571.sn.umu.se/~mill #
#############################################################
Re: XML within Apache
Posted by Daniel Veillard <Da...@w3.org>.
> > > 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).
Actually it's released under both licences.
> > 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.
There is some kind of SAX interface, but it's not very well tested nor
debugged. Moreover it's probably not complete. Send me the interfaces
you're using I will see what I can do.
> 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?
Gnome-dom is just a DOM compliant set of interfaces on top of gnome-xml.
The tree produced by the parser is really close to a DOM view.
> 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).
Oh, yes Miguel wrote an article. Funny :-)
I suggest you subscribe to xml@rufus.w3.org (majordomo) so we can move
this out of Apache list, most listeners probably don't care much about
those issues.
Daniel
--
[Yes, I have moved back to France !]
Daniel.Veillard@w3.org | W3C INRIA Rhone-Alpes | Today's Bookmarks :
Tel : +33 476 615 257 | 655, avenue de l'Europe | Linux, WWW, rpmfind,
Fax : +33 476 615 207 | 38330 Montbonnot FRANCE | rpm2html, Kaffe,
http://www.w3.org/People/W3Cpeople.html#Veillard | badminton, and Amaya.
XML within Apache (was Re: [Fwd: [dav-announce] Release: mod_dav 0.9.6-1.3.4])
Posted by Greg Stein <gs...@lyra.org>.
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/
Re: [Fwd: [dav-announce] Release: mod_dav 0.9.6-1.3.4]
Posted by Daniel Veillard <Da...@w3.org>.
> [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).
>
> 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.
Daniel
--
[Yes, I have moved back to France !]
Daniel.Veillard@w3.org | W3C INRIA Rhone-Alpes | Today's Bookmarks :
Tel : +33 476 615 257 | 655, avenue de l'Europe | Linux, WWW, rpmfind,
Fax : +33 476 615 207 | 38330 Montbonnot FRANCE | rpm2html, Kaffe,
http://www.w3.org/People/W3Cpeople.html#Veillard | badminton, and Amaya.