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 Wed, 08 Sep 2004 03:38:43 GMT
Joe Schaefer <> writes:


> > so I'll see if I can put together a patch for libxml2 to see
> > what folks want to do with it.
> Here's the patch against current-cvs.  You'll need to rerun
> buildconf to test it out.

A few points to consider:

  1) Neither of these xml parsers require any API changes.

  2) They're not tied to any Content-Type yet (we need to patch
     apreq_parser() for that to happen).

  3) The libxml2 parser introduces an external dependence on libxml2,
     which may be a problem for win32.

  4) We need a way to expose the xml document in perl.  I think a
     simple way to do that is to add an Apache::Request::Parser
     class, and use that to expose the whole apreq_parser_t struct. 
     Then, in principle, perl users would be able to convert 
     the libxml2 parser's ctx pointer into some XML::LibXML 
     object (but we wouldn't need to supply that conversion code, 
     XML::LibXML can do that). 

Any thoughts?

Joe Schaefer

View raw message