SonarCSS fails to parse a CSS file, probably due to JSF EL usage

(Björn Kautler) #1

The analysis logs without further information about the actual error

Failed to parse file:///.../foo.css

It is sub-optimal that it does not give any information about what parsing error happened. (Maybe this could improved too)

My guess is, that it is due to JSF EL usage, which is quite common I’d say if JSF is used.
The snippet I guess is causing the error looks like:

.question--content .ui-selectmanycheckbox div.ui-g > div.selected
	background-color: #{coreAppearanceBean.getHeaderBackgroundColorAsRgbaWithAlpha('1')};