diff --git a/CHANGELOG.md b/CHANGELOG.md index 3df303d..9e89c01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # CHANGELOG +## Unreleased + +* update cobertura DTD to a working URL. + [jarrodlombardo-EventBase](https://github.com/jarrodlombardo-EventBase) + ## v2.8.2 * coverage_info.include_files? needs a default true return value for when source_files is empty. diff --git a/lib/slather/coverage_service/cobertura_xml_output.rb b/lib/slather/coverage_service/cobertura_xml_output.rb index 7879a7f..ee75d7b 100644 --- a/lib/slather/coverage_service/cobertura_xml_output.rb +++ b/lib/slather/coverage_service/cobertura_xml_output.rb @@ -171,7 +171,7 @@ def create_empty_xml_report xml.doc.create_internal_subset( 'coverage', nil, - "https://cobertura.sourceforge.net/xml/coverage-04.dtd" + "https://raw.githubusercontent.com/cobertura/cobertura/master/cobertura/src/site/htdocs/xml/coverage-04.dtd" ) xml.coverage do xml.sources do