Remove unintentionally copied line.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@5997 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Ryan Gustafson 2008-04-09 01:07:23 +00:00
parent 1593b8037d
commit d61aa6189f

View File

@ -84,7 +84,6 @@ public class RuleSetWriter {
private Element createRuleSetElement(RuleSet ruleSet) { private Element createRuleSetElement(RuleSet ruleSet) {
Element ruleSetElement = document.createElement("ruleset"); Element ruleSetElement = document.createElement("ruleset");
if (outputNamespace) { if (outputNamespace) {
ruleSetElement.setAttribute("language", ruleSet.getLanguage().getName());
// TODO Should we keep track of schema versions? // TODO Should we keep track of schema versions?
ruleSetElement.setAttribute("xmlns", "http://pmd.sf.net/ruleset/1.0.0"); ruleSetElement.setAttribute("xmlns", "http://pmd.sf.net/ruleset/1.0.0");
ruleSetElement.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance", "xsi:schemaLocation", ruleSetElement.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance", "xsi:schemaLocation",