pmayweg / sonar-groovy

SonarQube plugin for Groovy
GNU Lesser General Public License v3.0
52 stars 65 forks source link

cdata groovy #82

Open psi0 opened 5 years ago

psi0 commented 5 years ago

Hi all,

Any way to enable groovy interpretation within cdata? the software I'm using generates xml files and contains groovy code inside

<script><![CDATA[import com.lib1.esb.;&#13; &#13; def demo1= INPUTS["var1"]&#13; .. ]]></script>

TobiX commented 5 years ago

I don't think this should be a feature of the language plugin and I currently don't see a way how to do this anyways (Only one language plugin can be responsible for a file extension and it would be pretty rude to the groovy plugin to register for all xml files). You should try to suggest this to the SonarQube developers.