[ 
https://issues.apache.org/jira/browse/SOLR-15121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17280168#comment-17280168
 ] 

Uwe Schindler commented on SOLR-15121:
--------------------------------------

The XML APIs in Java are so great to have those pluggable transformations, so 
let's use those. I wrote many frameworks doing this (in library world where I 
am comoning from everything is XML, so you have partially really long chains of 
handlers feeding some DOM trees / other representations) from one handler to 
the other. So adding some abstract "transform" hook into Solr core makes 
pluggable transformations easy.

So in general I would revert the whole stuff, make the transformation in core a 
protected method and in contrib implement one "example" implementation of XML 
transformations - using XSLT.

> Move XSLT (tr param) to scripting contrib
> -----------------------------------------
>
>                 Key: SOLR-15121
>                 URL: https://issues.apache.org/jira/browse/SOLR-15121
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: David Smiley
>            Assignee: David Eric Pugh
>            Priority: Blocker
>             Fix For: master (9.0)
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> The XSLT functionality, present in both XML /update loading, and also in the 
> response writer, ought to move to the "scripting" contrib module because XSLT 
> is a type of scripting.  XSLT is risky from a security standpoint, and so 
> should not be in solr-core.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to