Skip to content

Generated Cobertura output is invalid according to DTD #219

@SteveGilham

Description

@SteveGilham

Generate cobertura output from e.g. OpenCover input. The file begins

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd">

Pass it as input to this simple validation program
Program.cs

See each method element report

The required attribute 'complexity' is missing.
The element 'method' has invalid child element 'line'. List of possible elements expected: 'lines'.

The file at the SourceForge URL is the same as the current development copy in the Cobertura GitHub repo

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions