False positive in XML NewlineCheck

27 views
Skip to first unread message

Michał Kordas

unread,
Oct 20, 2015, 3:54:11 AM10/20/15
to SonarQube
Hi,

When in XML I have inline comment like that:

<db.user><!-- put your user name here --></db.user>

then I get violation from XML plugin NewlineCheck:



I don't think that comments should have any impact on XML layout and structure.

Would you consider it as false positive? If yes, I would be grateful for raising a JIRA.


Thanks,
Michal Kordas

Linda Martin

unread,
Oct 22, 2015, 7:20:40 AM10/22/15
to SonarQube
Hello Michal,

Thanks for your feedback. 
Indeed this is the false-positive and here is the Jira ticket: SONARXML-34.

Thank you!

Linda.
Reply all
Reply to author
Forward
0 new messages