Allow and ignore attributes in foreign namespaces

This commit is contained in:
Jez Higgins 2010-10-05 09:39:05 +01:00
parent 944e075488
commit ccc4836fd7

View file

@ -83,6 +83,7 @@ std::map<std::string, std::string> gatherAttributes(const std::string& parentEle
validateXmlAttribute(parentElement, atts.getLocalName(a), atts.getValue(a), results); // special xml: attributes validateXmlAttribute(parentElement, atts.getLocalName(a), atts.getValue(a), results); // special xml: attributes
continue; continue;
} }
if(atts.getURI(a) == "")
validateAttribute(parentElement, atts.getLocalName(a), atts.getValue(a), rules, results); validateAttribute(parentElement, atts.getLocalName(a), atts.getValue(a), rules, results);
} }