httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <>
Subject Re: [PATCH] Basic apr_xml_parser
Date Fri, 10 Sep 2004 16:55:47 GMT
Markus Wichitill <> writes:


> I'd hate to see apreq change from a small and efficient
> module to a fairly large and bloated XML affair.

That won't happen.  Having given this some
more thought, I think linking to libxml2
would be a mistake, because users should 
ultimately decide which xml parser best
suits their application.

However, I'd like apreq to support as many
form submission specs as possible.  Believe 
it or not, I think we can support both XForms 
and WHATWG without "bloating" apreq.  What I'll 
do is make the apreq_parse_xml parser generic 
by relying on a user-supplied *hook* to do 
the actual xml parsing.  That will allow us 
to fully support XForms, with no API changes

If we want to fully support WHATWG also, we'll 
still have to write an expat-based parser to map 
the xml document to the req->body table.  But
that shouldn't add any bloat, because expat
is already being used by apr-util and httpd.

Joe Schaefer

View raw message