Reports TODO's and FIXME's on XML files


(Jonathan Cornaz) #1

Xml analyzer should report TODO’s and FIXME’s in XML files.

This rule is already available for go, php, JavaScript, Java, C#, Ruby and Kotlin and should also be available for XML.

They should have equivalent description, rationale, type, tags and severity than for the other languages. (See squid:S1134 and squid:S1135 for instance)

I created mines, using XPath (//comment()[contains(.,'TODO')] and //comment()[contains(.,'FIXME')]), but this kind of rule should be available by default.