Skip to content

Commit

Permalink
Fix #91 XML exporter language attribute correction.
Browse files Browse the repository at this point in the history
  • Loading branch information
Omar WALDMANN committed Sep 11, 2017
1 parent 1f66c46 commit cc3c09a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public void export(List<CheckResult> checkResults, File outputFile,
// get
// the filename.
// -- <xsd:attribute name="language" type="xsd:string" />
final String language = this.getFileExtension(checkResult.getFile().getAbsolutePath());
final String language = checkResult.getLangageId();
final String fileName = checkResult.getFile().toString();
// The analysisFile element is being added only and only if it's not
// already in the XML document.
Expand Down

0 comments on commit cc3c09a

Please sign in to comment.