Welcome! Log In Create A New Profile

Advanced

Re: XSLT module bugfixes and improvements

July 12, 2010 09:46AM
On Mon, Jul 12, 2010 at 01:01:08AM +0100, Laurence Rowe wrote:

> I've been working on the XSLT module and would like to submit the
> following series of patches (these are against
> http://mdounin.ru/hg/nginx-vendor-current):

Thank you for the patches.

> * 586-build-options.diff - Add --with-libxml2=DIR and
> --with-libxslt=DIR build options

This options should point to libraries sources to build them during
nginx build process. Your patch has no builing procedure of the libraries.

> * 587-no-content.diff - Skip transform when there is no content (e.g.
> a proxied redirect)

Currently the way to disable XSLT processing is MIME type, "text/xml"
by default. Redirects usually habve "text/html" type.

> * 588-params.diff - Correct paramater parsing (avoid slicing off final
> character)

The string length includes trailing '\0'.

> * 589-sax-private.diff - Use sax->_private to pass around ctx
> reference to avoid the need for sax wrapper functions

I never thought that field with leading underscore and name "_private"
may be used to pass user data to SAX handler. I've committed this slightly
modified patch, thank you.


--
Igor Sysoev
http://sysoev.ru/en/

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

XSLT module bugfixes and improvements Attachments

Laurence Rowe 2393 July 11, 2010 08:02PM

Re: XSLT module bugfixes and improvements

Laurence Rowe 971 July 11, 2010 08:22PM

Re: XSLT module bugfixes and improvements

Igor Sysoev 1299 July 12, 2010 09:46AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 284
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready