[Issues] [mod_transform 0000052]: XSLT function plugin api for mod_transform

issues at outoforder.cc issues at outoforder.cc
Fri Feb 3 14:13:35 EST 2006


A NOTE has been added to this issue. 
====================================================================== 
http://issues.outoforder.cc/view.php?id=52 
====================================================================== 
Reported By:                urkle
Assigned To:                
====================================================================== 
Project:                    mod_transform
Issue ID:                   52
Category:                   Feature Request
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
Apache Version:             unspecified 
====================================================================== 
Date Submitted:             01-21-2006 12:33 EST
Last Modified:              02-03-2006 14:13 EST
====================================================================== 
Summary:                    XSLT function plugin api for mod_transform
Description: 
The purpose for this thing, is, to let XML/XSLT application developers 
provide a way to add their own native implemented XPath functions / XSLT 
elements by just loading the appropriate plugins to mod_transform.
====================================================================== 

---------------------------------------------------------------------- 
 trapni - 01-21-06 18:34  
---------------------------------------------------------------------- 
you can retrieve the latest version of this patch as follows:

    svn cat
http://svn.aikibujutsu.net/db/yacs/trunk/clients/mod_transform-plugins/mod_transform-plugin-api.patch

or watch online at:

   
http://devwiki.mylair.de/browser/trunk/clients/mod_transform-plugins/mod_transform-plugin-api.patch

while you have some examples of mod_transform plugins in:

    http://devwiki.mylair.de/browser/trunk/clients/mod_transform-plugins

as well. 

---------------------------------------------------------------------- 
 trapni - 01-29-06 01:49  
---------------------------------------------------------------------- 
obsoletes last patch.
this one adds a filter_init so that plugins can hook into there, too. 

---------------------------------------------------------------------- 
 trapni - 02-03-06 14:13  
---------------------------------------------------------------------- 
patch changelog:

1) adding new hook, called post_config, you may guess when it gets invoked
:-)

2) you can now pass arguments to the plugin to be passed over.

example:

TransformLoadPlugin yacs-core --host=localhost --port=7001

The plugin itself now gets - just like main() - an int argc and const char
**argv which contains the arguments being passed. argv[0] also contains the
plugin-name (here "yacs-core") for homogenousity ;-)

this can be catch by either plugin_init or by the new post_config hooks
which both let you early abort the server startup but only plugin_init
lets you abort on checkconfig (due to apache2's underlaying logic!).

Regards,
Christian Parpart. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-21-06 12:33  urkle          New Issue                                    
01-21-06 12:33  urkle          Apache Version            => unspecified     
01-21-06 18:34  trapni         File Added: mod_transform-plugin-api.patch       
            
01-21-06 18:34  trapni         Note Added: 0000055                          
01-21-06 18:36  trapni         Issue Monitored: trapni                      
01-29-06 01:49  trapni         File Added: mod_transform-plugin-api-r3.patch    
               
01-29-06 01:49  trapni         Note Added: 0000057                          
02-03-06 14:08  trapni         File Added: mod_transform-plugin-api-r4.patch    
               
02-03-06 14:13  trapni         Note Added: 0000059                          
======================================================================




More information about the Issues mailing list