Reportgenerator: <line> requires branch-attribute when generating html-report from cobertura.xml

Created on 23 Jan 2019  路  2Comments  路  Source: danielpalme/ReportGenerator

We have a case, where Coverage.py produces cobertura.xml and we are trying to convert it to html with ReportGenerator.

In the cobertura.xml line-elements are missing branch-attributes and therefore html generation fails. The result is "Object reference not set to an instance of an object."

According to http://cobertura.sourceforge.net/xml/coverage-03.dtd missing branch-attribute should default to "false" but ReportGenerator assumes the attribute is required.

bug

Most helpful comment

Will change this in the next days.

All 2 comments

Will change this in the next days.

Was this page helpful?
0 / 5 - 0 ratings